Skip to content

Commit

Permalink
switch to contentful
Browse files Browse the repository at this point in the history
  • Loading branch information
Isaac Graves committed Sep 28, 2023
1 parent ade4463 commit 7e19553
Show file tree
Hide file tree
Showing 20 changed files with 303 additions and 824 deletions.
12 changes: 11 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
NOTION_TOKEN=
NOTION_BLOG_ID=
NOTION_GALLERIES_ID=
NOTION_GALLERIES_ID=

FB_BUCKET=
FB_PROJECT_ID=
FB_CLIENT_EMAIL=
FB_PRIVATE_KEY=

CONTENTFUL_PREVIEW=
CONTENTFUL_SPACE_ID=
CONTENTFUL_PREVIEW_TOKEN=
CONTENTFUL_DELIVERY_TOKEN=
7 changes: 6 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"editor.formatOnSave": true,
"editor.defaultFormatter": "denoland.vscode-deno",
"deno.enable": true

"deno.enable": true,

"[postcss]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
}
17 changes: 10 additions & 7 deletions deno.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
{
"tasks": {
"start": "deno run --allow-read --allow-net --allow-env --watch server/main.ts"
},
"compilerOptions": {
"jsx": "react-jsx",
"jsxImportSource": "preact"
},
"imports": {
"std/": "https://deno.land/std@0.202.0/",
"imagemagick_deno": "https://deno.land/x/imagemagick_deno@0.0.25/mod.ts",
"@notionhq/client": "npm:@notionhq/client@2.2.13",
"@notionhq/client/api-endpoints": "npm:@notionhq/client@2.2.13/build/src/api-endpoints"
},
"tasks": {
"server": "deno run --allow-read --allow-net --watch server/main.ts",
"sync": "deno run --allow-read --allow-write --allow-env --allow-net sync/main.ts"
"preact": "https://esm.sh/preact@10.17.1",
"preact/": "https://esm.sh/preact@10.17.1/",
"preact-render-to-string": "https://esm.sh/*preact-render-to-string@6.2.1"
}
}
Loading

0 comments on commit 7e19553

Please sign in to comment.