feat(gatsby): Initial gatsby scaffolding

This commit is contained in:
Bouncey
2018-08-23 16:29:26 +01:00
committed by mrugesh mohapatra
parent d77397b53f
commit bcd98a28c8
3 changed files with 1014 additions and 587 deletions

1586
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -49,7 +49,6 @@ module.exports = function bootUser(app) {
function readSessionUser(req, res, next) {
const queryUser = req.user;
const source =
queryUser &&
Observable.forkJoin(

14
src/pages/page-2.js Normal file
View File

@ -0,0 +1,14 @@
import React from 'react'
import { Link } from 'gatsby'
import Layout from '../components/layout'
const SecondPage = () => (
<Layout>
<h1>Hi from the second page</h1>
<p>Welcome to page 2</p>
<Link to="/">Go back to the homepage</Link>
</Layout>
)
export default SecondPage