Skip to content

Commit 40d6c19

Browse files
Initial commit
0 parents  commit 40d6c19

File tree

112 files changed

+18965
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

112 files changed

+18965
-0
lines changed

.devcontainer/devcontainer.json

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"image": "mcr.microsoft.com/devcontainers/javascript-node:20",
3+
"hostRequirements": {
4+
"memory": "8gb"
5+
},
6+
"waitFor": "onCreateCommand",
7+
"updateContentCommand": "yarn",
8+
"postCreateCommand": "",
9+
"postAttachCommand": "yarn dev",
10+
"customizations": {
11+
"codespaces": {
12+
"openFiles": ["data/blog/code-sample.mdx"]
13+
},
14+
"vscode": {
15+
"settings": {
16+
"editor.formatOnSave": true
17+
},
18+
"extensions": ["dbaeumer.vscode-eslint", "esbenp.prettier-vscode"]
19+
}
20+
},
21+
"portsAttributes": {
22+
"3000": {
23+
"label": "Nextjs server",
24+
"onAutoForward": "openPreview"
25+
}
26+
},
27+
"forwardPorts": [3000]
28+
}

.env.example

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# visit https://giscus.app to get your Giscus ids
2+
NEXT_PUBLIC_GISCUS_REPO=
3+
NEXT_PUBLIC_GISCUS_REPOSITORY_ID=
4+
NEXT_PUBLIC_GISCUS_CATEGORY=
5+
NEXT_PUBLIC_GISCUS_CATEGORY_ID=
6+
NEXT_PUBLIC_UTTERANCES_REPO=
7+
NEXT_PUBLIC_DISQUS_SHORTNAME=
8+
9+
10+
MAILCHIMP_API_KEY=
11+
MAILCHIMP_API_SERVER=
12+
MAILCHIMP_AUDIENCE_ID=
13+
14+
BUTTONDOWN_API_KEY=
15+
16+
CONVERTKIT_API_KEY=
17+
# curl https://api.convertkit.com/v3/forms?api_key=<your_public_api_key> to get your form ID
18+
CONVERTKIT_FORM_ID=
19+
20+
KLAVIYO_API_KEY=
21+
KLAVIYO_LIST_ID=
22+
23+
REVUE_API_KEY=
24+
25+
# Create EmailOctopus API key at https://emailoctopus.com/api-documentation
26+
EMAILOCTOPUS_API_KEY=
27+
# List ID can be found in the URL as a UUID after clicking a list on https://emailoctopus.com/lists
28+
# or the settings page of your list https://emailoctopus.com/lists/{UUID}/settings
29+
EMAILOCTOPUS_LIST_ID=
30+
31+
# Create Beehiiv API key at https://developers.beehiiv.com/docs/v2/bktd9a7mxo67n-create-an-api-key
32+
BEEHIIV_API_KEY=
33+
BEEHIIV_PUBLICATION_ID=

.gitattributes

