2025-02-14 13:57:55 +01:00
|
|
|
<template>
|
|
|
|
<h1 class="text-center">{{ data?.title }}</h1>
|
|
|
|
<p v-if="data?.description" class="text-center text-[#5c5c5c]">{{ data?.description }}</p>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script setup lang="ts">
|
|
|
|
import type { PropType } from "vue";
|
2025-07-23 13:46:18 +02:00
|
|
|
import type DynamicZoneSection from "~~/types/component/dynamic-zone/section";
|
2025-02-14 13:57:55 +01:00
|
|
|
|
|
|
|
defineProps({
|
|
|
|
data: Object as PropType<DynamicZoneSection>,
|
|
|
|
});
|
|
|
|
</script>
|