feat(gatsby): Initial gatsby scaffolding
This commit is contained in:
		
				
					committed by
					
						
						mrugesh mohapatra
					
				
			
			
				
	
			
			
			
						parent
						
							d77397b53f
						
					
				
				
					commit
					bcd98a28c8
				
			
							
								
								
									
										1586
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										1586
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							@@ -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
									
								
							
							
						
						
									
										14
									
								
								src/pages/page-2.js
									
									
									
									
									
										Normal 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
 | 
			
		||||
		Reference in New Issue
	
	Block a user