Skip to content

Instantly share code, notes, and snippets.

@riddla
Forked from gustavlrsn/Layout.js
Created May 3, 2017 17:51
Show Gist options
  • Select an option

  • Save riddla/72b902066e42733c6cf948c8f0851d4f to your computer and use it in GitHub Desktop.

Select an option

Save riddla/72b902066e42733c6cf948c8f0851d4f to your computer and use it in GitHub Desktop.

Revisions

  1. @gustavlrsn gustavlrsn created this gist May 1, 2017.
    17 changes: 17 additions & 0 deletions Layout.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,17 @@
    import Head from 'next/head'
    import { Container } from 'reactstrap'

    const Layout = (props) => (
    <div>
    <Head>
    <title>PairHub</title>
    <meta name="viewport" content="initial-scale=1.0, width=device-width" />
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css" />
    </Head>
    <Container>
    {props.children}
    </Container>
    </div>
    )

    export default Layout