├── static ├── .nojekyll ├── favicon.png ├── robots.txt └── 404.html ├── .npmrc ├── src ├── routes │ ├── [pageId] │ │ ├── +page.ts │ │ ├── +page.server.ts │ │ └── +page.svelte │ ├── +layout.ts │ ├── components │ │ ├── BlockItem │ │ │ ├── Divider.svelte │ │ │ ├── ColumnList.svelte │ │ │ ├── Waiting.svelte │ │ │ ├── Audio.svelte │ │ │ ├── SyncPointerBlock.svelte │ │ │ ├── Quote.svelte │ │ │ ├── Callout.svelte │ │ │ ├── Text.svelte │ │ │ ├── Column.svelte │ │ │ ├── File.svelte │ │ │ ├── Bookmark.svelte │ │ │ ├── List.svelte │ │ │ ├── EOI.svelte │ │ │ ├── Header.svelte │ │ │ ├── Code.svelte │ │ │ └── ViewPage.svelte │ │ ├── BlockRender.svelte │ │ ├── Pdf.svelte │ │ ├── Checkbox.svelte │ │ ├── GracefulImage.svelte │ │ ├── Equation.svelte │ │ ├── Collection │ │ │ ├── CollectionColumnTitle.svelte │ │ │ ├── CollectionPropertyCheckbox.svelte │ │ │ ├── ColletionPropertySelect.svelte │ │ │ ├── CollectionPropertyFile.svelte │ │ │ ├── CollectionPropteryFormula.svelte │ │ │ ├── CollectionPropertyTime.svelte │ │ │ ├── CollectionViewTabs.svelte │ │ │ ├── CollectionViewGallery.svelte │ │ │ ├── CollectionPropertyNumber.svelte │ │ │ ├── CollectionRow.svelte │ │ │ ├── Collection.svelte │ │ │ ├── CollectionProperty.svelte │ │ │ ├── CollectionCard.svelte │ │ │ └── eval-formula.ts │ │ ├── Render.svelte │ │ ├── TextPage.svelte │ │ ├── RecursiveBlock.svelte │ │ ├── TextLink.svelte │ │ ├── TextExternalLink.svelte │ │ ├── PageTitle.svelte │ │ ├── TextPlain.svelte │ │ ├── Text.svelte │ │ ├── PageIcon.svelte │ │ ├── LiteYoutubeEmbed.svelte │ │ ├── AssetWrapper.svelte │ │ ├── Block.svelte │ │ ├── Header.svelte │ │ └── Asset.svelte │ ├── +page.ts │ ├── +layout.svelte │ ├── +page.server.ts │ ├── +page.svelte │ ├── store.ts │ ├── Header.svelte │ └── prism-theme.css ├── lib │ ├── images │ │ ├── svelte-welcome.png │ │ ├── svelte-welcome.webp │ │ ├── default-page-icon.svg │ │ ├── github.svg │ │ └── svelte-logo.svg │ ├── icons │ │ ├── check.svelte │ │ ├── type-relation.svelte │ │ ├── chevron-down-icon.svelte │ │ ├── type-select.svelte │ │ ├── default-page-icon.svelte │ │ ├── collection-view-board.svelte │ │ ├── clear-icon.svelte │ │ ├── collection-view-list.svelte │ │ ├── file-icon.svelte │ │ ├── type-multi-select.svelte │ │ ├── type-relation.svg │ │ ├── collection-view-gallery.svelte │ │ ├── check.svg │ │ ├── type-date.svelte │ │ ├── collection-view-table.svelte │ │ ├── type-text.svelte │ │ ├── type-person-2.svelte │ │ ├── type-number.svelte │ │ ├── type-checkbox.svelte │ │ ├── type-timestamp.svelte │ │ ├── type-formula.svelte │ │ ├── link-icon.svelte │ │ ├── type-url.svelte │ │ ├── type-select.svg │ │ ├── type-file.svelte │ │ ├── type-phone-number.svelte │ │ ├── collection-view-board.svg │ │ ├── collection-view-list.svg │ │ ├── copy.svg │ │ ├── copy.svelte │ │ ├── collection-view-gallery.svg │ │ ├── empty-icon.svelte │ │ ├── type-person-2.svg │ │ ├── collection-view-icon.svelte │ │ ├── type-date.svg │ │ ├── type-title.svelte │ │ ├── type-person.svelte │ │ ├── search-icon.tsx │ │ ├── type-checkbox.svg │ │ ├── type-multi-select.svg │ │ ├── type-text.svg │ │ ├── collection-view-table.svg │ │ ├── type-phone-number.svg │ │ ├── type-formula.svg │ │ ├── type-file.svg │ │ ├── type-email.svelte │ │ ├── type-number.svg │ │ ├── loading-icon.svelte │ │ ├── type-url.svg │ │ ├── type-timestamp.svg │ │ ├── property-icon.svelte │ │ ├── type-person.svg │ │ ├── collection-view-calendar.svelte │ │ ├── type-email.svg │ │ ├── type-title.svg │ │ ├── type-github.svelte │ │ └── collection-view-calendar.svg │ ├── notion-api.ts │ ├── style-object.ts │ ├── get-canonical-page-id.ts │ ├── site-config.ts │ ├── map-image-url.ts │ ├── get-config-value.ts │ ├── types.ts │ ├── get-site-map.ts │ ├── notion.ts │ └── config.ts ├── app.d.ts ├── app.html ├── hooks.server.ts └── site.config.ts ├── 2023-04-13-20-09-36.png ├── .eslintignore ├── .gitignore ├── .prettierignore ├── vite.config.ts ├── .prettierrc ├── .eslintrc.cjs ├── tsconfig.json ├── svelte.config.js ├── .github └── workflows │ └── build.yml ├── README.md ├── package.json └── scripts └── sitemap.js /static/.nojekyll: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | engine-strict=true 2 | -------------------------------------------------------------------------------- /src/routes/[pageId]/+page.ts: -------------------------------------------------------------------------------- 1 | export const prerender = 'auto'; -------------------------------------------------------------------------------- /src/routes/+layout.ts: -------------------------------------------------------------------------------- 1 | export const prerender = true; 2 | export const csr = false; 3 | -------------------------------------------------------------------------------- /static/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiodot/svelte-notion/HEAD/static/favicon.png -------------------------------------------------------------------------------- /static/robots.txt: -------------------------------------------------------------------------------- 1 | # https://www.robotstxt.org/robotstxt.html 2 | User-agent: * 3 | Disallow: 4 | -------------------------------------------------------------------------------- /2023-04-13-20-09-36.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiodot/svelte-notion/HEAD/2023-04-13-20-09-36.png -------------------------------------------------------------------------------- /src/lib/images/svelte-welcome.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiodot/svelte-notion/HEAD/src/lib/images/svelte-welcome.png -------------------------------------------------------------------------------- /src/lib/images/svelte-welcome.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tiodot/svelte-notion/HEAD/src/lib/images/svelte-welcome.webp -------------------------------------------------------------------------------- /src/lib/icons/check.svelte: -------------------------------------------------------------------------------- 1 | 2 | 5 | -------------------------------------------------------------------------------- /src/lib/icons/type-relation.svelte: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | -------------------------------------------------------------------------------- /src/routes/components/BlockItem/Divider.svelte: -------------------------------------------------------------------------------- 1 | 4 | 5 |
11 | {/if} 12 | -------------------------------------------------------------------------------- /src/lib/icons/type-checkbox.svelte: -------------------------------------------------------------------------------- 1 | 2 | 5 | -------------------------------------------------------------------------------- /src/routes/components/Checkbox.svelte: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | {#if isChecked} 8 |
{text}
18 | {:else if type === 'b'}
19 | {text}
20 | {:else if type === 'i'}
21 | {text}
22 | {:else if type === 's'}
23 | {@html htmlStr}
71 | {#if caption}
72 |