-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update functionality. * add example project. * handle empty facebook and twitter fields. * testing overrides. * fix twitter bug. update docs. * fix twitter bug. update docs. * lint and format.
- Loading branch information
1 parent
81d7b4c
commit 91887c7
Showing
19 changed files
with
17,683 additions
and
13,901 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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# editor | ||
.vscode | ||
|
||
# dependencies | ||
.cache | ||
node_modules | ||
|
||
# build | ||
public | ||
|
||
# host | ||
.netlify | ||
|
||
# secrets | ||
.env* |
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,6 @@ | ||
module.exports = { | ||
siteMetadata: { | ||
title: "Gatsby Default Starter", | ||
}, | ||
plugins: ["gatsby-plugin-react-helmet"], | ||
} |
Large diffs are not rendered by default.
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,38 @@ | ||
{ | ||
"name": "gatsby-starter-default", | ||
"private": true, | ||
"description": "A simple starter to get up and developing quickly with Gatsby", | ||
"version": "0.1.0", | ||
"author": "Kyle Mathews <[email protected]>", | ||
"dependencies": { | ||
"gatsby": "^3.11.0", | ||
"gatsby-plugin-react-helmet": "^4.11.0", | ||
"gatsby-source-filesystem": "^3.11.0", | ||
"gatsby-transformer-sharp": "^3.11.0", | ||
"prop-types": "^15.7.2", | ||
"react": "^17.0.1", | ||
"react-dom": "^17.0.1", | ||
"react-helmet": "^6.1.0" | ||
}, | ||
"devDependencies": { | ||
"prettier": "2.3.2" | ||
}, | ||
"keywords": [ | ||
"gatsby" | ||
], | ||
"license": "0BSD", | ||
"scripts": { | ||
"build": "gatsby build", | ||
"develop": "gatsby develop", | ||
"start": "npm run develop", | ||
"serve": "gatsby serve", | ||
"clean": "gatsby clean" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/gatsbyjs/gatsby-starter-default" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/gatsbyjs/gatsby/issues" | ||
} | ||
} |
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 @@ | ||
import {Link} from "gatsby" | ||
import PropTypes from "prop-types" | ||
import * as React from "react" | ||
|
||
const Header = ({siteTitle}) => ( | ||
<header | ||
style={{ | ||
background: "rebeccapurple", | ||
marginBottom: "1.45rem", | ||
}} | ||
> | ||
<div | ||
style={{ | ||
margin: "0 auto", | ||
maxWidth: 960, | ||
padding: "1.45rem 1.0875rem", | ||
}} | ||
> | ||
<h1 style={{margin: 0}}> | ||
<Link | ||
to="/" | ||
style={{ | ||
color: "white", | ||
textDecoration: "none", | ||
}} | ||
> | ||
{siteTitle} | ||
</Link> | ||
</h1> | ||
</div> | ||
</header> | ||
) | ||
|
||
Header.propTypes = { | ||
siteTitle: PropTypes.string, | ||
} | ||
|
||
Header.defaultProps = { | ||
siteTitle: "", | ||
} | ||
|
||
export default Header |
Oops, something went wrong.