diff --git a/index.html b/index.html
index 5956140..0605a28 100644
--- a/index.html
+++ b/index.html
@@ -3,7 +3,7 @@
- App will go here
+
+
+
+
+
+
+
- )
+ );
}
}
export default App;
+
+
diff --git a/src/components/Header.js b/src/components/Header.js
new file mode 100644
index 0000000..5cf30bd
--- /dev/null
+++ b/src/components/Header.js
@@ -0,0 +1,12 @@
+import React from "react";
+
+
+function Header(props) {
+ return (
+
+
{props.name}
+
+ );
+}
+
+export default Header;
diff --git a/src/components/Location.js b/src/components/Location.js
new file mode 100644
index 0000000..46e8fc0
--- /dev/null
+++ b/src/components/Location.js
@@ -0,0 +1,37 @@
+import React from "react";
+
+function Location({ location }) {
+ //const { location } = props;
+
+ return (
+
+
OUR LOCATIONS
+ {location.map(function(element) {
+ return (
+
+ {element.address} {element.postcode} {element.city}
+
+ );
+ })}
+
+ );
+}
+
+export default Location;
+
+{
+ /*
Street :{props.location.address}
+
Postcode : {props.location.postcode}
+
City : {props.location.city}
*/
+}
+
+{
+ /*
+