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

Disable dark mode #635

Closed
wants to merge 8 commits into from
Closed
Changes from 1 commit
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
Next Next commit
init
18smlee committed Jun 27, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit f6fd995e0313958450fd2114f5b3ac82a48975bf
2 changes: 0 additions & 2 deletions components/NotionPage.tsx
Original file line number Diff line number Diff line change
@@ -280,8 +280,6 @@ export const NotionPage: React.FC<types.PageProps> = ({
pageAside={pageAside}
footer={footer}
/>

<GitHubShareButton />
</>
)
}
7,531 changes: 7,531 additions & 0 deletions package-lock.json

Large diffs are not rendered by default.

37 changes: 23 additions & 14 deletions site.config.ts
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@ import { siteConfig } from './lib/site-config'

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

// 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)
@@ -14,7 +14,7 @@ export default siteConfig({
author: 'Travis Fischer',

// open graph metadata (optional)
description: 'Example Next.js Notion Starter Kit Site',
description: 'Sam Lee Portfolio',

// social usernames (optional)
twitter: 'transitive_bs',
@@ -37,6 +37,7 @@ export default siteConfig({
// 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,
isSearchEnabled: false,

// map of notion page IDs to URL paths (optional)
// any pages defined here will override their default URL paths
@@ -50,16 +51,24 @@ export default siteConfig({

// whether to use the default notion navigation style or a custom one with links to
// important pages. To use `navigationLinks`, set `navigationStyle` to `custom`.
navigationStyle: 'default'
// navigationStyle: 'custom',
// navigationLinks: [
// {
// title: 'About',
// pageId: 'f1199d37579b41cbabfc0b5174f4256a'
// },
// {
// title: 'Contact',
// pageId: '6a29ebcb935a4f0689fe661ab5f3b8d1'
// }
// ]
// navigationStyle: 'default'
navigationStyle: 'custom',
navigationLinks: [
{
title: '3D Modeling',
pageId: '7c7dfdbdfcb74fc29cc551b5258cd82a'
},
{
title: 'Sketchbook',
pageId: 'c0d168169aff4a72be5aaf417e0ccbf0'
},
{
title: 'Code',
pageId: '1b75c913a6c14c45a806df7439e28853'
},
{
title: 'About Me',
pageId: '4d1b0f1f2c55474fa15da73b167d11d1'
},
]
})
2 changes: 1 addition & 1 deletion styles/notion.css
Original file line number Diff line number Diff line change
@@ -54,7 +54,7 @@
}

.notion-gallery-grid {
grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
grid-gap: 6vmin;
gap: 6vmin;
}
1,357 changes: 750 additions & 607 deletions yarn.lock

Large diffs are not rendered by default.