Verschlanke Dokumentation auf Bedienung und leite Einstieg direkt dorthin

This commit is contained in:
2026-04-22 19:27:17 +02:00
parent 3562d55a12
commit 0fbda27609
21 changed files with 26 additions and 1083 deletions

View File

@@ -32,10 +32,7 @@ useSeoMeta({
})
const headline = computed(() => findPageHeadline(navigation?.value, page.value?.path))
const links = computed(() => {
return [...(toc?.bottom?.links || [])].filter(Boolean)
})
const links = computed(() => [...(toc?.bottom?.links || [])].filter(Boolean))
</script>
<template>

View File

@@ -1,25 +1,7 @@
<script setup lang="ts">
const { data: page } = await useAsyncData('index', () => queryCollection('landing').path('/').first())
if (!page.value) {
throw createError({ statusCode: 404, statusMessage: 'Seite nicht gefunden', fatal: true })
}
const title = page.value.seo?.title || page.value.title
const description = page.value.seo?.description || page.value.description
useSeoMeta({
titleTemplate: '',
title,
ogTitle: title,
description,
ogDescription: description
})
await navigateTo('/bedienung', { redirectCode: 302 })
</script>
<template>
<ContentRenderer
v-if="page"
:value="page"
:prose="false"
/>
<div />
</template>