Files
freeCodeCamp/packages/learn/src/pages/index.js
Stuart Taylor e856f0538c Inital commit
2018-09-27 20:05:29 +05:30

14 lines
285 B
JavaScript

import React from 'react';
import Link from 'gatsby-link';
const IndexPage = () => (
<div>
<h1>Hi people</h1>
<p>Welcome to your new Gatsby site.</p>
<p>Now go build something great.</p>
<Link to="/page-2/">Go to page 2</Link>
</div>
);
export default IndexPage;