22 lines
452 B
TypeScript
22 lines
452 B
TypeScript
import LocationSearch from '@/components/LocationSearch';
|
|
import WeatherNow from '../components/WeatherNow'
|
|
|
|
const location = {
|
|
latitude: '55.645519',
|
|
longtitude: '12.549600'
|
|
}
|
|
|
|
|
|
|
|
|
|
export default function Home() {
|
|
return (
|
|
<main>
|
|
<div className='block mx-auto max-w-4xl'>
|
|
<LocationSearch />
|
|
<h1>The weather in Sluseholmen for the next 3 days</h1>
|
|
<WeatherNow location={location}/>
|
|
</div>
|
|
</main>
|
|
);
|
|
} |