diff --git a/src/components/Navigation/Navigation.js b/src/components/Navigation/Navigation.js
index 86ec808..3fd8260 100644
--- a/src/components/Navigation/Navigation.js
+++ b/src/components/Navigation/Navigation.js
@@ -17,6 +17,7 @@ class Navigation extends React.Component {
RSVP
Church
Venue
+ Hotels
);
}
diff --git a/src/routes/accomodation/Accomodation.css b/src/routes/accomodation/Accomodation.css
new file mode 100644
index 0000000..4b5e2d1
--- /dev/null
+++ b/src/routes/accomodation/Accomodation.css
@@ -0,0 +1,58 @@
+@import '../../components/variables.css';
+
+.root {
+ width: 100vw;
+ height: 100vh;
+}
+
+.bgImage {
+ position: fixed;
+ width: 100vw;
+ height: 100vh;
+ background: url('/img/offley_2560.jpg');
+ background-size: cover;
+ background-position-x: 54%;
+ background-color: #c1c1c1;
+ filter: grayscale(1) brightness(0.6);
+ z-index: -1;
+ transition: filter ease-in-out 0.5s;
+}
+
+.container {
+ padding-top: 50px;
+ margin: 0 20px;
+}
+
+.headings {
+ max-width: 640px;
+ margin: 0 auto 40px;
+ text-align: center;
+ color: #fff;
+ text-shadow: 3px 3px 8px var(--colour-nearblack);
+ font-size: 1.3em;
+}
+
+.headings h1 {
+ margin: 0 0 10px;
+}
+
+.content {
+ max-width: 960px;
+ margin: 0 auto;
+ color: #fff;
+ text-shadow: 1px 1px 4px var(--colour-nearblack);
+}
+
+.hotelLink {
+ color: rgba(255, 255, 255, 0.8);
+ transition: color 0.3s ease-in;
+}
+
+.hotelLink:hover,
+.hotelLink:focus {
+ color: rgba(255, 255, 255, 1);
+}
+
+.map {
+ width: 360px;
+}
diff --git a/src/routes/accomodation/Accomodation.js b/src/routes/accomodation/Accomodation.js
new file mode 100644
index 0000000..c48ce33
--- /dev/null
+++ b/src/routes/accomodation/Accomodation.js
@@ -0,0 +1,73 @@
+import React from 'react';
+import withStyles from 'isomorphic-style-loader/lib/withStyles';
+import s from './Accomodation.css';
+import Map from '../../components/Map';
+
+const offley = [
+ {
+ title: 'Offley Place',
+ url: 'http://www.offleyplace.com/',
+ lat: 51.9282,
+ lng: -0.3332,
+ },
+];
+
+const hotels = [
+ {
+ title: 'Hilton Garden Inn',
+ url: 'http://hiltongardeninn3.hilton.com/en/hotels/united-kingdom/hilton-garden-inn-luton-north-LTNNOGI/index.html',
+ lat: 51.9116,
+ lng: -0.3883,
+ },
+ {
+ title: 'Premier Inn',
+ url: 'http://www.premierinn.com/gb/en/hotels/england/hertfordshire/hitchin/hitchin-town-centre.html',
+ lat: 51.9493,
+ lng: -0.2762,
+ },
+ {
+ title: 'Lodge Farm House',
+ url: 'http://lodgefarmbandb.co.uk',
+ lat: 51.9054,
+ lng: -0.3354,
+ },
+ {
+ title: 'Red Lion Inn',
+ url: 'http://www.theredliongreatoffley.co.uk',
+ lat: 51.9266,
+ lng: -0.3348,
+ },
+];
+
+class Accomodation extends React.Component {
+ render() {
+ return (
+
+
+
+
+
Local hotels
+
+
+
The following hotels are near Offley Place
+
+
+
+
+
+
+
+ );
+ }
+}
+
+export default withStyles(s)(Accomodation);
diff --git a/src/routes/accomodation/index.js b/src/routes/accomodation/index.js
new file mode 100644
index 0000000..f0b58f6
--- /dev/null
+++ b/src/routes/accomodation/index.js
@@ -0,0 +1,15 @@
+import React from 'react';
+import Accomodation from './Accomodation';
+import Layout from '../../components/Layout';
+
+export default {
+
+ path: '/accomodation',
+
+ action() {
+ return {
+ title: 'Accomodation',
+ component: ,
+ };
+ },
+};
diff --git a/src/routes/ceremony/Ceremony.css b/src/routes/ceremony/Ceremony.css
index c1f2b04..d5ede26 100644
--- a/src/routes/ceremony/Ceremony.css
+++ b/src/routes/ceremony/Ceremony.css
@@ -18,10 +18,6 @@
transition: filter ease-in-out 0.5s;
}
-.bgImageFocus {
- filter: grayscale(0.4) brightness(1);
-}
-
.container {
padding-top: 50px;
margin: 0 20px;
diff --git a/src/routes/ceremony/Ceremony.js b/src/routes/ceremony/Ceremony.js
index 5400137..750fbb6 100644
--- a/src/routes/ceremony/Ceremony.js
+++ b/src/routes/ceremony/Ceremony.js
@@ -12,23 +12,11 @@ const markers = [
];
class Ceremony extends React.Component {
- constructor(props) {
- super(props);
- this.state = {};
- }
-
- focusBgImage = (focus) => {
- this.setState({ focusBgImage: focus });
- }
-
render() {
return (
diff --git a/src/routes/index.js b/src/routes/index.js
index 17697c7..20eaf70 100644
--- a/src/routes/index.js
+++ b/src/routes/index.js
@@ -11,6 +11,7 @@ export default {
require('./rsvp').default,
require('./ceremony').default,
require('./reception').default,
+ require('./accomodation').default,
require('./login').default,
require('./admin').default,
require('./adminPeople').default,
diff --git a/src/routes/reception/Reception.css b/src/routes/reception/Reception.css
index e3740f0..a1feb6e 100644
--- a/src/routes/reception/Reception.css
+++ b/src/routes/reception/Reception.css
@@ -18,10 +18,6 @@
transition: filter ease-in-out 0.5s;
}
-.bgImageFocus {
- filter: grayscale(0.4) brightness(1);
-}
-
.container {
padding-top: 50px;
margin: 0 20px;
diff --git a/src/routes/reception/Reception.js b/src/routes/reception/Reception.js
index 9bc5e4b..05c7338 100644
--- a/src/routes/reception/Reception.js
+++ b/src/routes/reception/Reception.js
@@ -3,32 +3,21 @@ import withStyles from 'isomorphic-style-loader/lib/withStyles';
import s from './Reception.css';
import Map from '../../components/Map';
-const markers = [
+const offley = [
{
title: 'Offley Place',
+ url: 'http://www.offleyplace.com/',
lat: 51.9282,
lng: -0.3332,
},
];
class Reception extends React.Component {
- constructor(props) {
- super(props);
- this.state = {};
- }
-
- focusBgImage = (focus) => {
- this.setState({ focusBgImage: focus });
- }
-
render() {
return (
@@ -47,9 +36,9 @@ class Reception extends React.Component {