Add timezone warning to top of +layout.svelte conditionally displayed when the users device is not in the Europe/London timezone

This commit is contained in:
2026-04-05 00:22:36 +01:00
parent b649af1925
commit f3393f3c07
2 changed files with 45 additions and 0 deletions

View File

@@ -6,6 +6,8 @@
import { LOCATIONS } from '$lib/locations-object.svelte';
import { nearestStationsState } from '$lib/geohash.svelte';
import TimezoneWarning from '$lib/components/ui/TimezoneWarning.svelte';
import '$lib/global.css';
import logoText from '$lib/assets/round-logo-text.svg';
@@ -78,6 +80,7 @@
</header>
<main>
<TimezoneWarning />
{@render children()}
</main>