├── .DS_Store ├── .gitignore ├── .npmignore ├── README.md ├── bin └── index.ts ├── index.ts ├── package.json ├── src ├── components │ ├── Block.tsx │ ├── Code.tsx │ ├── NotionPageBody.tsx │ ├── RichText.tsx │ └── Table.tsx ├── downloadMedia.ts ├── generateTypes.ts ├── getFromNotion.ts ├── scaffoldAppDirectory.ts ├── setup.ts └── utils.ts ├── styles.css ├── templates ├── javascript │ ├── Card.jsx │ ├── [slug] │ │ └── page.jsx │ ├── get.js │ └── page.jsx └── typescript │ ├── Card.tsx │ ├── [slug] │ └── page.tsx │ ├── get.ts │ └── page.tsx ├── tsconfig.json └── types ├── types.js └── types.ts /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williamlmao/notion-on-next/HEAD/.DS_Store -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williamlmao/notion-on-next/HEAD/README.md -------------------------------------------------------------------------------- /bin/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williamlmao/notion-on-next/HEAD/bin/index.ts -------------------------------------------------------------------------------- /index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williamlmao/notion-on-next/HEAD/index.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williamlmao/notion-on-next/HEAD/package.json -------------------------------------------------------------------------------- /src/components/Block.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williamlmao/notion-on-next/HEAD/src/components/Block.tsx -------------------------------------------------------------------------------- /src/components/Code.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williamlmao/notion-on-next/HEAD/src/components/Code.tsx -------------------------------------------------------------------------------- /src/components/NotionPageBody.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williamlmao/notion-on-next/HEAD/src/components/NotionPageBody.tsx -------------------------------------------------------------------------------- /src/components/RichText.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williamlmao/notion-on-next/HEAD/src/components/RichText.tsx -------------------------------------------------------------------------------- /src/components/Table.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williamlmao/notion-on-next/HEAD/src/components/Table.tsx -------------------------------------------------------------------------------- /src/downloadMedia.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williamlmao/notion-on-next/HEAD/src/downloadMedia.ts -------------------------------------------------------------------------------- /src/generateTypes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williamlmao/notion-on-next/HEAD/src/generateTypes.ts -------------------------------------------------------------------------------- /src/getFromNotion.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williamlmao/notion-on-next/HEAD/src/getFromNotion.ts -------------------------------------------------------------------------------- /src/scaffoldAppDirectory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williamlmao/notion-on-next/HEAD/src/scaffoldAppDirectory.ts -------------------------------------------------------------------------------- /src/setup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williamlmao/notion-on-next/HEAD/src/setup.ts -------------------------------------------------------------------------------- /src/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williamlmao/notion-on-next/HEAD/src/utils.ts -------------------------------------------------------------------------------- /styles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williamlmao/notion-on-next/HEAD/styles.css -------------------------------------------------------------------------------- /templates/javascript/Card.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williamlmao/notion-on-next/HEAD/templates/javascript/Card.jsx -------------------------------------------------------------------------------- /templates/javascript/[slug]/page.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williamlmao/notion-on-next/HEAD/templates/javascript/[slug]/page.jsx -------------------------------------------------------------------------------- /templates/javascript/get.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williamlmao/notion-on-next/HEAD/templates/javascript/get.js -------------------------------------------------------------------------------- /templates/javascript/page.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williamlmao/notion-on-next/HEAD/templates/javascript/page.jsx -------------------------------------------------------------------------------- /templates/typescript/Card.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williamlmao/notion-on-next/HEAD/templates/typescript/Card.tsx -------------------------------------------------------------------------------- /templates/typescript/[slug]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williamlmao/notion-on-next/HEAD/templates/typescript/[slug]/page.tsx -------------------------------------------------------------------------------- /templates/typescript/get.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williamlmao/notion-on-next/HEAD/templates/typescript/get.ts -------------------------------------------------------------------------------- /templates/typescript/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williamlmao/notion-on-next/HEAD/templates/typescript/page.tsx -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williamlmao/notion-on-next/HEAD/tsconfig.json -------------------------------------------------------------------------------- /types/types.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williamlmao/notion-on-next/HEAD/types/types.js -------------------------------------------------------------------------------- /types/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/williamlmao/notion-on-next/HEAD/types/types.ts --------------------------------------------------------------------------------