initial commit

This commit is contained in:
terraputix
2026-01-07 22:24:02 +01:00
commit 2d31df88f0
315 changed files with 14484 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
import { get } from 'svelte/store';
import { storedLocation } from '$lib/stores/settings';
import type { LayoutLoad } from './$types';
const location = get(storedLocation);
export const load: LayoutLoad = async () => {
return {
heroTitle: `Weather ${location.name}`,
heroDescription: location.admin1 ?? '' + ' ' + location.country,
heroImage: '/images/backgrounds/partly_cloudy.webp',
heroHeight: 400,
heroPrimaryButtonPath: null,
heroPrimaryButtonText: null,
heroSecondaryButtonPath: null,
heroSecondaryButtonText: null
};
};