opnform-host-nginx/client/pages/terms-conditions.vue

42 lines
882 B
Vue
Raw Normal View History

2023-12-09 15:47:03 +01:00
<template>
<div>
<div class="mt-6 flex flex-col">
<div class="w-full md:max-w-3xl md:mx-auto px-4 md:pt-16">
<h1 class="sm:text-5xl">
Terms & Conditions
</h1>
<NotionPage
:block-map="blockMap"
:loading="loading"
/>
2023-12-09 15:47:03 +01:00
</div>
</div>
<open-form-footer />
2023-12-09 15:47:03 +01:00
</div>
</template>
2024-01-02 17:06:55 +01:00
<script setup>
import { useNotionPagesStore } from "~/stores/notion_pages.js"
import { computed } from "vue"
2023-12-09 15:47:03 +01:00
useOpnSeoMeta({
title: "Terms & Conditions",
})
definePageMeta({
middleware: ["self-hosted"]
})
2024-01-11 17:16:50 +01:00
defineRouteRules({
swr: 3600,
2024-01-11 17:16:50 +01:00
})
2024-01-02 17:06:55 +01:00
const notionPageStore = useNotionPagesStore()
await notionPageStore.load("246420da2834480ca04047b0c5a00929")
2023-12-09 15:47:03 +01:00
2024-01-02 17:06:55 +01:00
const loading = computed(() => notionPageStore.loading)
const blockMap = computed(() =>
notionPageStore.getByKey("246420da2834480ca04047b0c5a00929"),
)
2023-12-09 15:47:03 +01:00
</script>