mirror of
https://github.com/d0zingcat/nextjs-notion-starter-kit.git
synced 2026-06-06 15:11:13 +00:00
🔞
This commit is contained in:
@@ -6,24 +6,21 @@ import { useRouter } from 'next/router'
|
||||
|
||||
import cs from 'classnames'
|
||||
import { PageBlock } from 'notion-types'
|
||||
// utils
|
||||
import { formatDate, getBlockTitle, getPageProperty } from 'notion-utils'
|
||||
import BodyClassName from 'react-body-classname'
|
||||
// core notion renderer
|
||||
import { NotionRenderer } from 'react-notion-x'
|
||||
import TweetEmbed from 'react-tweet-embed'
|
||||
import { useSearchParam } from 'react-use'
|
||||
|
||||
import * as config from 'lib/config'
|
||||
import * as types from 'lib/types'
|
||||
import { mapImageUrl } from 'lib/map-image-url'
|
||||
import { getCanonicalPageUrl, mapPageUrl } from 'lib/map-page-url'
|
||||
import { searchNotion } from 'lib/search-notion'
|
||||
import { useDarkMode } from 'lib/use-dark-mode'
|
||||
import * as config from '@/lib/config'
|
||||
import * as types from '@/lib/types'
|
||||
import { mapImageUrl } from '@/lib/map-image-url'
|
||||
import { getCanonicalPageUrl, mapPageUrl } from '@/lib/map-page-url'
|
||||
import { searchNotion } from '@/lib/search-notion'
|
||||
import { useDarkMode } from '@/lib/use-dark-mode'
|
||||
|
||||
import { Footer } from './Footer'
|
||||
import { GitHubShareButton } from './GitHubShareButton'
|
||||
// components
|
||||
import { Loading } from './Loading'
|
||||
import { NotionPageHeader } from './NotionPageHeader'
|
||||
import { Page404 } from './Page404'
|
||||
|
||||
Reference in New Issue
Block a user