-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
2,155 additions
and
2,071 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,23 @@ | ||
[build] | ||
# This is the directory to change to before starting a build. | ||
# Directory to change to before starting a build. | ||
# This is where we will look for package.json/.nvmrc/etc. | ||
# If not set, defaults to the root directory. | ||
base = "/" | ||
# NOTE: This is where we will look for package.json/.nvmrc/etc, not root. | ||
# This is the directory that you are publishing from (relative to root of your repo) | ||
|
||
# Directory that contains the deploy-ready HTML files and assets generated by | ||
# the build. This is relative to the base directory if one has been set, or the | ||
# root directory if a base has not been set. This sample publishes the | ||
# directory located at the absolute path "root/project/build-output" | ||
publish = "public/" | ||
|
||
# This will be your default build command | ||
command = "yarn run build" | ||
# This is where we will look for your lambda functions | ||
functions = "functions/" | ||
|
||
[functions] | ||
# Directory with serverless functions, including background functions, | ||
# to deploy. This is relative to the base directory if one has been set, | ||
# or the root directory if a base hasn’t been set. | ||
directory = "functions/" | ||
|
||
[[plugins]] | ||
package = "netlify-plugin-gatsby-cache" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,24 +9,25 @@ | |
"author": "Zane J. Chua <[email protected]>", | ||
"dependencies": { | ||
"axios": "^0.21.1", | ||
"gatsby": "^3.5.0", | ||
"gatsby-image": "^3.5.0", | ||
"gatsby": "^3.8.1", | ||
"gatsby-image": "^3.8.0", | ||
"gatsby-plugin-google-fonts": "^1.0.1", | ||
"gatsby-plugin-google-gtag": "^3.6.0", | ||
"gatsby-plugin-manifest": "^3.5.0", | ||
"gatsby-plugin-offline": "^4.5.0", | ||
"gatsby-plugin-postcss": "^4.5.0", | ||
"gatsby-plugin-purgecss": "^6.0.1", | ||
"gatsby-plugin-react-helmet": "^4.5.0", | ||
"gatsby-plugin-sharp": "^3.5.0", | ||
"gatsby-remark-images": "^5.2.0", | ||
"gatsby-remark-prismjs": "^5.2.0", | ||
"gatsby-source-filesystem": "^3.5.0", | ||
"gatsby-transformer-remark": "^4.2.0", | ||
"gatsby-transformer-sharp": "^3.5.0", | ||
"gatsby-transformer-yaml": "^3.5.0", | ||
"gatsby-plugin-google-tagmanager": "^3.8.0", | ||
"gatsby-plugin-manifest": "^3.8.0", | ||
"gatsby-plugin-offline": "^4.8.0", | ||
"gatsby-plugin-postcss": "^4.8.0", | ||
"gatsby-plugin-purgecss": "^6.0.2", | ||
"gatsby-plugin-react-helmet": "^4.8.0", | ||
"gatsby-plugin-sharp": "^3.8.0", | ||
"gatsby-remark-images": "^5.5.0", | ||
"gatsby-remark-prismjs": "^5.5.0", | ||
"gatsby-source-filesystem": "^3.8.0", | ||
"gatsby-transformer-remark": "^4.5.0", | ||
"gatsby-transformer-sharp": "^3.8.0", | ||
"gatsby-transformer-yaml": "^3.8.0", | ||
"gh-pages": "^3.1.0", | ||
"prismjs": "^1.23.0", | ||
"postcss": "^8.3.5", | ||
"prismjs": "^1.24.1", | ||
"prop-types": "15.7.2", | ||
"react": "17.0.2", | ||
"react-dom": "17.0.2", | ||
|
@@ -53,21 +54,23 @@ | |
"deploy": "gatsby build && gh-pages -d public" | ||
}, | ||
"devDependencies": { | ||
"@babel/eslint-parser": "^7.14.2", | ||
"@babel/plugin-proposal-decorators": "^7.14.2", | ||
"@babel/core": "^7.14.6", | ||
"@babel/eslint-parser": "^7.14.7", | ||
"@babel/plugin-proposal-decorators": "^7.14.5", | ||
"@tailwindcss/custom-forms": "0.2.1", | ||
"autoprefixer": "10.2.5", | ||
"babel-preset-gatsby": "^1.5.0", | ||
"cssnano": "^5.0.2", | ||
"eslint": "^7.26.0", | ||
"autoprefixer": "10.2.6", | ||
"babel-preset-gatsby": "^1.8.0", | ||
"cssnano": "^5.0.6", | ||
"eslint": "^7.30.0", | ||
"eslint-loader": "^4.0.2", | ||
"eslint-plugin-import": "^2.23.2", | ||
"eslint-plugin-react": "^7.23.2", | ||
"eslint-plugin-import": "^2.23.4", | ||
"eslint-plugin-react": "^7.24.0", | ||
"eslint-webpack-plugin": "^2.5.4", | ||
"gatsby-plugin-eslint": "^3.0.0", | ||
"prettier": "^2.3.0", | ||
"prettier": "^2.3.2", | ||
"standard-version": "^9.3.0", | ||
"tailwindcss": "^2.1.2" | ||
"tailwindcss": "^2.2.4", | ||
"webpack": "^5.42.1" | ||
}, | ||
"resolutionsComments": { | ||
"first": "The sharp resolution is required for M1 Macs as anything below 0.28 doesn't have the sharp binaries for arm64v8" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
import React from "react" | ||
import PropTypes from "prop-types" | ||
|
||
export default function HTML(props) { | ||
return ( | ||
<html {...props.htmlAttributes}> | ||
<head> | ||
<meta charSet="utf-8" /> | ||
<meta httpEquiv="x-ua-compatible" content="ie=edge" /> | ||
<meta | ||
name="viewport" | ||
content="width=device-width, initial-scale=1, shrink-to-fit=no" | ||
/> | ||
{props.headComponents} | ||
</head> | ||
<body {...props.bodyAttributes}> | ||
{props.preBodyComponents} | ||
<div | ||
key={`body`} | ||
id="___gatsby" | ||
dangerouslySetInnerHTML={{ __html: props.body }} | ||
/> | ||
{props.postBodyComponents} | ||
</body> | ||
</html> | ||
) | ||
} | ||
|
||
HTML.propTypes = { | ||
htmlAttributes: PropTypes.object, | ||
headComponents: PropTypes.array, | ||
bodyAttributes: PropTypes.object, | ||
preBodyComponents: PropTypes.array, | ||
body: PropTypes.string, | ||
postBodyComponents: PropTypes.array, | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.