opnform/client/pages/integrations.vue

36 lines
1.0 KiB
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 mb-4">
Integrations
</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>
// metaTitle: { type: String, default: 'Integrations' },
// metaDescription: { type: String, default: 'You can connect your OpnForms to other services via our two integrations: Zapier and Webhooks. Use our integrations to automate your various workflows.' }
2023-12-09 14:47:03 +00:00
2024-01-02 16:06:55 +00:00
import {useNotionPagesStore} from "~/stores/notion_pages.js";
import {computed} from "vue";
2023-12-09 14:47:03 +00:00
2024-01-02 16:06:55 +00:00
const notionPageStore = useNotionPagesStore()
await notionPageStore.load('492c2bbb31404481b9faaaf407e59640')
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('492c2bbb31404481b9faaaf407e59640'))
2023-12-09 14:47:03 +00:00
</script>
<style lang="scss">
.integration-page {
.notion-asset-wrapper {
max-width: 200px;
}
}
</style>