修改首页卡片

This commit is contained in:
2025-07-26 23:04:44 +08:00
parent 063242ea77
commit e454f3f441
7 changed files with 330 additions and 16 deletions

View File

@@ -3,13 +3,8 @@ definePageMeta({
layout: 'default'
})
const { data: page } = await useAsyncData('index', () => queryCollection('landing').path('/').first())
if (!page.value) {
throw createError({ statusCode: 404, statusMessage: 'Page not found', fatal: true })
}
const title = page.value.seo?.title || page.value.title
const description = page.value.seo?.description || page.value.description
const title = "Estel Docs"
const description = "Estel Docs"
useSeoMeta({
titleTemplate: '',
@@ -23,9 +18,6 @@ useSeoMeta({
</script>
<template>
<ContentRenderer
v-if="page"
:value="page"
:prose="false"
/>
<!-- <IndexHero /> -->
<IndexCard />
</template>