mirror of
https://github.com/d0zingcat/nextjs-notion-starter-kit.git
synced 2026-05-13 15:09:47 +00:00
50 lines
1.6 KiB
TypeScript
50 lines
1.6 KiB
TypeScript
import { siteConfig } from './lib/site-config'
|
|
|
|
export default siteConfig({
|
|
// the site's root Notion page (required)
|
|
rootNotionPageId: '7875426197cf461698809def95960ebf',
|
|
|
|
// if you want to restrict pages to a single notion workspace (optional)
|
|
// (this should be a Notion ID; see the docs for how to extract this)
|
|
rootNotionSpaceId: null,
|
|
|
|
// basic site info (required)
|
|
name: 'Next.js Notion Starter Kit',
|
|
domain: 'nextjs-notion-starter-kit.transitivebullsh.it',
|
|
author: 'Travis Fischer',
|
|
|
|
// open graph metadata (optional)
|
|
description: 'Example Next.js Notion Starter Kit Site',
|
|
|
|
// social usernames (optional)
|
|
twitter: 'transitive_bs',
|
|
github: 'transitive-bullshit',
|
|
linkedin: 'fisch2',
|
|
|
|
// default notion icon and cover images for site-wide consistency (optional)
|
|
// page-specific values will override these site-wide defaults
|
|
defaultPageIcon: null,
|
|
defaultPageCover: null,
|
|
defaultPageCoverPosition: 0.5,
|
|
|
|
navigationStyle: 'custom',
|
|
|
|
// whether or not to enable support for LQIP preview images (optional)
|
|
isPreviewImageSupportEnabled: true,
|
|
|
|
// whether or not redis is enabled for caching generated preview images (optional)
|
|
// NOTE: if you enable redis, you need to set the `REDIS_HOST` and `REDIS_PASSWORD`
|
|
// environment variables. see the readme for more info
|
|
isRedisEnabled: false,
|
|
|
|
// map of notion page IDs to URL paths (optional)
|
|
// any pages defined here will override their default URL paths
|
|
// example:
|
|
//
|
|
// pageUrlOverrides: {
|
|
// '/foo': '067dd719a912471ea9a3ac10710e7fdf',
|
|
// '/bar': '0be6efce9daf42688f65c76b89f8eb27'
|
|
// }
|
|
pageUrlOverrides: null
|
|
})
|