This commit is contained in:
Travis Fischer
2022-10-15 18:03:52 -04:00
parent 44026d9766
commit 3a229e357c
19 changed files with 56 additions and 54 deletions

View File

@@ -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'