Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V3 dev #127

Merged
merged 481 commits into from
Jun 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
481 commits
Select commit Hold shift + click to select a range
55991b2
Add external services config file
jerboa88 Apr 25, 2024
f35f9c9
Add getExternalServices method to ConfigManager
jerboa88 Apr 25, 2024
6d8998c
Add layout props to ContactForm children. Increase max form width
jerboa88 Apr 25, 2024
e2e4e67
Add hidden honeypot checkbox to contact form. Add options for email a…
jerboa88 Apr 25, 2024
628104f
Add form state variable to ContactForm. Add busy state to button and …
jerboa88 Apr 25, 2024
64ac5ab
Add alert to contact form to show form submission success or failure …
jerboa88 Apr 25, 2024
bcac3e9
Add useEffect hook to reset the form state x seconds after submission…
jerboa88 Apr 25, 2024
8d1237d
Add handleSubmissionError function to contact form
jerboa88 Apr 25, 2024
2c1e557
Implement onSubmit handler for contact form
jerboa88 Apr 25, 2024
4808780
Remove gatsby-plugin-google-gtag dep and trackingId from metadata
jerboa88 Apr 25, 2024
0718084
Use Url type in more applicable types
jerboa88 Apr 25, 2024
be1a1ae
Add getOrDefault and getStatusCodeDescription utility functions
jerboa88 Apr 25, 2024
63dcd03
Remove http-status-codes dep and replace with custom function
jerboa88 Apr 25, 2024
45d41b9
Reset contact form after submission
jerboa88 Apr 27, 2024
1389dc5
Merge pull request #88 from jerboa88/81-add-contact-form
jerboa88 Apr 27, 2024
43b68a1
Add description to getOrDefault utility function
jerboa88 Apr 27, 2024
4f560ef
Add logic for precomputing Botpoison solutions. Refactor contact form
jerboa88 Apr 27, 2024
f2b0f0b
Replace INPUT_OPTIONS with INPUT_PROPS in contact form
jerboa88 Apr 27, 2024
9c46764
Add .editorconfig
jerboa88 Apr 27, 2024
aa6303c
Add recommended extensions using extensions.json
jerboa88 Apr 27, 2024
3f82fde
Sort Tailwind CSS classnames
jerboa88 Apr 27, 2024
d3596c5
Merge pull request #91 from jerboa88/90-automate-code-formatting
jerboa88 Apr 27, 2024
6fae20b
Add new site icon
jerboa88 Apr 28, 2024
0680857
Add iconPath to site metadata
jerboa88 Apr 28, 2024
e90dab0
Update options for gatsby-plugin-manifest
jerboa88 Apr 28, 2024
109be42
Remove old icon generation config file
jerboa88 Apr 28, 2024
b0b33c6
Remove gatsby-plugin-image-generator dep
jerboa88 Apr 28, 2024
4dc97a9
Remove old icons
jerboa88 Apr 28, 2024
b3e05c5
Remove gatsby-plugin-realfavicongenerator dep
jerboa88 Apr 28, 2024
3845e87
Remove gatsby-plugin-react-svg dep
jerboa88 Apr 28, 2024
ffb2c2f
Update deps
jerboa88 Apr 28, 2024
8c8006b
Merge pull request #92 from jerboa88/39-update-favicon
jerboa88 Apr 28, 2024
d30d969
Fix TimelineEntry layout bug on small screens
jerboa88 Apr 28, 2024
537ca3c
Fix disabled button style bug
jerboa88 Apr 28, 2024
fdce9a1
Fix star counter alignment issue
jerboa88 Apr 28, 2024
02d0ea7
Tweak project card styles
jerboa88 Apr 28, 2024
db867f3
Fix ghost alert styling issue
jerboa88 Apr 28, 2024
3d08e51
Remove unused class
jerboa88 May 4, 2024
7eef145
Add class to LinkWrapper
jerboa88 May 4, 2024
e4d2a13
Replace hardcoded colors in global.css with variables
jerboa88 May 4, 2024
fc60f55
Add tilt effect to Card component
jerboa88 May 5, 2024
39efc4b
Update ProjectCard and TimelineEntry so that they render correctly wi…
jerboa88 May 5, 2024
676b5f5
Add scale effects to card bg gradient
jerboa88 May 5, 2024
cec6c7d
Add additional constants to Card component
jerboa88 May 5, 2024
1ae11d4
Increase default gradient size for Card
jerboa88 May 5, 2024
ecdee04
Move clamp function to utilties. Add doesDeviceSupportHover utility f…
jerboa88 May 5, 2024
c0f3b9f
Disable card hover effects on mobile
jerboa88 May 5, 2024
67444a0
Increase card bg gradient scale
jerboa88 May 5, 2024
b0fb73b
Increase card bg gradient scale
jerboa88 May 6, 2024
419f3ac
Update border styles to match that of cards
jerboa88 May 6, 2024
30df74b
Change theme accent colors
jerboa88 May 7, 2024
c52c96a
Add custom class for adding a transparent 'glass' background to elements
jerboa88 May 7, 2024
b48f2ed
Increase z-index for section component
jerboa88 May 7, 2024
f93a205
Add glass effect to page footer. Increase z-index
jerboa88 May 7, 2024
dba389f
Add glass effect to page header. Increase z-index
jerboa88 May 7, 2024
d93721b
Increase z-index of BaseInput and BaseButton
jerboa88 May 7, 2024
e6b062a
Reduce backdrop blur strength on footer
jerboa88 May 7, 2024
027f80f
Move glass gradient effect from global.css to Tailwind config
jerboa88 May 7, 2024
4a7fe18
Add glass effect to cards. Reduce gradient size
jerboa88 May 7, 2024
5da63db
Increase opacity of glass bg gradient
jerboa88 May 7, 2024
7e071c9
Add glass effect to text inputs
jerboa88 May 7, 2024
c203e2c
Increase backdrop blur for header, footer, and cards
jerboa88 May 7, 2024
e854866
Add tsparticles dep
jerboa88 May 7, 2024
3fbc52a
Fix backdrop blur on text inputs
jerboa88 May 7, 2024
a1ef134
Add shadow to header and footer
jerboa88 May 7, 2024
8b39d6d
Update deps
jerboa88 May 7, 2024
331f271
Remove primary-header and secondary-header colors. Swap neutral and a…
jerboa88 May 7, 2024
f2c5e82
Add ParticlesBackground component
jerboa88 May 7, 2024
8e5acc2
Add ParticlesBackground to PageLayout
jerboa88 May 7, 2024
ff11488
Replace vh with lvh for section min heights
jerboa88 May 7, 2024
1d01662
Increase default CSS transition duration
jerboa88 May 7, 2024
5f5f7fa
Fix MultilineTextInput margin bug
jerboa88 May 7, 2024
520396f
Add additional classname props to Card. Replace width and height clas…
jerboa88 May 7, 2024
f05a3cc
Add Card component to SolidButton
jerboa88 May 7, 2024
a2a71be
Remove CSS interactive card styles. Reduce interactive text scale mag…
jerboa88 May 7, 2024
197c461
Move constants from utilities to dedicated constants file
jerboa88 May 7, 2024
0876166
Merge pull request #100 from jerboa88/98-add-tilt-effect-to-cards-on-…
jerboa88 May 7, 2024
b7e1d24
Add getClassNameProps utility function
jerboa88 May 8, 2024
4c8ea4f
Refactor Tooltip with getClassNameProps. Fix tooltip colors
jerboa88 May 8, 2024
b40cf65
Refactor Heading, SectionHeading, and SubsectionHeading with getClass…
jerboa88 May 8, 2024
48f0bb2
Refactor Article and DateRange with getClassNameProps
jerboa88 May 8, 2024
49edbd7
Refactor LinkWrapper with getClassNameProps. Fix InlineLink styling
jerboa88 May 8, 2024
8552b31
Refactor InlineLink with getClassNameProps
jerboa88 May 8, 2024
6f84dbc
Refactor Section and SectionHeader using getClassNameProps
jerboa88 May 8, 2024
08175c4
Refactor PageLayout and ParticlesBackground using getClassNameProps
jerboa88 May 8, 2024
b1f30f7
Refactor Header with getClassNameProps
jerboa88 May 8, 2024
cd19d67
Refactor TextInput and MultilineTextInput with getClassNameProps
jerboa88 May 9, 2024
04a0f6b
Refactor GhostButton and SolidButton with getClassNameProps
jerboa88 May 9, 2024
6194ee4
Refactor Checkbox with classNameProps
jerboa88 May 9, 2024
4305682
Simplify callback hooks for text inputs
jerboa88 May 9, 2024
7b7ecc9
Refactor ContactForm with getClassNameProps
jerboa88 May 9, 2024
1b0803a
Refactor BaseButton and BaseInput with getClassNameProps
jerboa88 May 9, 2024
df4914f
Refactor Timeline and TimelineEntry with getClassNameProps
jerboa88 May 9, 2024
05986ca
Refactor Tabs with getClassNameProps
jerboa88 May 9, 2024
9f695e6
Refactor ProjectCard with getClassNameProps
jerboa88 May 9, 2024
fbde5de
Refactor Pill and ProjectCardGallery with getClassNameProps
jerboa88 May 9, 2024
9c4b4dd
Refactor GhostAlert with getClassNameProps
jerboa88 May 9, 2024
df8c7f5
Refactor Card with getClassNameProps
jerboa88 May 9, 2024
42822b2
Fix project card size bug
jerboa88 May 9, 2024
365c47f
Simplify arrow functions
jerboa88 May 9, 2024
9ec803a
Merge pull request #103 from jerboa88/102-create-custom-function-to-j…
jerboa88 May 9, 2024
05c14b9
Add gatsby-plugin-dynamic-open-graph-images dep
jerboa88 May 11, 2024
cd1b9b4
Add PROJECTS_DIR and OG_IMAGE_DIR to constants
jerboa88 May 11, 2024
ac9b4f2
Move template for index and project pages to subfolder
jerboa88 May 11, 2024
2fe1165
Add placeholder templates for generating OG images
jerboa88 May 11, 2024
16a7f50
Add gatsby-plugin-dynamic-open-graph-images to Gatsby config. Exclude…
jerboa88 May 11, 2024
9a86e2c
Remove unused instance of gatsby-source-filesystem in Gatsby config
jerboa88 May 11, 2024
d61c539
Add logic to Gatsby Node for generating OG images
jerboa88 May 11, 2024
fe45047
Add argument to generateOpenGraphImage so that we can pass context to…
jerboa88 May 11, 2024
5d5aa73
Refactor Gatsby Node file
jerboa88 May 11, 2024
bc803c6
Enable absolute imports in TypeScript config
jerboa88 May 11, 2024
3761d2f
Disable absolute import in TypeScript because this is broken
jerboa88 May 12, 2024
d54f9cf
Organize page context object for project pages and OG images
jerboa88 May 12, 2024
55c8cd0
Suppress initial animations for contents of buttons
jerboa88 May 12, 2024
df266ed
Rename SEO component to PageHead and move to seo folder
jerboa88 May 12, 2024
f72efd9
Add OgImageHead component
jerboa88 May 12, 2024
b44c303
Add optional button flip property to section header component
jerboa88 May 13, 2024
6d14552
Add Divider component
jerboa88 May 13, 2024
c529d57
Replace divs with Divider component
jerboa88 May 13, 2024
411e09b
Fix Divider component name
jerboa88 May 13, 2024
e82dfc4
Remove default top padding from section header
jerboa88 May 13, 2024
86ad847
Add responsive property to section component
jerboa88 May 13, 2024
5f84268
Remove classname prop from OgImageHead
jerboa88 May 13, 2024
d83a30f
Add OgImage component
jerboa88 May 13, 2024
e302b70
Formatting changes
jerboa88 May 13, 2024
8ea431d
Formatting changes
jerboa88 May 13, 2024
8ccc3cc
Add SignatureGhostButton component
jerboa88 May 13, 2024
dc34cc2
Simplify GhostButtonLink and SolidButtonLink
jerboa88 May 13, 2024
6976ab5
Decrease padding for OgImage
jerboa88 May 13, 2024
f53d572
Simplify GhostAlert
jerboa88 May 13, 2024
11a969d
Replace Tooltip classname prop with position prop
jerboa88 May 13, 2024
71adb63
Integrate Tooltip into buttons
jerboa88 May 13, 2024
dc72489
Replace SectionHeader button props with render function for a button
jerboa88 May 13, 2024
4982e18
Add fallback for when tooltip text is not defined on buttons
jerboa88 May 13, 2024
311d480
Fix Head for project pages
jerboa88 May 13, 2024
887daf7
Fix submit button hidden tooltip bug.
jerboa88 May 14, 2024
23b2fc1
Improve tooltip text and position for header nav bar
jerboa88 May 14, 2024
9c294a7
Add tooltipClassName prop to BaseButton. Fix submit button layout bug
jerboa88 May 14, 2024
ff9030e
Add HeroHeader component
jerboa88 May 14, 2024
3eb8e40
Move titleLayoutId to constants
jerboa88 May 14, 2024
3878398
Rename isTitleExpanded to expandTitle
jerboa88 May 14, 2024
fac92af
Add USE_IN_VIEW_OPTIONS to constants
jerboa88 May 14, 2024
bfe1ed2
Add toKebabCase utility function. Remove id section prop. Refactor pages
jerboa88 May 14, 2024
de691f9
Rename getMetadata to getSiteMetadata
jerboa88 May 16, 2024
f33c01a
Remove getProjectImage utility function
jerboa88 May 16, 2024
b9f23d5
Remove deprecated comments from color mappings config
jerboa88 May 16, 2024
dae62a1
Remove ogImageAltText prop from PageHead
jerboa88 May 16, 2024
5375298
Remove ogImagePath and ogImageAltText from site metadata
jerboa88 May 16, 2024
b12ca23
Add page metadata config
jerboa88 May 16, 2024
e74d274
Update Yarn. Remove gatsby-plugin-dynamic-open-graph-images dep
jerboa88 Jun 9, 2024
c566405
Add gatsby-plugin-component-to-image dep
jerboa88 Jun 10, 2024
79744d8
Sort and rename status code map in utilities
jerboa88 Jun 10, 2024
df97d18
Make defaultValue optional for getOrDefault() in utilities
jerboa88 Jun 10, 2024
3fb91ac
Add getAbsoluteUrl() to utilities
jerboa88 Jun 10, 2024
d3b8739
Add getMimeType() to utilities
jerboa88 Jun 10, 2024
06131fb
Add removeTrailingSlash() to utilities
jerboa88 Jun 10, 2024
b6d1e3a
Remove code for manually adding favicons to page head
jerboa88 Jun 10, 2024
f16f894
Add types for social image generation
jerboa88 Jun 10, 2024
da1be90
Add social images generation config
jerboa88 Jun 10, 2024
f7c9f99
Add functions to ConfigManager for getting social image generation co…
jerboa88 Jun 10, 2024
b8f7c23
Add SOCIAL_IMAGES_DIR to constants
jerboa88 Jun 10, 2024
a5911d7
Add gatsby-plugin-component-to-image to Gatsby config. Replace URL co…
jerboa88 Jun 10, 2024
3676ea8
Update Gatsby type declarations
jerboa88 Jun 10, 2024
0911fb2
Add contributing section to README
jerboa88 Jun 11, 2024
ed6f701
Update installation section of README
jerboa88 Jun 11, 2024
7903a1a
Add logic to gatsby-node.ts to generate social images with gatsby-plu…
jerboa88 Jun 11, 2024
c36b158
Save Node API helpers for reuse when gatsby-node.ts is loaded instead…
jerboa88 Jun 11, 2024
8c0aa2e
Remove unused import
jerboa88 Jun 11, 2024
2f1c8c7
Implement ProjectOgImageTemplate
jerboa88 Jun 11, 2024
d65a962
Implement IndexOgImageTemplate
jerboa88 Jun 11, 2024
2fc0b45
Implement OtherOgImageTemplate
jerboa88 Jun 11, 2024
c01f38a
Use page metadata for 404 page head instead of site metadata
jerboa88 Jun 11, 2024
2842de8
Use page metadata for privacy policy page head instead of site metadata
jerboa88 Jun 11, 2024
c6d12c6
Remove ogImageUrl from index page head and other minor tweaks
jerboa88 Jun 11, 2024
b1a2860
Replace URL constructor with getAbsoluteUrl in project page template.…
jerboa88 Jun 11, 2024
e530d03
Add separate structuredData and socialImagesMetadata props to PageHead
jerboa88 Jun 12, 2024
62a8f55
Add alternateName to landing page structured data
jerboa88 Jun 12, 2024
863ee3f
Add licenseUrl to ProjectInfoInterface
jerboa88 Jun 12, 2024
dfdd795
Update structured data for ProjectPageTemplate
jerboa88 Jun 12, 2024
6bc7a14
Add id to author prop in structured data
jerboa88 Jun 12, 2024
32e6eab
Update structured data for NotFoundPage
jerboa88 Jun 12, 2024
a0875d7
Update structured data for PrivacyPolicyPage
jerboa88 Jun 12, 2024
c880362
Add author prop to ProjectPageTemplate
jerboa88 Jun 12, 2024
09dbb64
Merge pull request #109 from jerboa88/93-fix-opengraph-image-generation
jerboa88 Jun 12, 2024
dede913
Rename all component prop interfaces to `Props`
jerboa88 Jun 12, 2024
7c8f0d4
Merge pull request #110 from jerboa88/104-rename-component-prop-types…
jerboa88 Jun 12, 2024
2076be6
Rename social image components
jerboa88 Jun 12, 2024
91499fc
Add constants for template dirs. Rename files for social image compon…
jerboa88 Jun 12, 2024
a1f7975
Update root font size in SocialImageHead to use vmax
jerboa88 Jun 12, 2024
377fb04
Double resolution of social images
jerboa88 Jun 12, 2024
f1266e5
Merge pull request #111 from jerboa88/105-make-ogimagehead-scale-cont…
jerboa88 Jun 12, 2024
652c8da
Rewrite ConfigManager as an ES6 module
jerboa88 Jun 12, 2024
a7adfa1
Merge pull request #112 from jerboa88/108-convert-configmanager-to-an…
jerboa88 Jun 13, 2024
c84ce90
Replace siteMetadata props with getSiteMetadata() in leaf components
jerboa88 Jun 13, 2024
a872c7c
Remove themes from siteMetadata in Gatsby config
jerboa88 Jun 13, 2024
bf2c535
Merge pull request #113 from jerboa88/107-remove-sitemetadata-prop-fr…
jerboa88 Jun 13, 2024
79809c8
Add biome dep. Remove eslint-plugin-react-hooks dep
jerboa88 Jun 13, 2024
ca7ea4e
Add Biome.js config
jerboa88 Jun 13, 2024
bd2be24
Format all files with Biome.js
jerboa88 Jun 13, 2024
4526891
Enable new JSX transform in Gatsby
jerboa88 Jun 14, 2024
31e3a75
Add Biome.js noUnusedImports rule
jerboa88 Jun 14, 2024
4aa468f
Remove unused React imports
jerboa88 Jun 14, 2024
f041c6a
Remove more unused React imports
jerboa88 Jun 14, 2024
5928515
Disable fix for Biome.js noUnusedImports rule because this inadverten…
jerboa88 Jun 14, 2024
c999b57
Add scripts to package.json for linting and formatting
jerboa88 Jun 14, 2024
ddf7e13
Package.json script fix
jerboa88 Jun 14, 2024
a7c2174
Lint all files with Biome.js
jerboa88 Jun 14, 2024
e586f42
Apply unsafe Biome.js fixes
jerboa88 Jun 14, 2024
adef478
Rename GraphQL queries. Fix GraphQL type definition generation
jerboa88 Jun 14, 2024
837b1d8
Apply unsafe Biome.js rule fixes
jerboa88 Jun 14, 2024
1e1dd86
Add ReadmeResponse type
jerboa88 Jun 14, 2024
7e98dcc
Merge pull request #116 from jerboa88/90-automate-code-formatting-2
jerboa88 Jun 14, 2024
e6a0878
Rewrite ResponseMapper as ES6 module
jerboa88 Jun 14, 2024
08a3d99
Merge pull request #117 from jerboa88/114-convert-responsemapper-to-a…
jerboa88 Jun 14, 2024
3afbb5f
Rewrite ResponseParser as an ES6 module
jerboa88 Jun 15, 2024
db9b831
Merge pull request #118 from jerboa88/115-convert-responseparser-to-a…
jerboa88 Jun 15, 2024
c09dbc3
Temporarily disable project page generation
jerboa88 Jun 15, 2024
d85b77f
Rename interfaces
jerboa88 Jun 15, 2024
9c3ed81
Remove unused dependencies from useCallback hooks
jerboa88 Jun 15, 2024
7a247e2
Merge pull request #121 from jerboa88/120-rename-types
jerboa88 Jun 15, 2024
7a6a0a5
Add isomorphic-dompurify dep. Remove dompurify dep
jerboa88 Jun 15, 2024
980beca
Fix linting errors in Article component
jerboa88 Jun 15, 2024
2a63fb2
Enable additional Biome.js rules
jerboa88 Jun 15, 2024
f4feab8
Fix linting errors
jerboa88 Jun 15, 2024
0392603
Exclude card.tsx from useNamingConvention rule
jerboa88 Jun 15, 2024
f3cabd2
Replace default exports with named exports where possible
jerboa88 Jun 16, 2024
9ed41a4
Rename jobs to roles
jerboa88 Jun 16, 2024
a6aaad9
Remove unused custom type declarations
jerboa88 Jun 16, 2024
39f3a67
Fix import names
jerboa88 Jun 16, 2024
fd8970d
Remove default values from className props
jerboa88 Jun 16, 2024
067815a
Remove default value from TextInput className prop
jerboa88 Jun 16, 2024
e1c4199
Merge pull request #124 from jerboa88/122-fix-linter-errors
jerboa88 Jun 16, 2024
6bf0501
Update caniuse-lite
jerboa88 Jun 16, 2024
c5563e2
Decrease brightness of base-content theme color
jerboa88 Jun 16, 2024
138e212
Add tailwind extensions for embossed shadow effect
jerboa88 Jun 16, 2024
90ac02b
Add emboss effect to components
jerboa88 Jun 16, 2024
d9b06de
Merge pull request #125 from jerboa88/97-add-embossed-effect-to-headi…
jerboa88 Jun 16, 2024
7d1cee2
Update Yarn
jerboa88 Jun 16, 2024
5c8b9c7
Remove unused image
jerboa88 Jun 16, 2024
226702a
Reduce number of background particles
jerboa88 Jun 16, 2024
55dd6b1
Update deps
jerboa88 Jun 16, 2024
6a504d0
Replace unnecessary usages of TypeScript `as` with type assignments
jerboa88 Jun 16, 2024
cf10efa
Enable exactOptionalPropertyTypes TSC option
jerboa88 Jun 17, 2024
7854e80
Add neutral-content theme color
jerboa88 Jun 17, 2024
5c6c24d
Add emboss effect to Heading
jerboa88 Jun 17, 2024
d0f43cf
Add deploy workflow
jerboa88 Jun 17, 2024
1b01d2b
Dedupe deps
jerboa88 Jun 17, 2024
f04716c
Merge pull request #126 from jerboa88/42-write-github-deployment-script
jerboa88 Jun 17, 2024
92b71f1
Add GH_TOKEN env variable to deploy workflow
jerboa88 Jun 17, 2024
c0b24b3
Fix whitespace issue in deploy workflow
jerboa88 Jun 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
root = true

