From e7e09e77732cb51e6bf2224180ceccb5a52c9db7 Mon Sep 17 00:00:00 2001 From: "gatsby-cloud[bot]" <47222911+gatsby-cloud[bot]@users.noreply.github.com> Date: Tue, 7 Jun 2022 01:05:20 +0000 Subject: [PATCH] Initial Commit --- .gitignore | 69 + .prettierignore | 4 + .prettierrc | 4 + LICENSE | 14 + README.md | 105 + gatsby-browser.js | 7 + gatsby-config.js | 38 + gatsby-node.js | 9 + gatsby-ssr.js | 7 + package-lock.json | 13552 ++++++++++++++++++++++++++++++ package.json | 45 + src/components/header.js | 41 + src/components/index.module.css | 54 + src/components/layout.css | 224 + src/components/layout.js | 56 + src/components/seo.js | 89 + src/images/example.png | Bin 0 -> 3215 bytes src/images/gatsby-icon.png | Bin 0 -> 21212 bytes src/pages/404.js | 14 + src/pages/index.js | 122 + src/pages/page-2.js | 16 + src/pages/using-ssr.js | 54 + src/pages/using-typescript.tsx | 55 + src/templates/using-dsg.js | 25 + 24 files changed, 14604 insertions(+) create mode 100644 .gitignore create mode 100644 .prettierignore create mode 100644 .prettierrc create mode 100644 LICENSE create mode 100644 gatsby-browser.js create mode 100644 gatsby-config.js create mode 100644 gatsby-node.js create mode 100644 gatsby-ssr.js create mode 100644 package-lock.json create mode 100644 package.json create mode 100644 src/components/header.js create mode 100644 src/components/index.module.css create mode 100644 src/components/layout.css create mode 100644 src/components/layout.js create mode 100644 src/components/seo.js create mode 100644 src/images/example.png create mode 100644 src/images/gatsby-icon.png create mode 100644 src/pages/404.js create mode 100644 src/pages/index.js create mode 100644 src/pages/page-2.js create mode 100644 src/pages/using-ssr.js create mode 100644 src/pages/using-typescript.tsx create mode 100644 src/templates/using-dsg.js diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f813275 --- /dev/null +++ b/.gitignore @@ -0,0 +1,69 @@ +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* + +# 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 + +# nyc test coverage +.nyc_output + +# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) +.grunt + +# Bower dependency directory (https://bower.io/) +bower_components + +# node-waf configuration +.lock-wscript + +# Compiled binary addons (http://nodejs.org/api/addons.html) +build/Release + +# Dependency directories +node_modules/ +jspm_packages/ + +# Typescript v1 declaration files +typings/ + +# Optional npm cache directory +.npm + +# Optional eslint cache +.eslintcache + +# Optional REPL history +.node_repl_history + +# Output of 'npm pack' +*.tgz + +# dotenv environment variable files +.env* + +# gatsby files +.cache/ +public + +# Mac files +.DS_Store + +# Yarn +yarn-error.log +.pnp/ +.pnp.js +# Yarn Integrity file +.yarn-integrity diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 0000000..58d06c3 --- /dev/null +++ b/.prettierignore @@ -0,0 +1,4 @@ +.cache +package.json +package-lock.json +public diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 0000000..33d2cfa --- /dev/null +++ b/.prettierrc @@ -0,0 +1,4 @@ +{ + "arrowParens": "avoid", + "semi": false +} diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..7e964c1 --- /dev/null +++ b/LICENSE @@ -0,0 +1,14 @@ +The BSD Zero Clause License (0BSD) + +Copyright (c) 2020 Gatsby Inc. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. diff --git a/README.md b/README.md index e69de29..651ac58 100644 --- a/README.md +++ b/README.md @@ -0,0 +1,105 @@ + +
+
+
+
+
sTNJ5hz|*-`F|svmuP`(>pZ)r88=oDdmAL;d6wHDQaSLt|#G-{P@r%c||ygo*aG
zWq>zIId#pxh4=5QRcjY{Fc{reGcH#d You just hit a route that doesn't exist... the sadness.
+ Example pages:{" "}
+ {samplePageLinks.map((link, i) => (
+ {link.description} Welcome to page 2
+ This page is rendered server side every time the page is requested.
+ Reload it to see a(nother) random photo from{" "}
+
+ To learn more, head over to our{" "}
+
+ documentation about Server Side Rendering
+
+ .
+
+ This means that you can create and write
+ For type checking you'll want to install
+ You're currently on the page
+ To learn more, head over to our{" "}
+
+ documentation about TypeScript
+
+ .
+ This page is not created until requested by a user.
+ To learn more, head over to our{" "}
+
+ documentation about Deferred Static Generation
+
+ .
+ 404: Not Found
+
+ Welcome to Gatsby!
+
+
+ Edit src/pages/index.js
to update this page.
+
+ {links.map(link => (
+
+ {moreLinks.map((link, i) => (
+ Hi from the second page
+
+ This page is rendered server-side
+
+ dog.ceo/api/breed/shiba/images/random
:
+
+
+ Gatsby supports TypeScript by default
+
+ .ts/.tsx
files for
+ your pages, components, and gatsby-*
configuration files (for
+ example gatsby-config.ts
).
+ typescript
via npm
+ and run tsc --init
to create a tsconfig
file.
+ {location.pathname}
which was
+ built on {data.site.buildTime}.
+
+ Hello from a DSG Page
+
+