Skip to content

Beautiful Open-Source Form Builder

753 B
Raw Blame
<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="page.blocks"
          :loading="loading"
        />
      </div>
    </div>
    <open-form-footer />
  </div>
</template>

<script setup>
definePageMeta({
  middleware: ["self-hosted"]
})
useOpnSeoMeta({
  title: "Terms & Conditions",
})
defineRouteRules({
  swr: 3600
})

const pageId = '246420da2834480ca04047b0c5a00929'
const notionCmsStore = useNotionCmsStore()
const loading = computed(() => notionCmsStore.loading)
await notionCmsStore.loadPage(pageId)
const page = notionCmsStore.getPage(pageId)
</script>