import type { PageLoad } from './$types';
import type { PageMeta } from '$lib/seo';
import { pageContent } from '$lib/data/services/hands-on-saas-architecture-consultant/content';
import { handsOnSaaSArchitectureConsultantPageJsonLdGraph } from '$lib/data/json-ld/webpageJsonLdGraphs';
import { handsOnSaaSArchitectureConsultantServiceJsonLdGraph } from '$lib/data/json-ld/servicesJsonLdGraphs';
import { baseJsonLdGraph } from '$lib/data/json-ld/baseJsonLdGraphs';

const BASE = 'https://mifi.ventures';
const PATH = '/services/hands-on-saas-architecture-consultant';
const PAGE_URL = `${BASE}${PATH}`;

export const load: PageLoad = () => {
    const { meta } = pageContent;
    const servicePageMeta: PageMeta = {
        title: meta.title,
        description: meta.description,
        canonical: PAGE_URL,
        jsonLd: [
            ...baseJsonLdGraph,
            handsOnSaaSArchitectureConsultantPageJsonLdGraph,
            handsOnSaaSArchitectureConsultantServiceJsonLdGraph,
        ],
    };
    return { meta: servicePageMeta };
};
