Add Ceremony page with google map

Add nav bar to public pages
This commit is contained in:
2017-03-01 23:28:26 +00:00
parent 92899edbe5
commit 6a7b57dbe4
17 changed files with 273 additions and 5 deletions

View File

@@ -0,0 +1,24 @@
import React, { PropTypes } from 'react';
import withStyles from 'isomorphic-style-loader/lib/withStyles';
import s from './Navigation.css';
import Link from '../Link';
class Navigation extends React.Component {
static propTypes = {
current: PropTypes.string,
};
render() {
if (!this.props.current) {
return null;
}
return (
<div className={s.root} role="navigation">
<Link className={[s.link, this.props.current === 'home' ? s.active : null].join(' ')} to="/">RSVP</Link>
<Link className={[s.link, this.props.current === 'ceremony' ? s.active : null].join(' ')} to="/ceremony">Church</Link>
</div>
);
}
}
export default withStyles(s)(Navigation);