Hide RSVP button on blur

darken bg images
update copy
change URLs for routes
This commit is contained in:
2017-03-03 22:18:33 +00:00
parent 179d0de047
commit b6f0822826
13 changed files with 23 additions and 22 deletions

View File

@@ -16,9 +16,9 @@ class Navigation extends React.Component {
<div className={s.root} role="navigation">
<div className={s.container}>
<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>
<Link className={[s.link, this.props.current === 'reception' ? s.active : null].join(' ')} to="/reception">Venue</Link>
<Link className={[s.link, this.props.current === 'accomodation' ? s.active : null].join(' ')} to="/accomodation">Hotels</Link>
<Link className={[s.link, this.props.current === 'ceremony' ? s.active : null].join(' ')} to="/church">Church</Link>
<Link className={[s.link, this.props.current === 'reception' ? s.active : null].join(' ')} to="/venue">Venue</Link>
<Link className={[s.link, this.props.current === 'accomodation' ? s.active : null].join(' ')} to="/hotels">Hotels</Link>
<Link className={[s.link, this.props.current === 'transport' ? s.active : null].join(' ')} to="/transport">Transport</Link>
</div>
</div>

View File

@@ -32,6 +32,7 @@ class RsvpButton extends React.Component {
if (this.props.focusCallback) {
this.props.focusCallback(false);
}
this.setState({ showRsvpForm: false });
}
handleRsvpChange = () => {