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>
|
2024-04-15 19:39:03 +02:00
|
|
|
<NotionPage
|
|
|
|
|
:block-map="blockMap"
|
|
|
|
|
:loading="loading"
|
|
|
|
|
/>
|
2023-12-09 15:47:03 +01:00
|
|
|
</div>
|
|
|
|
|
</div>
|
2024-04-15 19:39:03 +02:00
|
|
|
<open-form-footer />
|
2023-12-09 15:47:03 +01:00
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
|
2024-01-02 17:06:55 +01:00
|
|
|
<script setup>
|
2024-04-15 19:39:03 +02:00
|
|
|
import { useNotionPagesStore } from "~/stores/notion_pages.js"
|
|
|
|
|
import { computed } from "vue"
|
2023-12-09 15:47:03 +01:00
|
|
|
|
2024-01-04 18:38:50 +01:00
|
|
|
useOpnSeoMeta({
|
2024-04-15 19:39:03 +02:00
|
|
|
title: "Terms & Conditions",
|
2024-01-04 18:38:50 +01:00
|
|
|
})
|
2024-08-05 12:06:20 +02:00
|
|
|
|
|
|
|
|
definePageMeta({
|
|
|
|
|
middleware: ["self-hosted"]
|
|
|
|
|
})
|
|
|
|
|
|
2024-01-11 17:16:50 +01:00
|
|
|
defineRouteRules({
|
2024-04-15 19:39:03 +02:00
|
|
|
swr: 3600,
|
2024-01-11 17:16:50 +01:00
|
|
|
})
|
2024-01-04 18:38:50 +01:00
|
|
|
|
2024-01-02 17:06:55 +01:00
|
|
|
const notionPageStore = useNotionPagesStore()
|
2024-04-15 19:39:03 +02:00
|
|
|
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)
|
2024-04-15 19:39:03 +02:00
|
|
|
const blockMap = computed(() =>
|
|
|
|
|
notionPageStore.getByKey("246420da2834480ca04047b0c5a00929"),
|
|
|
|
|
)
|
2023-12-09 15:47:03 +01:00
|
|
|
</script>
|