base structure and display

This commit is contained in:
Julian Krauser 2024-11-01 14:15:09 +01:00
parent de049e9125
commit 9d96e3a6dc
22 changed files with 1210 additions and 15 deletions

View file

@ -1,3 +1,14 @@
<template>
<NuxtLayout name="landing"> index </NuxtLayout>
<NuxtLayout name="landing">
<ContentBuilder class="min-h-[calc(100vh-9rem)] w-full" />
</NuxtLayout>
</template>
<script setup lang="ts">
import type Homepage from "../types/single/homepage";
const { findOne } = useStrapi();
const { data: homepage } = await useAsyncData("homepage", () => findOne<Homepage>("homepage"));
const { content } = homepage.value?.data as unknown as Homepage;
</script>