修复组织结构md指引,加入标题

This commit is contained in:
huxin 2023-06-13 21:19:10 +08:00
parent edc9f832d6
commit 4129371910
2 changed files with 6 additions and 3 deletions

View File

@ -90,7 +90,9 @@ const { data } = await useAsyncData(`content-${path}`, () => {
</ACard>
</div>
<div class="w-full">
<div class="w-full lg:px-5">
<Typography :title="data?.title" :description="data?.description" :topic="data?.topic" class="pb-5" />
<!-- <SectionBanner :img="data?.img" :title="data?.title" :topic="data?.topic" :description="data?.description" font-bold text-white /> -->
<ContentRenderer v-if="data" :value="data" />
</div>
</Section>

View File

@ -1,7 +1,7 @@
<script setup>
const { locale } = useI18n()
const path = `/${locale.value}/community/join`
const path = `/${locale.value}/community/structure`
const { data } = await useAsyncData(`content-${path}`, () => {
return queryContent().where({ _path: path }).findOne()
@ -90,7 +90,8 @@ const { data } = await useAsyncData(`content-${path}`, () => {
</ACard>
</div>
<div class="w-full">
<div class="w-full lg:px-5">
<Typography :title="data?.title" :description="data?.description" :topic="data?.topic" class="pb-5" />
<ContentRenderer v-if="data" :value="data" />
</div>
</Section>