Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pr #669

Closed
wants to merge 8 commits into from
Closed

pr #669

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions components/NotionPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ import { Page404 } from './Page404'
import { PageAside } from './PageAside'
import { PageHead } from './PageHead'
import styles from './styles.module.css'
import { Analytics } from '@vercel/analytics/next';

// -----------------------------------------------------------------------------
// dynamic imports for optional components
Expand Down Expand Up @@ -282,6 +283,7 @@ export const NotionPage: React.FC<types.PageProps> = ({
/>

<GitHubShareButton />
<Analytics />
</>
)
}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"@keyvhq/core": "^1.6.9",
"@keyvhq/redis": "^1.6.10",
"@react-icons/all-files": "^4.1.0",
"@vercel/analytics": "^1.4.1",
"@vercel/og": "^0.0.19",
"classnames": "^2.3.1",
"date-fns": "^2.28.0",
Expand Down
1 change: 0 additions & 1 deletion pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import 'styles/global.css'
import 'styles/notion.css'
// global style overrides for prism theme (optional)
import 'styles/prism-theme.css'

import { bootstrap } from '@/lib/bootstrap-client'
import {
fathomConfig,
Expand Down
16 changes: 8 additions & 8 deletions site.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,24 @@ import { siteConfig } from './lib/site-config'

export default siteConfig({
// the site's root Notion page (required)
rootNotionPageId: '7875426197cf461698809def95960ebf',
rootNotionPageId: '5c4795ad65e44db78b4921266107302e',

// 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',
name: 'AI关乎未来',
domain: 'zerozzz.win',
author: 'ZeroZ',

// open graph metadata (optional)
description: 'Example Next.js Notion Starter Kit Site',
description: 'AI关乎未来',

// social usernames (optional)
twitter: 'transitive_bs',
github: 'transitive-bullshit',
linkedin: 'fisch2',
twitter: 'ZeroZ_JQ',
github: 'ZeroZ-lab',
//linkedin: 'fisch2',
// mastodon: '#', // optional mastodon profile URL, provides link verification
// newsletter: '#', // optional newsletter URL
// youtube: '#', // optional youtube channel name or `channel/UCGbXXXXXXXXXXXXXXXXXXXXXX`
Expand Down
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -680,6 +680,11 @@
resolved "https://registry.npmjs.org/@use-it/event-listener/-/event-listener-0.1.7.tgz"
integrity sha512-hgfExDzUU9uTRTPDCpw2s9jWTxcxmpJya3fK5ADpf5VDpSy8WYwY/kh28XE0tUcbsljeP8wfan48QvAQTSSa3Q==

"@vercel/analytics@^1.4.1":
version "1.4.1"
resolved "https://registry.yarnpkg.com/@vercel/analytics/-/analytics-1.4.1.tgz#a28a93133d68b6e3d86884a52fa7893f5ecaa381"
integrity sha512-ekpL4ReX2TH3LnrRZTUKjHHNpNy9S1I7QmS+g/RQXoSUQ8ienzosuX7T9djZ/s8zPhBx1mpHP/Rw5875N+zQIQ==

"@vercel/og@^0.0.19":
version "0.0.19"
resolved "https://registry.yarnpkg.com/@vercel/og/-/og-0.0.19.tgz#f0a796244c90b14aca40ee26225f2e046ccfda08"
Expand Down