Skip to content

Commit 01c46ca

Browse files
committed
initial commit
0 parents  commit 01c46ca

File tree

18 files changed

+9022
-0
lines changed

18 files changed

+9022
-0
lines changed

.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Project dependencies
2+
.cache
3+
/node_modules
4+
yarn-error.log
5+
6+
# Build directory
7+
/public
8+
.DS_Store

.prettierrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"semi": false,
3+
"singleQuote": true,
4+
"trailingComma": "es5"
5+
}

LICENSE

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2015 gatsbyjs
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.
22+

README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# gatsby-starter-default
2+
The default Gatsby starter.
3+
4+
For an overview of the project structure please refer to the [Gatsby documentation - Building with Components](https://www.gatsbyjs.org/docs/building-with-components/).
5+
6+
## Install
7+
8+
Make sure that you have the Gatsby CLI program installed:
9+
```sh
10+
npm install --global gatsby-cli
11+
```
12+
13+
And run from your CLI:
14+
```sh
15+
gatsby new gatsby-example-site
16+
```
17+
18+
Then you can run it by:
19+
```sh
20+
cd gatsby-example-site
21+
npm run develop
22+
```
23+
24+
## Deploy
25+
26+
[![Deploy to Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/gatsbyjs/gatsby-starter-default)

gatsby-browser.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/**
2+
* Implement Gatsby's Browser APIs in this file.
3+
*
4+
* See: https://www.gatsbyjs.org/docs/browser-apis/
5+
*/
6+
7+
// You can delete this file if you're not using it

gatsby-config.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
module.exports = {
2+
siteMetadata: {
3+
title: 'Know Your User',
4+
},
5+
plugins: ['gatsby-plugin-react-helmet', 'gatsby-plugin-sass'],
6+
}

gatsby-node.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/**
2+
* Implement Gatsby's Node APIs in this file.
3+
*
4+
* See: https://www.gatsbyjs.org/docs/node-apis/
5+
*/
6+
7+
// You can delete this file if you're not using it

gatsby-ssr.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/**
2+
* Implement Gatsby's SSR (Server Side Rendering) APIs in this file.
3+
*
4+
* See: https://www.gatsbyjs.org/docs/ssr-apis/
5+
*/
6+
7+
// You can delete this file if you're not using it

package.json

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"name": "know-your-user",
3+
"description": "Know your User landing page",
4+
"version": "1.0.0",
5+
"author": "Dave Connis",
6+
"dependencies": {
7+
"bootstrap": "^4.1.1",
8+
"gatsby": "^1.9.247",
9+
"gatsby-link": "^1.6.40",
10+
"gatsby-plugin-react-helmet": "^2.0.10",
11+
"gatsby-plugin-sass": "^1.0.26",
12+
"react": "^16.3.2",
13+
"react-addons-transition-group": "^15.6.2",
14+
"react-bootstrap": "^0.32.1",
15+
"react-dom": "^16.3.2",
16+
"react-helmet": "^5.2.0",
17+
"reactstrap": "^6.0.1"
18+
},
19+
"keywords": [
20+
"gatsby"
21+
],
22+
"license": "MIT",
23+
"scripts": {
24+
"build": "gatsby build",
25+
"develop": "gatsby develop",
26+
"format": "prettier --write 'src/**/*.js'",
27+
"test": "echo \"Error: no test specified\" && exit 1"
28+
},
29+
"devDependencies": {
30+
"prettier": "^1.12.0"
31+
}
32+
}

src/components/header.js

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
import React from 'react'
2+
import Link from 'gatsby-link'
3+
4+
const Header = ({ siteTitle }) => (
5+
<div
6+
style={{
7+
background: 'rebeccapurple',
8+
marginBottom: '1.45rem',
9+
}}
10+
>
11+
<div
12+
style={{
13+
margin: '0 auto',
14+
maxWidth: 960,
15+
padding: '1.45rem 1.0875rem',
16+
}}
17+
>
18+
<h1 style={{ margin: 0 }}>
19+
<Link
20+
to="/"
21+
style={{
22+
color: 'white',
23+
textDecoration: 'none',
24+
}}
25+
>
26+
{siteTitle}
27+
</Link>
28+
</h1>
29+
</div>
30+
</div>
31+
)
32+
33+
export default Header

0 commit comments

Comments
 (0)