This repository has been archived on 2021-12-13. You can view files and clone it, but cannot push or open issues or pull requests.
portfolio/pages/about.vue

29 lines
538 B
Vue

<script>
export default {
async asyncData({$notion, $config: { notionAboutPageId }}) {
const blockMap = await $notion.getPageBlocks(notionAboutPageId)
return {blockMap}
},
head: {
title: "About"
},
}
</script>
<template>
<NotionRenderer :block-map="blockMap" full-page prism/>
</template>
<style>
@import "vue-notion/src/styles.css";
.notion-title, .notion-text, .notion-list, .notion-callout-text, p, h1, h2, h3, h4, span {
@apply dark:text-white;
}
.notion-link {
@apply dark:hover:bg-red-500;
}
</style>