Files
artsite/app/pages/index.vue
Arthur DANJOU dc63d1b206 Update dependencies and remove Globe component
- Updated various dependencies in package.json and pnpm-lock.yaml for improved performance and compatibility.
- Removed the Globe component from the home page, streamlining the layout and reducing complexity.
2025-04-06 22:58:30 +02:00

20 lines
456 B
Vue

<script lang="ts" setup>
const { locale } = useI18n()
const { data: page } = await useAsyncData(`/home/${locale.value}`, () => {
return queryCollection('main').path(`/home/${locale.value}`).first()
}, {
watch: [locale],
})
</script>
<template>
<main class="!max-w-none prose dark:prose-invert">
<ContentRenderer v-if="page" :value="page" />
<HomeStats />
<HomeActivity />
<HomeQuote />
<HomeCatchPhrase />
</main>
</template>