@@ -13,12 +13,12 @@ const { data: code } = await useAsyncData('code', () =>
1313)
1414
1515useSeoMeta ({
16- title: page .value .title ,
17- ogTitle: page .value .title ,
18- description: page .value .description ,
19- ogDescription: page .value .description ,
20- ogImage: page .value .cover ,
21- twitterImage: page .value .cover ,
16+ title: page .value ? .title ,
17+ ogTitle: page .value ? .title ,
18+ description: page .value ? .description ,
19+ ogDescription: page .value ? .description ,
20+ ogImage: page .value ? .cover ,
21+ twitterImage: page .value ? .cover ,
2222})
2323 </script >
2424
@@ -34,18 +34,18 @@ useSeoMeta({
3434 </div >
3535 <template #title >
3636 <!-- eslint-disable vue/no-v-html -->
37- <span v-html =" page.hero?.title" />
37+ <span v-html =" page? .hero?.title" />
3838 </template >
3939 <template #description >
40- {{ page.hero?.description }}
40+ {{ page? .hero?.description }}
4141 </template >
4242 <template #links >
4343 <UButton
4444 to =" /getting-started"
4545 icon =" i-ph-rocket-launch-duotone"
4646 size =" xl"
4747 >
48- {{ page.hero?.button }}
48+ {{ page? .hero?.button }}
4949 </UButton >
5050 <UButton
5151 size =" xl"
@@ -75,12 +75,12 @@ useSeoMeta({
7575 </ULandingHero >
7676
7777 <ULandingSection
78- :title =" page.features.title"
78+ :title =" page? .features.title"
7979 style =" padding-top : 0px "
8080 >
8181 <UPageGrid >
8282 <ULandingCard
83- v-for =" (item, index) of page.features.items"
83+ v-for =" (item, index) of page? .features.items"
8484 :key =" index"
8585 v-bind =" item"
8686 />
0 commit comments