mirror of
https://github.com/d0zingcat/nextjs-notion-starter-kit.git
synced 2026-05-13 23:16:47 +00:00
🐐
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
|
||||
> The perfect starter kit for building beautiful Next.js websites that are backed by Notion content.
|
||||
|
||||
[](https://travis-ci.com/transitive-bullshit/nextjs-notion-starter-kit) [](https://prettier.io)
|
||||
[](https://travis-ci.com/transitive-bullshit/nextjs-notion-starter-kit) [](https://prettier.io)
|
||||
|
||||
## Intro
|
||||
|
||||
@@ -20,7 +20,7 @@ The site is then deployed to [Vercel](http://vercel.com).
|
||||
|
||||
## Features
|
||||
|
||||
- Setup only takes a few minutes! ([single config file](./site.config.js)) 💪
|
||||
- Setup only takes a few minutes ([single config file](./site.config.js)) 💪
|
||||
- Next.js / TS / React / Notion
|
||||
- Robust support for Notion content via [react-notion-x](https://github.com/NotionX/react-notion-x)
|
||||
- Excellent page speeds
|
||||
@@ -48,7 +48,7 @@ You'll want to make your root Notion page **public** and then copy the link to y
|
||||
|
||||
I recommend setting up a collection on your home page (I used an inline gallery [here](https://notion.so/78fc5a4b88d74b0e824e29407e9f1ec1)) that contains all of your articles / projects / content. There are no structural constraints on your Notion workspace, however, so feel free to add content as you would normally in Notion. There are a few parts of the code with logic to only show comments on blog post pages (collection item detail pages).
|
||||
|
||||
## URL Pathnames
|
||||
## URL Paths
|
||||
|
||||
The app defaults to slightly different pathnames in dev and prod (though pasting any dev pathname into prod will work and vice-versa).
|
||||
|
||||
@@ -70,6 +70,8 @@ They mainly target global CSS classes exported by react-notion-x [styles.css](ht
|
||||
|
||||
It should be pretty easy to customize most styling-related things, especially with local development and hot reload.
|
||||
|
||||
Dark mode is fully supported by `react-notion-x`, but it not not yet customizable via the UI. You can add `?dark=true` to play around with it.
|
||||
|
||||
## Extras
|
||||
|
||||
All extra dependencies are optional -- the project should work just fine out of the box.
|
||||
|
||||
Reference in New Issue
Block a user