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:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user