2024-10-30 14:02:47 +00:00
|
|
|
<template>
|
2024-11-01 13:15:09 +00:00
|
|
|
<NuxtLayout name="landing">
|
2024-11-03 10:21:44 +00:00
|
|
|
<ContentBuilder :content="content" />
|
2024-11-01 13:15:09 +00:00
|
|
|
</NuxtLayout>
|
2024-10-30 14:02:47 +00:00
|
|
|
</template>
|
2024-11-01 13:15:09 +00:00
|
|
|
|
|
|
|
<script setup lang="ts">
|
|
|
|
import type Homepage from "../types/single/homepage";
|
|
|
|
|
|
|
|
const { findOne } = useStrapi();
|
|
|
|
|
|
|
|
const { data: homepage } = await useAsyncData("homepage", () => findOne<Homepage>("homepage"));
|
2024-11-02 11:47:07 +00:00
|
|
|
const { content } = homepage.value?.data ?? {};
|
2024-11-01 13:15:09 +00:00
|
|
|
</script>
|