Onboarding / Deployment Scripts / Marketing updates

This commit is contained in:
2026-05-11 21:02:24 +12:00
parent a90dfb7c66
commit 955a563d14
110 changed files with 9803 additions and 937 deletions
@@ -0,0 +1,17 @@
import { error } from '@sveltejs/kit';
import { locationsBySlug } from '$lib/content/locations';
import { getSharedPageContent } from '$lib/server/content';
import type { PageServerLoad } from './$types';
export const load: PageServerLoad = async ({ params }) => {
const location = locationsBySlug[params.suburb];
if (!location) {
throw error(404, 'Page not found');
}
return {
content: await getSharedPageContent(),
location
};
}