<script lang="ts">
	import type { PageProps } from '../../.svelte-kit/types/src/routes/$types';
	import CmsComponent from '$lib/components/cms/CmsComponent.svelte';

	let { data }: PageProps = $props();
</script>

{#each data.components as component, index (index)}
	<CmsComponent {...component} />
{/each}