opnform-host-nginx/client/pages/privacy-policy.vue

37 lines
822 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">
Privacy Policy
</h1>
<NotionPage
:block-map="blockMap"
:loading="loading"
/>
2023-12-09 15:47:03 +01:00
</div>
</div>
<open-form-footer />
</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: "Privacy Policy",
})
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("9c97349ceda7455aab9b341d1ff70f79")
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("9c97349ceda7455aab9b341d1ff70f79"),
)
2023-12-09 15:47:03 +01:00
</script>