Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

feat: set weather location to karlsruhe #4

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions components/Tiles/Climate/WeatherTile/WeatherTileContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import Slider from '@/components/Inputs/Slider'
export default function WeatherTileContent() {
const [timestamp, setTimestamp] = useState(new Date())

const weather = useWeather({ lat: 52, lng: 7.6 }, timestamp)
const weather = useWeather({ lat: 49, lng: 8.4 }, timestamp)

const nextHours = new Array(6).fill(undefined).map((e, i) => {
const date = new Date()
Expand All @@ -31,7 +31,7 @@ export default function WeatherTileContent() {
<SunLarge className="h-20 text-primary md:h-36" />
</span>
<Title as={'h4'} className="my-4 w-1/3 md:w-3/4">
In Münster ist es gerade{' '}
In Karlsruhe ist es gerade{' '}
<span className="text-climate">
{conditionMapping[weather?.condition]}
</span>
Expand Down