opnform/client/pages/terms-conditions.vue

32 lines
794 B
Vue
Raw Normal View History

2023-12-09 14:47:03 +00: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-01-02 16:06:55 +00:00
<NotionPage :block-map="blockMap" :loading="loading" />
2023-12-09 14:47:03 +00:00
</div>
</div>
2024-01-02 16:06:55 +00:00
<open-form-footer/>
2023-12-09 14:47:03 +00:00
</div>
</template>
2024-01-02 16:06:55 +00:00
<script setup>
import {useNotionPagesStore} from "~/stores/notion_pages.js";
import {computed} from "vue";
2023-12-09 14:47:03 +00:00
useOpnSeoMeta({
title: 'Terms & Conditions'
})
2024-01-11 16:16:50 +00:00
defineRouteRules({
swr: 3600
})
2024-01-02 16:06:55 +00:00
const notionPageStore = useNotionPagesStore()
await notionPageStore.load('246420da2834480ca04047b0c5a00929')
2023-12-09 14:47:03 +00:00
2024-01-02 16:06:55 +00:00
const loading = computed(() => notionPageStore.loading)
const blockMap = computed(() => notionPageStore.getByKey('246420da2834480ca04047b0c5a00929'))
2023-12-09 14:47:03 +00:00
</script>