forked from jlengstorf/gatsby-theme-jam-example
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Reuben Ellis
committed
Aug 16, 2019
1 parent
5b0fcef
commit ad0101d
Showing
30 changed files
with
1,191 additions
and
372 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
[ | ||
{ "route": "home", "label": "Home", "loadOrder": 1 }, | ||
{ "route": "about", "label": "About", "loadOrder": 2 } | ||
{ "route": "/", "label": "Home", "loadOrder": 1 }, | ||
{ "route": "/app/about", "label": "About", "loadOrder": 2 } | ||
] |
This file was deleted.
Oops, something went wrong.
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,42 @@ | ||
--- | ||
slug: app/sdi | ||
title: SDI (Spudnik Digital Implements) | ||
description: MDX Example Description ... | ||
date: 2019-08-14 | ||
categories: ["react", "node"] | ||
banner: "./images/logo.png" | ||
published: true | ||
--- | ||
|
||
Hello, world! This is a demo post for `gatsby-theme-blog`. | ||
|
||
Delete me, and get writing! | ||
|
||
```js:title=gatsby-config.js | ||
module.exports = { | ||
__experimentalThemes: [ | ||
"gatsby-theme-blog", // highlight-line | ||
"gatsby-theme-notes", | ||
], | ||
} | ||
``` | ||
|
||
This is another paragraph after the code block. | ||
|
||
Showcasing how MDX for Gatsby.js works ... The Counter component is imported explicitly, but since we are using MDXProvider, we can also define global components which don't need to be imported (e.g. Link, YouTube). | ||
|
||
## A React component in Markdown (imported component): | ||
|
||
## Code Snippet | ||
|
||
## This is a secondary heading | ||
|
||
```jsx | ||
import React from "react" | ||
import { ThemeProvider } from "theme-ui" | ||
import theme from "./theme" | ||
|
||
export default props => ( | ||
<ThemeProvider theme={theme}>{props.children}</ThemeProvider> | ||
) | ||
``` |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,42 @@ | ||
--- | ||
slug: app/fir | ||
title: FIR (Field Issue Request) | ||
description: MDX Example Description ... | ||
date: 2019-08-15 | ||
categories: ["react", "node"] | ||
banner: "./images/logo.png" | ||
published: true | ||
--- | ||
|
||
Hello, world! This is a demo post for `gatsby-theme-blog`. | ||
|
||
Delete me, and get writing! | ||
|
||
```js:title=gatsby-config.js | ||
module.exports = { | ||
__experimentalThemes: [ | ||
"gatsby-theme-blog", // highlight-line | ||
"gatsby-theme-notes", | ||
], | ||
} | ||
``` | ||
|
||
This is another paragraph after the code block. | ||
|
||
Showcasing how MDX for Gatsby.js works ... The Counter component is imported explicitly, but since we are using MDXProvider, we can also define global components which don't need to be imported (e.g. Link, YouTube). | ||
|
||
## A React component in Markdown (imported component): | ||
|
||
## Code Snippet | ||
|
||
## This is a secondary heading | ||
|
||
```jsx | ||
import React from "react" | ||
import { ThemeProvider } from "theme-ui" | ||
import theme from "./theme" | ||
|
||
export default props => ( | ||
<ThemeProvider theme={theme}>{props.children}</ThemeProvider> | ||
) | ||
``` |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,5 +1,5 @@ | ||
const fs = require("fs") | ||
fs.writeFileSync( | ||
"./.env", | ||
`AUTH0_DOMAIN=${process.env.GATSBY_AUTH0_DOMAIN}\n AUTH0_CLIENT_ID=${process.env.GATSBY_AUTH0_CLIENT_ID}\n AUTH0_CALLBACK_URL=${process.env.GATSBY_AUTH0_CALLBACK_URL}\n AUTH0_CALLBACK_URL=${process.env.GATSBY_AUTH0_REDIRECT_URL}`, | ||
`GATSBY_AUTH0_DOMAIN=${process.env.GATSBY_AUTH0_DOMAIN}\n GATSBY_AUTH0_CLIENT_ID=${process.env.GATSBY_AUTH0_CLIENT_ID}\n GATSBY_AUTH0_CALLBACK_URL=${process.env.GATSBY_AUTH0_CALLBACK_URL}\n GATSBY_AUTH0_REDIRECT_URL=${process.env.GATSBY_AUTH0_REDIRECT_URL}`, | ||
) |
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
Oops, something went wrong.