import type { PageLoad } from './$types';
import type { PageMeta } from '$lib/seo';
import { baseJsonLdGraph } from '$lib/data/json-ld/baseJsonLdGraphs';
import { pageContent } from '$lib/data/services/mvp-architecture-and-launch/content';
import { mvpArchitectureAndLaunchServiceJsonLdGraph } from '$lib/data/json-ld/servicesJsonLdGraphs';
import { mvpArchitectureAndLaunchPageJsonLdGraph } from '$lib/data/json-ld/webpageJsonLdGraphs';

const BASE = 'https://mifi.ventures';
const PATH = '/services/mvp-architecture-and-launch';
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,
            mvpArchitectureAndLaunchPageJsonLdGraph,
            mvpArchitectureAndLaunchServiceJsonLdGraph,
        ],
    };
    return { meta: servicePageMeta };
};
