diff options
Diffstat (limited to '@linaria/examples/gatsby/plugin/src/pages/page-2.js')
-rw-r--r-- | @linaria/examples/gatsby/plugin/src/pages/page-2.js | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/@linaria/examples/gatsby/plugin/src/pages/page-2.js b/@linaria/examples/gatsby/plugin/src/pages/page-2.js new file mode 100644 index 0000000..666c23e --- /dev/null +++ b/@linaria/examples/gatsby/plugin/src/pages/page-2.js @@ -0,0 +1,16 @@ +import React from "react" +import { Link } from "gatsby" + +import Layout from "../components/layout" +import SEO from "../components/seo" + +const SecondPage = () => ( + <Layout> + <SEO title="Page two" /> + <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 |