This repository has been archived by the owner. It is now read-only.
Permalink
davezuko
refactor(build): upgrade to webpack 2
c58c0c3
May 18, 2017
Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign up
Find file
Copy path
react-redux-starter-kit/src/layouts/PageLayout/PageLayout.js
Find file
Copy path
| import React from 'react' | |
| import { IndexLink, Link } from 'react-router' | |
| import PropTypes from 'prop-types' | |
| import './PageLayout.scss' | |
| export const PageLayout = ({ children }) => ( | |
| <div className='container text-center'> | |
| <h1>React Redux Starter Kit</h1> | |
| <IndexLink to='/' activeClassName='page-layout__nav-item--active'>Home</IndexLink> | |
| {' · '} | |
| <Link to='/counter' activeClassName='page-layout__nav-item--active'>Counter</Link> | |
| <div className='page-layout__viewport'> | |
| {children} | |
| </div> | |
| </div> | |
| ) | |
| PageLayout.propTypes = { | |
| children: PropTypes.node, | |
| } | |
| export default PageLayout |