move settings to one icon mobile

This commit is contained in:
Vincent van der Wal
2026-08-01 12:39:19 +02:00
parent 8ad02ea3f9
commit 5cc9a5428c
23 changed files with 1511 additions and 189 deletions
@@ -12,6 +12,8 @@
storedVariablePrefs
} from '$lib/stores/settings';
import { buildLocationRoute } from '$lib/utils/location';
import { ChartContainer } from '$lib/components/charts';
import {
@@ -76,6 +78,10 @@
storedLocation.set(data.location);
});
// Lets the strip's side buttons hand over to the archive / seasonal outlook
// for the same place once their range is exhausted.
let locationRoute = $derived(buildLocationRoute(location));
let mounted = $state(false);
let loading = $state(true);
let loadError = $state<FriendlyWeatherError | null>(null);
@@ -318,6 +324,7 @@
onExtend={() => (forecastDays = 15)}
canExtendPast={pastDays < 3}
onExtendPast={() => (pastDays = 3)}
{locationRoute}
/>
{/if}