Building phase one

This commit is contained in:
2026-07-10 18:23:48 +02:00
parent 09ce18cbb7
commit ea2a0b3e36
41 changed files with 28591 additions and 2 deletions

View File

@@ -0,0 +1,18 @@
<script setup lang="ts">
const route = useRoute()
const { data: page } = await useAsyncData('page-' + route.path, () => {
return queryCollection('content').path(route.path).first()
})
if (!page.value) {
useHead({ title: 'Page not found', meta: [{ name: 'robots', content: 'noindex' }] })
}
</script>
<template>
<div class="prose-wrapper" v-if="page">
<ContentRenderer :value="page" />
</div>
<NotFound />
</template>