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,
  info: homepageContent.info,
  footer: homepageContent.footer
};

export function createHomepageRouteData() {
  return {
    siteVariant: 'marketing',
    content: homepageContent,
    howItWorksEnabled: false
  };
}

export function createStaticRouteData(slug: StaticPageSlug) {
  return {
    content: sharedPageContent,
    generalEnquiryEnabled: false,
    page: staticPages[slug],
    slug
  };
}
