├── .gitignore
├── .env.local.example
├── public
├── favicon.ico
└── static
│ └── main.css
├── lib
└── notion
│ ├── server-constants.ts
│ ├── utils.ts
│ ├── getNotionAssetUrls.ts
│ ├── queryCollection.ts
│ ├── rpc.ts
│ └── index.ts
├── next-env.d.ts
├── layouts
└── index.js
├── tsconfig.json
├── package.json
├── README.md
├── LICENSE
├── pages
├── api
│ └── asset.ts
└── index.js
└── yarn.lock
/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | yarn-error.log
3 | .next
4 |
--------------------------------------------------------------------------------
/.env.local.example:
--------------------------------------------------------------------------------
1 | PAGE_ID=1a86e7f6-d6a5-4537-a2e5-15650c1888b8
--------------------------------------------------------------------------------
/public/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vercel/spr-landing/HEAD/public/favicon.ico
--------------------------------------------------------------------------------
/lib/notion/server-constants.ts:
--------------------------------------------------------------------------------
1 | export const API_ENDPOINT = 'https://www.notion.so/api/v3';
2 |
--------------------------------------------------------------------------------
/next-env.d.ts:
--------------------------------------------------------------------------------
1 | ///
{renderText(section.children[0].value)}
54 | ) : null} 55 |{renderText(subsection.value)}
75 | ) : subsection.type === 'list' ? ( 76 | i !== 0 && ( 77 |Get started with Vercel + Next.js
95 |