Lines changed: 202 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,202 @@
1+
## Source: https://github.com/alexkaratarakis/gitattributes
2+
## Modified * text=auto to * text=auto eol=lf eol=lf to force LF endings.
3+
4+
## GITATTRIBUTES FOR WEB PROJECTS
5+
#
6+
# These settings are for any web project.
7+
#
8+
# Details per file setting:
9+
# text These files should be normalized (i.e. convert CRLF to LF).
10+
# binary These files are binary and should be left untouched.
11+
#
12+
# Note that binary is a macro for -text -diff.
13+
######################################################################
14+
15+
# Auto detect
16+
## Force LF line endings automatically for files detected as
17+
## text and leave all files detected as binary untouched.
18+
## This will handle all files NOT defined below.
19+
* text=auto eol=lf
20+
21+
# Source code
22+
*.bash text eol=lf
23+
*.bat text eol=crlf
24+
*.cmd text eol=crlf
25+
*.coffee text
26+
*.css text
27+
*.htm text diff=html
28+
*.html text diff=html
29+
*.inc text
30+
*.ini text
31+
*.js text
32+
*.json text
33+
*.jsx text
34+
*.less text
35+
*.ls text
36+
*.map text -diff
37+
*.od text
38+
*.onlydata text
39+
*.php text diff=php
40+
*.pl text
41+
*.ps1 text eol=crlf
42+
*.py text diff=python
43+
*.rb text diff=ruby
44+
*.sass text
45+
*.scm text
46+
*.scss text diff=css
47+
*.sh text eol=lf
48+
*.sql text
49+
*.styl text
50+
*.tag text
51+
*.ts text
52+
*.tsx text
53+
*.xml text
54+
*.xhtml text diff=html
55+
56+
# Docker
57+
Dockerfile text
58+
59+
# Documentation
60+
*.ipynb text
61+
*.markdown text
62+
*.md text
63+
*.mdwn text
64+
*.mdown text
65+
*.mkd text
66+
*.mkdn text
67+
*.mdtxt text
68+
*.mdtext text
69+
*.txt text
70+
AUTHORS text
71+
CHANGELOG text
72+
CHANGES text
73+
CONTRIBUTING text
74+
COPYING text
75+
copyright text
76+
*COPYRIGHT* text
77+
INSTALL text
78+
license text
79+
LICENSE text
80+
NEWS text
81+
readme text
82+
*README* text
83+
TODO text
84+
85+
# Templates
86+
*.dot text
87+
*.ejs text
88+
*.haml text
89+
*.handlebars text
90+
*.hbs text
91+
*.hbt text
92+
*.jade text
93+
*.latte text
94+
*.mustache text
95+
*.njk text
96+
*.phtml text
97+
*.tmpl text
98+
*.tpl text
99+
*.twig text
100+
*.vue text
101+
102+
# Configs
103+
*.cnf text
104+
*.conf text
105+
*.config text
106+
.editorconfig text
107+
.env text
108+
.gitattributes text
109+
.gitconfig text
110+
.htaccess text
111+
*.lock text -diff
112+
package-lock.json text -diff
113+
*.toml text
114+
*.yaml text
115+
*.yml text
116+
browserslist text
117+
Makefile text
118+
makefile text
119+
120+
# Heroku
121+
Procfile text
122+
123+
# Graphics
124+
*.ai binary
125+
*.bmp binary
126+
*.eps binary
127+
*.gif binary
128+
*.gifv binary
129+
*.ico binary
130+
*.jng binary
131+
*.jp2 binary
132+
*.jpg binary
133+
*.jpeg binary
134+
*.jpx binary
135+
*.jxr binary
136+
*.pdf binary
137+
*.png binary
138+
*.psb binary
139+
*.psd binary
140+
# SVG treated as an asset (binary) by default.
141+
*.svg text
142+
# If you want to treat it as binary,
143+
# use the following line instead.
144+
# *.svg binary
145+
*.svgz binary
146+
*.tif binary
147+
*.tiff binary
148+
*.wbmp binary
149+
*.webp binary
150+
151+
# Audio
152+
*.kar binary
153+
*.m4a binary
154+
*.mid binary
155+
*.midi binary
156+
*.mp3 binary
157+
*.ogg binary
158+
*.ra binary
159+
160+
# Video
161+
*.3gpp binary
162+
*.3gp binary
163+
*.as binary
164+
*.asf binary
165+
*.asx binary
166+
*.fla binary
167+
*.flv binary
168+
*.m4v binary
169+
*.mng binary
170+
*.mov binary
171+
*.mp4 binary
172+
*.mpeg binary
173+
*.mpg binary
174+
*.ogv binary
175+
*.swc binary
176+
*.swf binary
177+
*.webm binary
178+
179+
# Archives
180+
*.7z binary
181+
*.gz binary
182+
*.jar binary
183+
*.rar binary
184+
*.tar binary
185+
*.zip binary
186+
187+
# Fonts
188+
*.ttf binary
189+
*.eot binary
190+
*.otf binary
191+
*.woff binary
192+
*.woff2 binary
193+
194+
# Executables
195+
*.exe binary
196+
*.pyc binary
197+
198+
# RC files (like .babelrc or .eslintrc)
199+
*.*rc text
200+
201+
# Ignore files (like .npmignore or .gitignore)
202+
*.*ignore text

.gitignore

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+
# dependencies
4+
/node_modules
5+
/.pnp
6+
.pnp.js
7+
/.yarn/*
8+
!/.yarn/releases
9+
!/.yarn/plugins
10+
!/.yarn/sdks
11+
12+
# testing
13+
/coverage
14+
15+
# next.js
16+
/.next/
17+
/out/
18+
public/sitemap.xml
19+
.vercel
20+
21+
# production
22+
/build
23+
*.xml
24+
25+
# rss feed
26+
/public/feed.xml
27+
28+
# search
29+
/public/search.json
30+
31+
# misc
32+
.DS_Store
33+
34+
# debug
35+
*.log
36+
npm-debug.log*
37+
yarn-debug.log*
38+
yarn-error.log*
39+
40+
# local env files
41+
.env.local
42+
.env.development.local
43+
.env.test.local
44+
.env.production.local
45+
46+
# Contentlayer
47+
.contentlayer

.husky/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
_

.husky/pre-commit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
npx --no-install lint-staged

.node-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v20.0.0

.vscode/settings.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"typescript.tsdk": "node_modules/typescript/lib",
3+
"typescript.enablePromptUseWorkspaceTsdk": true
4+
}

.yarn/releases/yarn-3.6.1.cjs

Lines changed: 874 additions & 0 deletions
Large diffs are not rendered by default.

.yarnrc.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
nodeLinker: node-modules
2+
3+
yarnPath: .yarn/releases/yarn-3.6.1.cjs

0 commit comments

Comments
 (0)