Files
portfolio/app/pages/index.vue
Nicholas Kalar 0def745b98
Some checks failed
ci / ci (22, ubuntu-latest) (push) Failing after 42s
initial commit
2025-12-02 23:50:28 -05:00

38 lines
949 B
Vue

<script setup lang="ts">
const { data: page } = await useAsyncData('index', () => {
return queryCollection('index').first()
})
if (!page.value) {
throw createError({
statusCode: 404,
statusMessage: 'Page not found',
fatal: true
})
}
useSeoMeta({
title: page.value?.seo.title || page.value?.title,
ogTitle: page.value?.seo.title || page.value?.title,
description: page.value?.seo.description || page.value?.description,
ogDescription: page.value?.seo.description || page.value?.description
})
</script>
<template>
<UPage v-if="page">
<LandingHero :page />
<UPageSection
:ui="{
container: '!pt-0 lg:grid lg:grid-cols-2 lg:gap-8'
}"
>
<LandingAbout :page />
<LandingWorkExperience :page />
<LandingEducation :page />
</UPageSection>
<!-- <LandingBlog :page /> -->
<!-- <LandingTestimonials :page /> -->
<!-- <LandingFAQ :page /> -->
</UPage>
</template>