[*]
indent_style = tab
indent_size = 2
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
13 changes: 13 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
module.exports = {
globals: {
__PATH_PREFIX__: true,
},
extends: 'react-app',
plugins: [
'react-hooks'
],
rules: {
'react-hooks/rules-of-hooks': 'error', // Checks rules of Hooks
'react-hooks/exhaustive-deps': 'warn', // Checks effect dependencies
}
};
38 changes: 38 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Gatsby Build & Deploy
on:
pull_request:
workflow_dispatch:
push:
branches:
- main

jobs:
deploy:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: yarn

- name: Install dependencies
run: yarn install --immutable

- name: Build with Gatsby
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
run: yarn build

- name: Deploy to gh-pages branch
uses: peaceiris/actions-gh-pages@v4
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
cname: johng.io
139 changes: 129 additions & 10 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,16 +1,135 @@
# NPM
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
.pnpm-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage
*.lcov

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# Snowpack dependency directory (https://snowpack.dev/)
web_modules/

# TypeScript cache
*.tsbuildinfo

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional stylelint cache
.stylelintcache

# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variable files
.env
.env.development.local
.env.test.local
.env.production.local
.env.local

# parcel-bundler cache (https://parceljs.org/)
.cache
.parcel-cache

# Next.js build output
.next
out

# Nuxt.js build / generate output
.nuxt
dist

# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and not Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public

# vuepress build output
.vuepress/dist

# Yarn
# vuepress v2.x temp and cache directory
.temp
.cache

# Docusaurus cache and generated files
.docusaurus

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

# TernJS port file
.tern-port

# Stores VSCode versions used for testing VSCode extensions
.vscode-test

# yarn v2
.yarn/cache
.yarn/unplugged
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions

# Gatsby

# User added
*.code-workspace
public
.env.*
6,668 changes: 3,884 additions & 2,784 deletions .pnp.cjs

Large diffs are not rendered by default.

96 changes: 61 additions & 35 deletions .pnp.loader.mjs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading