2026-05-02 08:26:18 +12:00
|
|
|
import { homepageContent } from '$lib/content/homepage';
|
|
|
|
|
import { staticPages, type StaticPageSlug } from '$lib/content/static-pages';
|
|
|
|
|
|
|
|
|
|
export const sharedPageContent = {
|
|
|
|
|
navigation: homepageContent.navigation,
|
|
|
|
|
services: homepageContent.services,
|
|
|
|
|
testimonials: homepageContent.testimonials,
|
|
|
|
|
booking: homepageContent.booking,
|
2026-05-06 11:36:19 +12:00
|
|
|
info: homepageContent.info,
|
2026-05-02 08:26:18 +12:00
|
|
|
footer: homepageContent.footer
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export function createHomepageRouteData() {
|
|
|
|
|
return {
|
2026-05-11 21:02:24 +12:00
|
|
|
siteVariant: 'marketing',
|
|
|
|
|
content: homepageContent,
|
|
|
|
|
howItWorksEnabled: false
|
2026-05-02 08:26:18 +12:00
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export function createStaticRouteData(slug: StaticPageSlug) {
|
|
|
|
|
return {
|
|
|
|
|
content: sharedPageContent,
|
2026-05-04 20:32:24 +12:00
|
|
|
generalEnquiryEnabled: false,
|
2026-05-02 08:26:18 +12:00
|
|
|
page: staticPages[slug],
|
|
|
|
|
slug
|
|
|
|
|
};
|
|
|
|
|
}
|