diff --git a/package-lock.json b/package-lock.json
index 1110de5..b7192cb 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1271,11 +1271,6 @@
}
}
},
- "@googlemaps/js-api-loader": {
- "version": "1.6.0",
- "resolved": "https://registry.npmjs.org/@googlemaps/js-api-loader/-/js-api-loader-1.6.0.tgz",
- "integrity": "sha512-amuilneCf7q5A/jDUE3ml83c9NjW/3DzIqiBDFIKZcraD0JSKbetkEQa5s57Z6QY7jxcequXgoL9CKJUY1xZ5A=="
- },
"@hapi/address": {
"version": "2.1.4",
"resolved": "https://registry.npmjs.org/@hapi/address/-/address-2.1.4.tgz",
@@ -1921,156 +1916,6 @@
"resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.9.1.tgz",
"integrity": "sha512-DvJbbn3dUgMxDnJLH+RZQPnXak1h4ZVYQ7CWiFWjQwBFkVajT4rfw2PdpHLTSTwxrYfnoEXkuBiwkDm6tPMQeA=="
},
- "@reach/auto-id": {
- "version": "0.10.5",
- "resolved": "https://registry.npmjs.org/@reach/auto-id/-/auto-id-0.10.5.tgz",
- "integrity": "sha512-we4/bwjFxJ3F+2eaddQ1HltbKvJ7AB8clkN719El7Zugpn/vOjfPMOVUiBqTmPGLUvkYrq4tpuFwLvk2HyOVHg==",
- "requires": {
- "@reach/utils": "0.10.5",
- "tslib": "^2.0.0"
- },
- "dependencies": {
- "tslib": {
- "version": "2.2.0",
- "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.2.0.tgz",
- "integrity": "sha512-gS9GVHRU+RGn5KQM2rllAlR3dU6m7AcpJKdtH8gFvQiC4Otgk98XnmMU+nZenHt/+VhnBPWwgrJsyrdcw6i23w=="
- }
- }
- },
- "@reach/combobox": {
- "version": "0.10.5",
- "resolved": "https://registry.npmjs.org/@reach/combobox/-/combobox-0.10.5.tgz",
- "integrity": "sha512-UrvdELLk+rnxK0o2e+jWmw6b7dteBWAylX4CEHE9KJuBbdwZ1PJY3YIAwJuvWM13Lcll2Pk7OlFJqRT90r2mRg==",
- "requires": {
- "@reach/auto-id": "0.10.5",
- "@reach/descendants": "0.10.5",
- "@reach/popover": "0.10.5",
- "@reach/portal": "0.10.5",
- "@reach/utils": "0.10.5",
- "highlight-words-core": "1.2.2",
- "prop-types": "^15.7.2",
- "tslib": "^2.0.0"
- },
- "dependencies": {
- "tslib": {
- "version": "2.2.0",
- "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.2.0.tgz",
- "integrity": "sha512-gS9GVHRU+RGn5KQM2rllAlR3dU6m7AcpJKdtH8gFvQiC4Otgk98XnmMU+nZenHt/+VhnBPWwgrJsyrdcw6i23w=="
- }
- }
- },
- "@reach/descendants": {
- "version": "0.10.5",
- "resolved": "https://registry.npmjs.org/@reach/descendants/-/descendants-0.10.5.tgz",
- "integrity": "sha512-8HhN4DwS/HsPQ+Ym/Ft/XJ1spXBYdE8hqpnbYR9UcU7Nx3oDbTIdhjA6JXXt23t5avYIx2jRa8YHCtVKSHuiwA==",
- "requires": {
- "@reach/utils": "0.10.5",
- "tslib": "^2.0.0"
- },
- "dependencies": {
- "tslib": {
- "version": "2.2.0",
- "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.2.0.tgz",
- "integrity": "sha512-gS9GVHRU+RGn5KQM2rllAlR3dU6m7AcpJKdtH8gFvQiC4Otgk98XnmMU+nZenHt/+VhnBPWwgrJsyrdcw6i23w=="
- }
- }
- },
- "@reach/observe-rect": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/@reach/observe-rect/-/observe-rect-1.2.0.tgz",
- "integrity": "sha512-Ba7HmkFgfQxZqqaeIWWkNK0rEhpxVQHIoVyW1YDSkGsGIXzcaW4deC8B0pZrNSSyLTdIk7y+5olKt5+g0GmFIQ=="
- },
- "@reach/popover": {
- "version": "0.10.5",
- "resolved": "https://registry.npmjs.org/@reach/popover/-/popover-0.10.5.tgz",
- "integrity": "sha512-S+qWIsjrN1yMpHjgELhjpdGc4Q3q1plJtXBGGQRxUAjmCUA/5OY7t5w5C8iqMNAEBwCvYXKvK/pLcXFxxLykSw==",
- "requires": {
- "@reach/portal": "0.10.5",
- "@reach/rect": "0.10.5",
- "@reach/utils": "0.10.5",
- "tabbable": "^4.0.0",
- "tslib": "^2.0.0"
- },
- "dependencies": {
- "tslib": {
- "version": "2.2.0",
- "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.2.0.tgz",
- "integrity": "sha512-gS9GVHRU+RGn5KQM2rllAlR3dU6m7AcpJKdtH8gFvQiC4Otgk98XnmMU+nZenHt/+VhnBPWwgrJsyrdcw6i23w=="
- }
- }
- },
- "@reach/portal": {
- "version": "0.10.5",
- "resolved": "https://registry.npmjs.org/@reach/portal/-/portal-0.10.5.tgz",
- "integrity": "sha512-K5K8gW99yqDPDCWQjEfSNZAbGOQWSx5AN2lpuR1gDVoz4xyWpTJ0k0LbetYJTDVvLP/InEcR7AU42JaDYDCXQw==",
- "requires": {
- "@reach/utils": "0.10.5",
- "tslib": "^2.0.0"
- },
- "dependencies": {
- "tslib": {
- "version": "2.2.0",
- "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.2.0.tgz",
- "integrity": "sha512-gS9GVHRU+RGn5KQM2rllAlR3dU6m7AcpJKdtH8gFvQiC4Otgk98XnmMU+nZenHt/+VhnBPWwgrJsyrdcw6i23w=="
- }
- }
- },
- "@reach/rect": {
- "version": "0.10.5",
- "resolved": "https://registry.npmjs.org/@reach/rect/-/rect-0.10.5.tgz",
- "integrity": "sha512-JBKs2HniYecq5zLO6UFReX28SUBPM3n0aizdNgHuvwZmDcTfNV4jsuJYQLqJ+FbCQsrSHkBxKZqWpfGXY9bUEg==",
- "requires": {
- "@reach/observe-rect": "1.2.0",
- "@reach/utils": "0.10.5",
- "prop-types": "^15.7.2",
- "tslib": "^2.0.0"
- },
- "dependencies": {
- "tslib": {
- "version": "2.2.0",
- "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.2.0.tgz",
- "integrity": "sha512-gS9GVHRU+RGn5KQM2rllAlR3dU6m7AcpJKdtH8gFvQiC4Otgk98XnmMU+nZenHt/+VhnBPWwgrJsyrdcw6i23w=="
- }
- }
- },
- "@reach/utils": {
- "version": "0.10.5",
- "resolved": "https://registry.npmjs.org/@reach/utils/-/utils-0.10.5.tgz",
- "integrity": "sha512-5E/xxQnUbmpI/LrufBAOXjunl96DnqX6B4zC2MO2KH/dRzLug5gM5VuOwV26egsp0jvsSPxojwciOhS43px3qw==",
- "requires": {
- "@types/warning": "^3.0.0",
- "tslib": "^2.0.0",
- "warning": "^4.0.3"
- },
- "dependencies": {
- "tslib": {
- "version": "2.2.0",
- "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.2.0.tgz",
- "integrity": "sha512-gS9GVHRU+RGn5KQM2rllAlR3dU6m7AcpJKdtH8gFvQiC4Otgk98XnmMU+nZenHt/+VhnBPWwgrJsyrdcw6i23w=="
- }
- }
- },
- "@react-google-maps/api": {
- "version": "1.13.0",
- "resolved": "https://registry.npmjs.org/@react-google-maps/api/-/api-1.13.0.tgz",
- "integrity": "sha512-mKwXziG5MbOvvcWG53FyZVZ8zjAuPNYkcS/+nYX9STMFNrI96AFq5l/zUn2QifRJnPzE8iO4V1vyMM+Ie9LpGg==",
- "requires": {
- "@googlemaps/js-api-loader": "1.6.0",
- "@react-google-maps/infobox": "1.12.1",
- "@react-google-maps/marker-clusterer": "1.12.1",
- "invariant": "2.2.4"
- }
- },
- "@react-google-maps/infobox": {
- "version": "1.12.1",
- "resolved": "https://registry.npmjs.org/@react-google-maps/infobox/-/infobox-1.12.1.tgz",
- "integrity": "sha512-tD/xijqRtKK/LNRzuerzuyvybnRaD8SLgCA064len4/enTo1abhQN215ZYqwbTOn7RgYt9qMgNnwoX//u3xoWw=="
- },
- "@react-google-maps/marker-clusterer": {
- "version": "1.12.1",
- "resolved": "https://registry.npmjs.org/@react-google-maps/marker-clusterer/-/marker-clusterer-1.12.1.tgz",
- "integrity": "sha512-JBSO5VJuouP/boBnSdRDCWq0UKO7jr3HvZVhis3ew+VGJ/BoCPu3lpU0HDsjjulfng+xwqLfVOIzP3QnvBPdCA=="
- },
"@restart/context": {
"version": "2.1.4",
"resolved": "https://registry.npmjs.org/@restart/context/-/context-2.1.4.tgz",
@@ -5263,11 +5108,6 @@
"whatwg-url": "^8.0.0"
}
},
- "date-fns": {
- "version": "2.19.0",
- "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-2.19.0.tgz",
- "integrity": "sha512-X3bf2iTPgCAQp9wvjOQytnf5vO5rESYRXlPIVcgSbtT5OTScPcsf9eZU+B/YIkKAtYr5WeCii58BgATrNitlWg=="
- },
"debug": {
"version": "4.3.1",
"resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz",
@@ -7730,11 +7570,6 @@
"resolved": "https://registry.npmjs.org/hex-color-regex/-/hex-color-regex-1.1.0.tgz",
"integrity": "sha512-l9sfDFsuqtOqKDsQdqrMRk0U85RZc0RtOR9yPI7mRVOa4FsR/BVnZ0shmQRM96Ji99kYZP/7hn1cedc1+ApsTQ=="
},
- "highlight-words-core": {
- "version": "1.2.2",
- "resolved": "https://registry.npmjs.org/highlight-words-core/-/highlight-words-core-1.2.2.tgz",
- "integrity": "sha512-BXUKIkUuh6cmmxzi5OIbUJxrG8OAk2MqoL1DtO3Wo9D2faJg2ph5ntyuQeLqaHJmzER6H5tllCDA9ZnNe9BVGg=="
- },
"history": {
"version": "4.10.1",
"resolved": "https://registry.npmjs.org/history/-/history-4.10.1.tgz",
@@ -15407,11 +15242,6 @@
"resolved": "https://registry.npmjs.org/symbol-tree/-/symbol-tree-3.2.4.tgz",
"integrity": "sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw=="
},
- "tabbable": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/tabbable/-/tabbable-4.0.0.tgz",
- "integrity": "sha512-H1XoH1URcBOa/rZZWxLxHCtOdVUEev+9vo5YdYhC9tCY4wnybX+VQrCYuy9ubkg69fCBxCONJOSLGfw0DWMffQ=="
- },
"table": {
"version": "6.0.7",
"resolved": "https://registry.npmjs.org/table/-/table-6.0.7.tgz",
@@ -16122,11 +15952,6 @@
"resolved": "https://registry.npmjs.org/use/-/use-3.1.1.tgz",
"integrity": "sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ=="
},
- "use-places-autocomplete": {
- "version": "1.9.1",
- "resolved": "https://registry.npmjs.org/use-places-autocomplete/-/use-places-autocomplete-1.9.1.tgz",
- "integrity": "sha512-ZIkCob6qFBT5kP5wvtiDHV2Dw+DjlVSOj8RoM0XRkDB95PPQzICTjWHOhe4ClY0gO2Nq1bFG5K2WfIYYlIYtfg=="
- },
"util": {
"version": "0.11.1",
"resolved": "https://registry.npmjs.org/util/-/util-0.11.1.tgz",
diff --git a/package.json b/package.json
index 0a896a8..2879447 100644
--- a/package.json
+++ b/package.json
@@ -34,13 +34,9 @@
"react-router-dom": "^5.2.0",
"react-scripts": "4.0.3",
"react-select": "^4.3.0",
+ "reactstrap": "^8.9.0",
"spectre.css": "^0.5.9",
"web-vitals": "^1.1.1",
- "@reach/combobox": "^0.10.2",
- "@react-google-maps/api": "^1.9.0",
- "date-fns": "^2.13.0",
- "use-places-autocomplete": "^1.3.5",
- "reactstrap": "^8.9.0",
"yup": "^0.32.9"
},
"scripts": {
diff --git a/src/homePage/Homepage.css b/src/homePage/Homepage.css
new file mode 100644
index 0000000..018d5c6
--- /dev/null
+++ b/src/homePage/Homepage.css
@@ -0,0 +1,126 @@
+.colored-section {
+ background-color: #e7dec8;
+ color: #000000;
+ white-space: nowrap;
+}
+
+
+.white-section {
+ background-color: #ffffff;
+ padding-top: 10rem;
+ padding-bottom: 5rem;
+ padding-left: 18%;
+}
+
+#title .container-fluid {
+ padding: 5% 34% 6%;
+ text-align: left;
+ font-family: "Georgia";
+}
+
+#features .container-fluid {
+ padding: 2% 14% 4%;
+ text-align: left;
+ font-family: "Georgia";
+}
+
+
+.housesIntro{
+ width: 1200px;
+ height: 800px;
+}
+
+.contactIntro{
+ padding-left: 30%;
+ padding-right: 30%;
+ padding-bottom: 80px;
+}
+
+.headerImg{
+ width: 1200px;
+ height: 800px;
+}
+
+.button-1 {
+ background-color: rgb(0, 0, 0);
+ border-color: transparent;
+ color: #ffffff;
+ font-size: 20px;
+}
+
+.button-1:hover {
+ background-color: rgb(92, 92, 92);
+ color: #ffffff;
+ border-color: transparent;
+}
+
+.buttonhelper {
+ padding-left: 45%;
+ padding-top: 15px;
+}
+
+.buttonka{
+ padding-top: 2px;
+}
+
+.prev-icon,
+.next-icon {
+ height: 210px;
+ width: 100px;
+ outline: black;
+ background-size: 100%, 100%;
+ border-radius: 50%;
+ background-image: none;
+ text-shadow: 2px 2px 5px black;
+}
+
+.next-icon:after
+{
+ content: '>';
+ font-size: 140px;
+ color: rgb(255, 255, 255);
+ text-shadow: 2px 2px 5px black;
+}
+
+.prev-icon:after {
+ content: '<';
+ font-size: 140px;
+ color: rgb(255, 255, 255);
+ text-shadow: 2px 2px 5px black;
+}
+
+ol.carousel-indicators {
+ position: absolute;
+ bottom: 5px;
+ margin: 0;
+ left: 0;
+ right: 0;
+ width: auto;
+ }
+
+ ol.carousel-indicators li,
+ ol.carousel-indicators li.active {
+ width: 1rem;
+ height: 1rem;
+ margin: 0;
+ border-radius: 50%;
+ border: 0;
+ background: transparent;
+ box-shadow: 0 0 1px 1px black;
+ }
+
+ ol.carousel-indicators li {
+ background: rgb(255, 255, 255);
+ margin-left: .5rem;
+ margin-right: .5rem;
+ box-shadow: 0 0 1px 1px black;
+ }
+
+ ol.carousel-indicators li.active {
+ background: #17a2b8;
+ box-shadow: 0 0 1px 1px black;
+ }
+
+.homePage{
+ padding-bottom: 15%;
+}
\ No newline at end of file
diff --git a/src/homePage/Homepage.js b/src/homePage/Homepage.js
new file mode 100644
index 0000000..dc2ce32
--- /dev/null
+++ b/src/homePage/Homepage.js
@@ -0,0 +1,103 @@
+import { Component } from "react";
+import "./Homepage.css";
+import house1 from "../images/house1.jpg";
+import house2 from "../images/house2.jpg";
+import house3 from "../images/house3.jpg";
+import house4 from "../images/house4.jpg";
+import Carousel from "react-bootstrap/Carousel";
+import Button from "react-bootstrap/Button";
+import { withTranslation } from "react-i18next";
+
+
+
+class Homepage extends Component {
+ constructor(props) {
+ super(props);
+ this.state = {
+ nextIcon: ,
+ prevIcon: ,
+ };
+ }
+
+ render() {
+ const { t } = this.props;
+ const { nextIcon, prevIcon } = this.state;
+ return (
+
+
+
+
+
+
{t("Slogan_1")}
+ {t("Slogan_2")}
+
+
+
+
+
+
+
+
+
+
+ 100 Charlie Rogers, Kanata, ON K2V 1A7
+ {t("Rooms")}
+
+
+
+
+
+
+
+
+ 1490 Youville Drive, Orléans, ON K1C 2X8
+ {t("Rooms")}
+
+
+
+
+
+
+
+
+ 8720 Russell Road, Navan, ON K4B 1J1
+ {t("Rooms")}
+
+
+
+
+
+
+
+
+ 2785 8th Line Road, Metcalfe, ON K0A 2P0
+ {t("Rooms")}
+
+
+
+
+
+
+
+
+
+
+
{t("Desc")}
+
{t("Home1")}
+ {t("Home2")}
+ {t("Home3")}
+ {t("Home4")}
+ {t("Home5")}
+ {t("Home6")}
+
+
+
+
+
+
+
+ );
+ }
+}
+
+export default withTranslation()(Homepage);
diff --git a/src/images/bg1.jpg b/src/images/bg1.jpg
deleted file mode 100644
index 9caa986..0000000
Binary files a/src/images/bg1.jpg and /dev/null differ
diff --git a/src/images/fbg1.png b/src/images/fbg1.png
deleted file mode 100644
index 1e09172..0000000
Binary files a/src/images/fbg1.png and /dev/null differ
diff --git a/src/images/fbg2.png b/src/images/fbg2.png
deleted file mode 100644
index fe37465..0000000
Binary files a/src/images/fbg2.png and /dev/null differ
diff --git a/src/images/fbg3.png b/src/images/fbg3.png
deleted file mode 100644
index 8b8019e..0000000
Binary files a/src/images/fbg3.png and /dev/null differ
diff --git a/src/listings-page/ListingsPage.css b/src/listings-page/ListingsPage.css
index 706b707..80ebdc9 100644
--- a/src/listings-page/ListingsPage.css
+++ b/src/listings-page/ListingsPage.css
@@ -1,9 +1,3 @@
-body{
- /*background-image: url("../images/bg1.jpg");
- background-position: 0px 60px;
- */
-}
-
.booking_button{
text-align: right;
}
@@ -12,33 +6,4 @@ body{
font-size: 40px;
font-weight:bolder;
padding-right: 5%;
-}
-
-.search{
- display:inline-block;
- margin:3% 0%;
-}
-
-.compass{
- height:25px;
- width:25px;
-}
-.buttonImg{
- background-color: transparent;
- border: none !important;
-
-}
-
-.main_borders{
- padding:0% 10% 4% 10%;
-
-}
-
-.map_style{
- text-align: center;
-}
-
-.filters{
- margin: 2% 0%
-}
-
+};
\ No newline at end of file
diff --git a/src/listings-page/ListingsPage.js b/src/listings-page/ListingsPage.js
index c9bbe8c..4d17a58 100644
--- a/src/listings-page/ListingsPage.js
+++ b/src/listings-page/ListingsPage.js
@@ -2,354 +2,198 @@
import React, { useState, useEffect, Component } from "react";
import {
GoogleMap,
- useLoadScript,
+ withScriptjs,
+ withGoogleMap,
Marker,
- InfoWindow,
-} from "@react-google-maps/api";
-import usePlacesAutocomplete, {
- getGeocode,
- getLatLng,
-} from "use-places-autocomplete";
-import {
- Combobox,
- ComboboxInput,
- ComboboxPopover,
- ComboboxList,
- ComboboxOption,
-} from "@reach/combobox";
-import { formatRelative } from "date-fns";
-import Select from "react-select";
-
-import "@reach/combobox/styles.css";
-import mapStyles from "./mapStyles";
+ InfoWindow
+} from "react-google-maps";
import * as listingData from "./data/property-data.json";
+import mapStyles from "./mapStyles";
import "./ListingsPage.css";
-import compassImg from "./compass.svg";
+function Map() {
-const libraries = ["places"];
+ const [selectedProperty, setSelectedProperty] = useState(null);
-const mapContainerStyle = {
- height: "700px",
- width: "100vm",
-};
-const options = {
- styles: mapStyles,
- disableDefaultUI: true,
- zoomControl: true,
-};
-const center = {
- lat: 45.4231,
- lng: -75.6931,
-};
-
-export default function ListingsPage() {
- const price_filter = [
- {
- value: null,
- label: "Any",
- },
- {
- value: 100000,
- label: "$100000",
- },
- {
- value: 200000,
- label: "$200000",
- },
- {
- value: 300000,
- label: "$300000",
- },
- {
- value: 400000,
- label: "$400000",
- }
- ];
-
- const bed_filter = [
- {
- value: null,
- label: "Any",
- },
- {
- value: 1,
- label: "One Bed",
- },
- {
- value: 2,
- label: "Two Beds",
- },
- {
- value: 3,
- label: "Three Beds",
- }
-
- ];
-
- const bath_filter = [
- {
- value: null,
- label: "Any",
- },
- {
- value: 1,
- label: "One Bath",
- },
- {
- value: 2,
- label: "Two Baths",
- },
- {
- value: 3,
- label: "Three Baths",
- }
- ];
-
- //console.log(data1[0]);
-
- const { isLoaded, loadError } = useLoadScript({
- googleMapsApiKey: `https://maps.googleapis.com/maps/api/js?v=3.exp&libraries=geometry,drawing,places&key=
- AIzaSyC5TiZoTEwEcB_HUZRhe_rXrcSWW1Z5x8I`,
- libraries,
- });
-
- const [selectedBudget, setSelectedBudget] = useState(null);
- const [selectedBeds, setSelectedBeds] = useState(null);
- const [selectedBaths, setSelectedBaths] = useState(null);
-
- const [markers, setMarkers] = React.useState([]);
- const [selected, setSelected] = React.useState(null);
-
- const [budget, setBudget] = useState(null);
- const [bed, setBed] = useState(null);
- const [bath, setBath] = useState(null);
-
- const mapRef = React.useRef();
- const onMapLoad = React.useCallback((map) => {
- mapRef.current = map;
- //console.log(current);
- }, []);
-
- const panTo = React.useCallback(({ lat, lng }) => {
- mapRef.current.panTo({ lat, lng });
- mapRef.current.setZoom(10);
- }, []);
-
- if (loadError) return "Error";
- if (!isLoaded) return "Loading...";
-
- // handle onChange event of the dropdown
- const handleBudgetChange = (e) => {
- setSelectedBudget(e);
- setBudget(e.value);
-
- //https://stackoverflow.com/questions/54150783/react-hooks-usestate-with-object
- //https://stackoverflow.com/questions/57341541/removing-object-from-array-using-hooks-usestate/57341724
- };
- const handleBedChange = (e) => {
- setSelectedBeds(e);
- setBed(e.value);
- };
- const handleBathChange = (e) => {
- setSelectedBaths(e);
- setBath(e.value);
- };
return (
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {listingData.Properties.map((house) =>
- (budget >= house.PRICE || !budget) &&
- (bed == house.BEDS || !bed) &&
- (bath == house.BATHS || !bath) ? (
- {
- setSelected(house);
- }}
- icon={{
- url: "homes-3.svg",
- scaledSize: new window.google.maps.Size(50, 50),
- }}
- visible={true}
- />
- ) : (
- {
- setSelected(house);
- }}
- icon={{
- url: "homes-3.svg",
- scaledSize: new window.google.maps.Size(50, 50),
- }}
- visible={false}
- />
- )
- )}
-
- {selected ? (
- {
- setSelected(null);
- }}
- >
-
-
{selected.ADDRESS}
-
{selected.DESC}
-
-
-
- {" "}
-
- {" "}
-
-
-
-
-
-
-
-
-
-
- ) : null}
-
-
-
- );
-}
-
-function Locate({ panTo }) {
- return (
-
- );
-}
-function Search({ panTo }) {
- const {
- ready,
- value,
- suggestions: { status, data },
- setValue,
- clearSuggestions,
- } = usePlacesAutocomplete({
- requestOptions: {
- location: { lat: () => 43.6532, lng: () => -79.3832 },
- radius: 100 * 1000,
- },
- });
+ {listingData.Properties.map(house => (
- // https://developers.google.com/maps/documentation/javascript/reference/places-autocomplete-service#AutocompletionRequest
+ {
- setValue(e.target.value);
- };
+ }}
+
+ onClick={() => {
+ setSelectedProperty(house)
+ }}
+
+ icon={{
+ url: "homes-3.svg",
+ scaledSize: new window.google.maps.Size(50, 50)
+ }}
- const handleSelect = async (address) => {
- setValue(address, false);
- clearSuggestions();
- try {
- const results = await getGeocode({ address });
- const { lat, lng } = await getLatLng(results[0]);
- panTo({ lat, lng });
- } catch (error) {
- console.log("😱 Error: ", error);
- }
- };
- return (
-
-
-
-
-
- {status === "OK" &&
- data.map(({ id, description }) => (
-
- ))}
-
-
-
-
+
+
+
+ ))}
+
+
+ {selectedProperty && (
+
+ {
+ setSelectedProperty(null);
+ }}
+ >
+
+
{selectedProperty.ADDRESS}
+
{selectedProperty.DESC}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ )}
+
+
+
+
+
+
+
+
);
+
}
+
+const MapWrapped = withScriptjs(withGoogleMap(Map))
+
+
+class ListingsPage extends Component {
+ render() {
+ return (
+
+
+
+
+
+
+ {/*
+
+
+
+
+ */}
+
+
+
+
+
+
+
+
+
}
+ containerElement={
}
+ mapElement={
}
+ />
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ );
+ }
+}
+
+export default ListingsPage;
diff --git a/src/listings-page/compass.svg b/src/listings-page/compass.svg
deleted file mode 100644
index e63f36e..0000000
--- a/src/listings-page/compass.svg
+++ /dev/null
@@ -1,78 +0,0 @@
-
-
-
diff --git a/src/listings-page/data/property-data.json b/src/listings-page/data/property-data.json
index 40b2281..7e695db 100644
--- a/src/listings-page/data/property-data.json
+++ b/src/listings-page/data/property-data.json
@@ -5,9 +5,7 @@
{
"LISTING_ID": 1,
"ADDRESS": "8720 Russell Road",
- "PRICE": 400000,
- "BEDS":3,
- "BATHS":3,
+ "PRICE": "$500000",
"IMAGES":[
],
@@ -28,9 +26,7 @@
"LISTING_ID": 2,
"ADDRESS": "1490 Youville Drive",
- "PRICE": 100000,
- "BEDS":1,
- "BATHS":1,
+ "PRICE": "$500000",
"IMAGES":[
],
@@ -53,9 +49,7 @@
"LISTING_ID": 3,
"ADDRESS": "100 Charlie Rogers Place",
- "PRICE": 200000,
- "BEDS":2,
- "BATHS":3,
+ "PRICE": "$500000",
"IMAGES":[
],
@@ -78,9 +72,7 @@
"LISTING_ID": 4,
"ADDRESS": "2785 8th Line Road",
- "PRICE": 300000,
- "BEDS":3,
- "BATHS":3,
+ "PRICE": "$500000",
"IMAGES":[
],
diff --git a/src/listings-page/data/testing_stuff.json b/src/listings-page/data/testing_stuff.json
new file mode 100644
index 0000000..c38853d
--- /dev/null
+++ b/src/listings-page/data/testing_stuff.json
@@ -0,0 +1,789 @@
+{
+ "type": "FeatureCollection",
+ "crs": {
+ "type": "name",
+ "properties": {"name": "urn: ogc: def: crs: OGC: 1.3: CRS84"}
+ },
+ "features": [
+ {
+ "type": "Feature",
+ "properties": {
+ "PARK_ID": 960,
+ "FACILITYID": 28014,
+ "NAME": "Bearbrook Skateboard Park",
+ "NAME_FR": "Bearbrook skate park",
+ "ADDRESS": "8720 Russell Road",
+ "ADDRESS_FR": "8720, chemin Russell",
+ "FACILITY_T": "flat",
+ "FACILITY_1": "flat",
+ "ACCESSCTRL": "no / non",
+ "ACCESSIBLE": "no / non",
+ "OPEN": null,
+ "NOTES": "Outdoor",
+ "MODIFIED_D": "2018/01/18",
+ "CREATED_DA": null,
+ "FACILITY": "Neighborhood: smaller size facility to service population of 10,000 or less",
+ "FACILITY_F": "Neighborhood: small facility providing services to 10,000 residents or less.",
+ "DESCRIPTIO": "Flat asphalt surface, 5 components",
+ "DESCRIPT_1": "Flat asphalt surface, 5 modules",
+ "PICTURE_LI": null,
+ "PICTURE_DE": null,
+ "PICTURE__1": null
+ },
+ "geometry": {
+ "type": "Point",
+ "coordinates": [-75.3372987731628, 45.383321536272049]
+ }
+ },
+ {
+ "type": "Feature",
+ "properties": {
+ "PARK_ID": 1219,
+ "FACILITYID": 28001,
+ "NAME": "Bob MacQuarrie Skateboard Park (SK8 Extreme Park)",
+ "NAME_FR": "Bob-MacQuarrie Skate Park (SK8 Extreme Park)",
+ "ADDRESS": "1490 Youville Drive",
+ "ADDRESS_FR": "1490, promenade Youville",
+ "FACILITY_T": "other",
+ "FACILITY_1": "other",
+ "ACCESSCTRL": "no / non",
+ "ACCESSIBLE": "no / non",
+ "OPEN": null,
+ "NOTES": "Outdoor",
+ "MODIFIED_D": "2018/01/18",
+ "CREATED_DA": null,
+ "FACILITY": "Community: mid size facility to service population of 40,000 plus",
+ "FACILITY_F": "Community: medium-sized facility providing services to 40,000 residents or more.",
+ "DESCRIPTIO": "Flat asphalt surface, 10 components, City run learn to skateboard programs, City run skateboard camps in summer",
+ "DESCRIPT_1": "Flat asphalt surface, 10 modules, programs and summer skateboard camps managed by the City",
+ "PICTURE_LI": null,
+ "PICTURE_DE": null,
+ "PICTURE__1": null
+ },
+ "geometry": {
+ "type": "Point",
+ "coordinates": [-75.546518086577947, 45.467134581917357]
+ }
+ },
+ {
+ "type": "Feature",
+ "properties": {
+ "PARK_ID": 1157,
+ "FACILITYID": 28002,
+ "NAME": "Walter Baker Skateboard Park",
+ "NAME_FR": "Walter-Baker skate park",
+ "ADDRESS": "100 Charlie Rogers Place",
+ "ADDRESS_FR": "100, place Charlie Rogers",
+ "FACILITY_T": "bowl",
+ "FACILITY_1": "bowl",
+ "ACCESSCTRL": "no / non",
+ "ACCESSIBLE": "no / non",
+ "OPEN": null,
+ "NOTES": "Outdoor",
+ "MODIFIED_D": "2018/01/18",
+ "CREATED_DA": null,
+ "FACILITY": "Community: mid size facility to service population of 40,000 plus",
+ "FACILITY_F": "Community: medium-sized facility providing services to 40,000 residents or more.",
+ "DESCRIPTIO": "Concrete bowl, 7,000 sq ft",
+ "DESCRIPT_1": "Concrete bowl, 7,000 sq. Ft.",
+ "PICTURE_LI": null,
+ "PICTURE_DE": null,
+ "PICTURE__1": null
+ },
+ "geometry": {
+ "type": "Point",
+ "coordinates": [-75.898610599532319, 45.295014379864874]
+ }
+ },
+ {
+ "type": "Feature",
+ "properties": {
+ "PARK_ID": 9,
+ "FACILITYID": 28006,
+ "NAME": "Roving Skateboard Park Location",
+ "NAME_FR": "Location of an itinerant skate park",
+ "ADDRESS": "2785 8th Line Road",
+ "ADDRESS_FR": "2785, chemin 8th Line",
+ "FACILITY_T": "other",
+ "FACILITY_1": "other",
+ "ACCESSCTRL": "no / non",
+ "ACCESSIBLE": "no / non",
+ "OPEN": null,
+ "NOTES": "Outdoor - Mobile",
+ "MODIFIED_D": "2018/01/18",
+ "CREATED_DA": null,
+ "FACILITY": "Metcalfe Community Center - Roving Skateboard Park Location",
+ "FACILITY_F": "Metcalfe Community Center - Itinerant skate park site",
+ "DESCRIPTIO": "Flat surface, 5 components",
+ "DESCRIPT_1": "Flat surface, 5 modules",
+ "PICTURE_LI": null,
+ "PICTURE_DE": null,
+ "PICTURE__1": null
+ },
+ "geometry": {
+ "type": "Point",
+ "coordinates": [-75.468561642270757, 45.23032561834377]
+ }
+ },
+ {
+ "type": "Feature",
+ "properties": {
+ "PARK_ID": 1160,
+ "FACILITYID": 28007,
+ "NAME": "Roving Skateboard Park Location",
+ "NAME_FR": "Location of an itinerant skate park",
+ "ADDRESS": "10 Warner Colpitts Lane",
+ "ADDRESS_FR": "10, ruelle Warner Colpitts",
+ "FACILITY_T": "flat",
+ "FACILITY_1": "flat",
+ "ACCESSCTRL": "yes / oui",
+ "ACCESSIBLE": "no / non",
+ "OPEN": null,
+ "NOTES": "Indoor - Summer",
+ "MODIFIED_D": "2018/03/07",
+ "CREATED_DA": null,
+ "FACILITY": "Johnny Leroux Stittsville Community Arena - Roving Skateboard Park Location",
+ "FACILITY_F": "Stittsville Johnny-Leroux community arena - Itinerant skate park site",
+ "DESCRIPTIO": "Flat surface, 5 components",
+ "DESCRIPT_1": "Flat surface, 5 modules",
+ "PICTURE_LI": null,
+ "PICTURE_DE": null,
+ "PICTURE__1": null
+ },
+ "geometry": {
+ "type": "Point",
+ "coordinates": [-75.926651366520872, 45.260659774950561]
+ }
+ },
+ {
+ "type": "Feature",
+ "properties": {
+ "PARK_ID": 1693,
+ "FACILITYID": 28016,
+ "NAME": "Legacy Skateboard Park",
+ "NAME_FR": "Skatepark Legacy",
+ "ADDRESS": "101 Centrepointe Drive",
+ "ADDRESS_FR": "101, promenade Centrepointe",
+ "FACILITY_T": "bowl",
+ "FACILITY_1": "bowl",
+ "ACCESSCTRL": "no / non",
+ "ACCESSIBLE": "no / non",
+ "OPEN": null,
+ "NOTES": "Outdoor",
+ "MODIFIED_D": "2018/01/18",
+ "CREATED_DA": null,
+ "FACILITY": "District: larger facility to service population of 100,000 plus",
+ "FACILITY_F": "District: large facility providing services to 100,000 or more residents.",
+ "DESCRIPTIO": "Large concrete bowl, many street and vertical components, 17,000 sq ft",
+ "DESCRIPT_1": "Large concrete bowl, street modules and vertical modules, 17,000 ft2",
+ "PICTURE_LI": null,
+ "PICTURE_DE": null,
+ "PICTURE__1": null
+ },
+ "geometry": {
+ "type": "Point",
+ "coordinates": [-75.760933332842754, 45.345566668964558]
+ }
+ },
+ {
+ "type": "Feature",
+ "properties": {
+ "PARK_ID": 1717,
+ "FACILITYID": 28018,
+ "NAME": "Greenboro Skateboard Park",
+ "NAME_FR": "Greenboro skate park",
+ "ADDRESS": "3142 Conroy Road",
+ "ADDRESS_FR": "3142, chemin Conroy",
+ "FACILITY_T": "flat",
+ "FACILITY_1": "flat",
+ "ACCESSCTRL": "no / non",
+ "ACCESSIBLE": "no / non",
+ "OPEN": null,
+ "NOTES": "Outdoor",
+ "MODIFIED_D": "2018/01/18",
+ "CREATED_DA": null,
+ "FACILITY": "Neighborhood: smaller size facility to service population of 10,000 or less",
+ "FACILITY_F": "Neighborhood: small facility providing services to 10,000 residents or less.",
+ "DESCRIPTIO": "Flat asphalt surface, 5 components",
+ "DESCRIPT_1": "Flat asphalt surface, 5 modules",
+ "PICTURE_LI": null,
+ "PICTURE_DE": null,
+ "PICTURE__1": null
+ },
+ "geometry": {
+ "type": "Point",
+ "coordinates": [-75.625996131485707, 45.375401587496128]
+ }
+ },
+ {
+ "type": "Feature",
+ "properties": {
+ "PARK_ID": 137,
+ "FACILITYID": 28019,
+ "NAME": "Bridlewood Skateboard Park",
+ "NAME_FR": "Bridlewood skate park",
+ "ADDRESS": "65 Stonehaven Drive",
+ "ADDRESS_FR": "65 Stonehaven Drive",
+ "FACILITY_T": "flat",
+ "FACILITY_1": "flat",
+ "ACCESSCTRL": "no / non",
+ "ACCESSIBLE": "no / non",
+ "OPEN": null,
+ "NOTES": "Outdoor",
+ "MODIFIED_D": "2018/01/18",
+ "CREATED_DA": null,
+ "FACILITY": "Neighborhood: smaller size facility to service population of 10,000 or less",
+ "FACILITY_F": "Neighborhood: small facility providing services to 10,000 residents or less.",
+ "DESCRIPTIO": "Flat asphalt surface, 5 components",
+ "DESCRIPT_1": "Flat asphalt surface, 5 modules",
+ "PICTURE_LI": null,
+ "PICTURE_DE": null,
+ "PICTURE__1": null
+ },
+ "geometry": {
+ "type": "Point",
+ "coordinates": [-75.857009812435976, 45.290758029776626]
+ }
+ },
+ {
+ "type": "Feature",
+ "properties": {
+ "PARK_ID": 1133,
+ "FACILITYID": 28020,
+ "NAME": "Roving Skateboard Park Location",
+ "NAME_FR": "Location of an itinerant skate park",
+ "ADDRESS": "100 Clifford Campbell Street",
+ "ADDRESS_FR": "100, rue Clifford-Campbell",
+ "FACILITY_T": "flat",
+ "FACILITY_1": "flat",
+ "ACCESSCTRL": "no / non",
+ "ACCESSIBLE": "no / non",
+ "OPEN": null,
+ "NOTES": "Outdoor",
+ "MODIFIED_D": "2018/01/18",
+ "CREATED_DA": null,
+ "FACILITY": "Fitzroy Harbor Community Center - Roving Skateboard Park Location",
+ "FACILITY_F": "Fitzroy Harbor Community Center - Itinerant skate park site",
+ "DESCRIPTIO": "Flat surface, 5 components",
+ "DESCRIPT_1": "Flat surface, 5 modules",
+ "PICTURE_LI": null,
+ "PICTURE_DE": null,
+ "PICTURE__1": null
+ },
+ "geometry": {
+ "type": "Point",
+ "coordinates": [-76.206087708136721, 45.470459866077654]
+ }
+ },
+ {
+ "type": "Feature",
+ "properties": {
+ "PARK_ID": 657,
+ "FACILITYID": 28000,
+ "NAME": "Roving Skateboard Park Location",
+ "NAME_FR": "Location of an itinerant skate park",
+ "ADDRESS": "110 Malvern Drive",
+ "ADDRESS_FR": "110, promenade Malvern",
+ "FACILITY_T": "flat",
+ "FACILITY_1": "flat",
+ "ACCESSCTRL": "no / non",
+ "ACCESSIBLE": "no / non",
+ "OPEN": null,
+ "NOTES": "Outdoor",
+ "MODIFIED_D": "2018/01/18",
+ "CREATED_DA": null,
+ "FACILITY": "Walter Baker Sports Center - Roving Skateboard Park Location",
+ "FACILITY_F": "Walter-Baker Sports Center - Itinerant skate park site",
+ "DESCRIPTIO": "Flat surface, 5 components",
+ "DESCRIPT_1": "Flat surface, 5 modules",
+ "PICTURE_LI": null,
+ "PICTURE_DE": null,
+ "PICTURE__1": null
+ },
+ "geometry": {
+ "type": "Point",
+ "coordinates": [-75.760235255689508, 45.280622216516925]
+ }
+ },
+ {
+ "type": "Feature",
+ "properties": {
+ "PARK_ID": 653,
+ "FACILITYID": 28008,
+ "NAME": "Roving Skateboard Park Location",
+ "NAME_FR": "Location of an itinerant skate park",
+ "ADDRESS": "5660 Osgoode Main Street",
+ "ADDRESS_FR": "5660, rue Osgoode Main",
+ "FACILITY_T": "other",
+ "FACILITY_1": "other",
+ "ACCESSCTRL": "no / non",
+ "ACCESSIBLE": "no / non",
+ "OPEN": null,
+ "NOTES": "Outdoor - Mobile",
+ "MODIFIED_D": "2018/01/18",
+ "CREATED_DA": null,
+ "FACILITY": "Osgoode Community Center - Roving Skateboard Park Location",
+ "FACILITY_F": "Osgoode Community Center - Itinerant skate park site",
+ "DESCRIPTIO": "Flat surface, 5 components",
+ "DESCRIPT_1": "Flat surface, 5 modules",
+ "PICTURE_LI": null,
+ "PICTURE_DE": null,
+ "PICTURE__1": null
+ },
+ "geometry": {
+ "type": "Point",
+ "coordinates": [-75.60118478829267, 45.147641950106689]
+ }
+ },
+ {
+ "type": "Feature",
+ "properties": {
+ "PARK_ID": 812,
+ "FACILITYID": 35050,
+ "NAME": "Charlie Bowins Skateboard Park",
+ "NAME_FR": "Charlie-Bowins skate park",
+ "ADDRESS": "435 Bronson Avenue",
+ "ADDRESS_FR": "435, avenue Bronson",
+ "FACILITY_T": "bowl",
+ "FACILITY_1": "bowl",
+ "ACCESSCTRL": "no / non",
+ "ACCESSIBLE": "no / non",
+ "OPEN": null,
+ "NOTES": "Outdoor (Commemoratively named Charlie Bowins Skateboard Park on June 10, 2015)",
+ "MODIFIED_D": "2018/01/18",
+ "CREATED_DA": "2015/05/20",
+ "FACILITY": "District: larger facility to service population of 100,000 plus",
+ "FACILITY_F": "District: large facility providing services to 100,000 or more residents.",
+ "DESCRIPTIO": "Flat concrete surface, 10 plus components (large half pipe), City run learn to skateboard programs, City run skateboard camps in summer",
+ "DESCRIPT_1": "Flat concrete surface, 10 or more modules (large halfpipe), summer skateboard programs and camps managed by the City",
+ "PICTURE_LI": null,
+ "PICTURE_DE": null,
+ "PICTURE__1": null
+ },
+ "geometry": {
+ "type": "Point",
+ "coordinates": [-75.703622500360268, 45.408488357092367]
+ }
+ },
+ {
+ "type": "Feature",
+ "properties": {
+ "PARK_ID": 2457,
+ "FACILITYID": 35637,
+ "NAME": "Diamond Jubilee Skateboard Park",
+ "NAME_FR": "Diamond Jubilee Skate Park",
+ "ADDRESS": "2810 Findlay Creek Drive",
+ "ADDRESS_FR": "2810 Findlay Creek Drive",
+ "FACILITY_T": "flat",
+ "FACILITY_1": "flat",
+ "ACCESSCTRL": "no / non",
+ "ACCESSIBLE": "yes / oui",
+ "OPEN": null,
+ "NOTES": "Outdoor",
+ "MODIFIED_D": "2017/07/11",
+ "CREATED_DA": "2016/06/22",
+ "FACILITY": "Neighborhood: smaller size facility to service population of 10,000 or less",
+ "FACILITY_F": "Neighborhood: small facility providing services to 10,000 residents or less.",
+ "DESCRIPTIO": "Flat asphalt surface, 5 components",
+ "DESCRIPT_1": "Flat asphalt surface, 5 modules",
+ "PICTURE_LI": null,
+ "PICTURE_DE": null,
+ "PICTURE__1": null
+ },
+ "geometry": {
+ "type": "Point",
+ "coordinates": [-75.609516309730921, 45.314086718258636]
+ }
+ },
+ {
+ "type": "Feature",
+ "properties": {
+ "PARK_ID": 430,
+ "FACILITYID": 28005,
+ "NAME": "Blackburn Skateboard Park",
+ "NAME_FR": "Blackburn skate park",
+ "ADDRESS": "190 Glen Park Drive",
+ "ADDRESS_FR": "190 Glen Park Drive",
+ "FACILITY_T": "flat",
+ "FACILITY_1": "flat",
+ "ACCESSCTRL": "no / non",
+ "ACCESSIBLE": "no / non",
+ "OPEN": null,
+ "NOTES": "Outdoor",
+ "MODIFIED_D": "2018/01/18",
+ "CREATED_DA": null,
+ "FACILITY": "Neighborhood: smaller size facility to service population of 10,000 or less",
+ "FACILITY_F": "Neighborhood: small facility providing services to 10,000 residents or less.",
+ "DESCRIPTIO": "Flat asphalt surface, 5 components",
+ "DESCRIPT_1": "Flat asphalt surface, 5 modules",
+ "PICTURE_LI": null,
+ "PICTURE_DE": null,
+ "PICTURE__1": null
+ },
+ "geometry": {
+ "type": "Point",
+ "coordinates": [-75.562796920677627, 45.429643413219814]
+ }
+ },
+ {
+ "type": "Feature",
+ "properties": {
+ "PARK_ID": 989,
+ "FACILITYID": 28017,
+ "NAME": "Goulbourn Skateboard Park",
+ "NAME_FR": "Planchodrome Goulbourn",
+ "ADDRESS": "1500 Shea Road",
+ "ADDRESS_FR": "1500, chemin Shea",
+ "FACILITY_T": "flat",
+ "FACILITY_1": "flat",
+ "ACCESSCTRL": "no / non",
+ "ACCESSIBLE": "no / non",
+ "OPEN": null,
+ "NOTES": "Outdoor",
+ "MODIFIED_D": "2018/01/18",
+ "CREATED_DA": null,
+ "FACILITY": "Neighborhood: smaller size facility to service population of 10,000 or less",
+ "FACILITY_F": "Neighborhood: small facility providing services to 10,000 residents or less.",
+ "DESCRIPTIO": "Flat asphalt surface, 6 components",
+ "DESCRIPT_1": "Flat asphalt surface, 6 modules",
+ "PICTURE_LI": null,
+ "PICTURE_DE": null,
+ "PICTURE__1": null
+ },
+ "geometry": {
+ "type": "Point",
+ "coordinates": [-75.907108695123526, 45.26222860981953]
+ }
+ },
+ {
+ "type": "Feature",
+ "properties": {
+ "PARK_ID": 1334,
+ "FACILITYID": 28011,
+ "NAME": "Constance Bay Skateboard Park",
+ "NAME_FR": "Constance Bay skate park",
+ "ADDRESS": "262 Len Purcell Drive",
+ "ADDRESS_FR": "262, Len-Purcell promenade",
+ "FACILITY_T": "other",
+ "FACILITY_1": "other",
+ "ACCESSCTRL": "no / non",
+ "ACCESSIBLE": "no / non",
+ "OPEN": null,
+ "NOTES": "Outdoor",
+ "MODIFIED_D": "2018/01/18",
+ "CREATED_DA": null,
+ "FACILITY": "Neighborhood: smaller size facility to service population of 10,000 or less",
+ "FACILITY_F": "Neighborhood: small facility providing services to 10,000 residents or less.",
+ "DESCRIPTIO": "Flat asphalt surface, 5 components",
+ "DESCRIPT_1": "Flat asphalt surface, 5 modules",
+ "PICTURE_LI": null,
+ "PICTURE_DE": null,
+ "PICTURE__1": null
+ },
+ "geometry": {
+ "type": "Point",
+ "coordinates": [-76.09244957349965, 45.499050061534312]
+ }
+ },
+ {
+ "type": "Feature",
+ "properties": {
+ "PARK_ID": 923,
+ "FACILITYID": 28013,
+ "NAME": "Roving Skateboard Park Location",
+ "NAME_FR": "Location of an itinerant skate park",
+ "ADDRESS": "334 River Road",
+ "ADDRESS_FR": "334, chemin River",
+ "FACILITY_T": "flat",
+ "FACILITY_1": "flat",
+ "ACCESSCTRL": "no / non",
+ "ACCESSIBLE": "no / non",
+ "OPEN": null,
+ "NOTES": "Outdoor",
+ "MODIFIED_D": "2018/01/18",
+ "CREATED_DA": null,
+ "FACILITY": "Eccolands Park - Roving Skateboard Park Location",
+ "FACILITY_F": "Parc Eccolands - Location of an itinerant skate park",
+ "DESCRIPTIO": "Flat surface, 5 components",
+ "DESCRIPT_1": "Flat surface, 5 modules",
+ "PICTURE_LI": null,
+ "PICTURE_DE": null,
+ "PICTURE__1": null
+ },
+ "geometry": {
+ "type": "Point",
+ "coordinates": [-75.695392300925718, 45.315355581248873]
+ }
+ },
+ {
+ "type": "Feature",
+ "properties": {
+ "PARK_ID": 762,
+ "FACILITYID": 28004,
+ "NAME": "Trillium Park Skateboard Park",
+ "NAME_FR": "Park Trillium skate park",
+ "ADDRESS": "2030 Ogilvie Road",
+ "ADDRESS_FR": "2030, chemin Ogilvie",
+ "FACILITY_T": "flat",
+ "FACILITY_1": "flat",
+ "ACCESSCTRL": "no / non",
+ "ACCESSIBLE": "no / non",
+ "OPEN": null,
+ "NOTES": "Outdoor",
+ "MODIFIED_D": "2018/01/18",
+ "CREATED_DA": null,
+ "FACILITY": "Neighborhood: smaller size facility to service population of 10,000 or less",
+ "FACILITY_F": "Neighborhood: small facility providing services to 10,000 residents or less.",
+ "DESCRIPTIO": "Flat asphalt surface, 5 components",
+ "DESCRIPT_1": "Flat asphalt surface, 5 modules",
+ "PICTURE_LI": null,
+ "PICTURE_DE": null,
+ "PICTURE__1": null
+ },
+ "geometry": {
+ "type": "Point",
+ "coordinates": [-75.601158413850058, 45.436441777242031]
+ }
+ },
+ {
+ "type": "Feature",
+ "properties": {
+ "PARK_ID": 52,
+ "FACILITYID": 35120,
+ "NAME": "Lansdowne Skateboard Park",
+ "NAME_FR": "Lansdowne Skate Park",
+ "ADDRESS": "450 Queen Elizabeth Driveway",
+ "ADDRESS_FR": "450 Queen Elizabeth Drive",
+ "FACILITY_T": "flat",
+ "FACILITY_1": "flat",
+ "ACCESSCTRL": "no / non",
+ "ACCESSIBLE": "yes / oui",
+ "OPEN": null,
+ "NOTES": "Outdoor",
+ "MODIFIED_D": "2017/07/11",
+ "CREATED_DA": "2015/09/23",
+ "FACILITY": "A series of skateboard ramps ideally suited to beginners.",
+ "FACILITY_F": "A series of ramps suitable for beginners.",
+ "DESCRIPTIO": "Flat asphalt surface",
+ "DESCRIPT_1": "Flat asphalt surface",
+ "PICTURE_LI": null,
+ "PICTURE_DE": null,
+ "PICTURE__1": null
+ },
+ "geometry": {
+ "type": "Point",
+ "coordinates": [-75.681193500335723, 45.400372622455215]
+ }
+ },
+ {
+ "type": "Feature",
+ "properties": {
+ "PARK_ID": 2488,
+ "FACILITYID": 35815,
+ "NAME": "Greely Village Skateboard Park",
+ "NAME_FR": "Planchodrome Greely Village",
+ "ADDRESS": "7292 Parkway Road",
+ "ADDRESS_FR": "7292, chemin Parkway",
+ "FACILITY_T": "other",
+ "FACILITY_1": "other",
+ "ACCESSCTRL": "no / non",
+ "ACCESSIBLE": "yes / oui",
+ "OPEN": null,
+ "NOTES": "Outdoor",
+ "MODIFIED_D": "2018/01/04",
+ "CREATED_DA": "2017/04/28",
+ "FACILITY": "Neighborhood: smaller size facility to service population of 10,000 or less",
+ "FACILITY_F": "Neighborhood: small facility providing services to 10,000 residents or less.",
+ "DESCRIPTIO": "Flat concrete surface, 5 components",
+ "DESCRIPT_1": "Flat concrete surface, 5 modules",
+ "PICTURE_LI": null,
+ "PICTURE_DE": null,
+ "PICTURE__1": null
+ },
+ "geometry": {
+ "type": "Point",
+ "coordinates": [-75.553065849890629, 45.265433081236672]
+ }
+ },
+ {
+ "type": "Feature",
+ "properties": {
+ "PARK_ID": 330,
+ "FACILITYID": 28003,
+ "NAME": "Manotick Skateboard Park",
+ "NAME_FR": "Planchodrome Manotick",
+ "ADDRESS": "5572 Doctor Leach Drive",
+ "ADDRESS_FR": "5572, Doctor-Leach promenade",
+ "FACILITY_T": "flat",
+ "FACILITY_1": "flat",
+ "ACCESSCTRL": "yes / oui",
+ "ACCESSIBLE": "no / non",
+ "OPEN": null,
+ "NOTES": "Outdoor - Joined with basketball",
+ "MODIFIED_D": "2018/01/18",
+ "CREATED_DA": null,
+ "FACILITY": "Community: mid size facility to service population of 40,000 plus",
+ "FACILITY_F": "Community: medium-sized facility providing services to 40,000 residents or more.",
+ "DESCRIPTIO": "Flat asphalt surface, 8 components",
+ "DESCRIPT_1": "Flat asphalt surface, 8 modules",
+ "PICTURE_LI": null,
+ "PICTURE_DE": null,
+ "PICTURE__1": null
+ },
+ "geometry": {
+ "type": "Point",
+ "coordinates": [-75.686746214582783, 45.22266136322127]
+ }
+ },
+ {
+ "type": "Feature",
+ "properties": {
+ "PARK_ID": 693,
+ "FACILITYID": 28010,
+ "NAME": "Roving Skateboard Park Location",
+ "NAME_FR": "Location of an itinerant skate park",
+ "ADDRESS": "1448 Meadow Drive",
+ "ADDRESS_FR": "1448 Meadow Drive",
+ "FACILITY_T": "other",
+ "FACILITY_1": "other",
+ "ACCESSCTRL": "no / non",
+ "ACCESSIBLE": "no / non",
+ "OPEN": null,
+ "NOTES": "Outdoor - Mobile",
+ "MODIFIED_D": "2018/01/18",
+ "CREATED_DA": null,
+ "FACILITY": "Andy Shields Park - Roving Skateboard Park Location",
+ "FACILITY_F": "Andy-Shields Park - Location of an itinerant skate park",
+ "DESCRIPTIO": "Flat surface, 5 components",
+ "DESCRIPT_1": "Flat surface, 5 modules",
+ "PICTURE_LI": null,
+ "PICTURE_DE": null,
+ "PICTURE__1": null
+ },
+ "geometry": {
+ "type": "Point",
+ "coordinates": [-75.556978502821494, 45.261353985880973]
+ }
+ },
+ {
+ "type": "Feature",
+ "properties": {
+ "PARK_ID": 2544,
+ "FACILITYID": 35667,
+ "NAME": "Berrigan Skateboard Park",
+ "NAME_FR": "Planchodrome Berrigan",
+ "ADDRESS": "51 Berrigan Drive",
+ "ADDRESS_FR": "51, promenade Berrigan",
+ "FACILITY_T": "flat",
+ "FACILITY_1": "flat",
+ "ACCESSCTRL": "no / non",
+ "ACCESSIBLE": "no / non",
+ "OPEN": null,
+ "NOTES": "Outdoor",
+ "MODIFIED_D": "2018/02/27",
+ "CREATED_DA": "2016/06/27",
+ "FACILITY": "Community: mid size facility to service population of 40,000 plus",
+ "FACILITY_F": "Community: medium-sized facility providing services to 40,000 residents or more.",
+ "DESCRIPTIO": "Flat concrete surface, 10 plus components",
+ "DESCRIPT_1": "Flat concrete surface, 10 or more modules",
+ "PICTURE_LI": null,
+ "PICTURE_DE": null,
+ "PICTURE__1": null
+ },
+ "geometry": {
+ "type": "Point",
+ "coordinates": [-75.747348794023239, 45.275696004260205]
+ }
+ },
+ {
+ "type": "Feature",
+ "properties": {
+ "PARK_ID": 2599,
+ "FACILITYID": 49251,
+ "NAME": "Eugène Martineau Skateboard Park",
+ "NAME_FR": "Planchodrome Eugène-Martineau",
+ "ADDRESS": "710 Mikinak Road",
+ "ADDRESS_FR": "710, chemin Mikinak",
+ "FACILITY_T": "flat",
+ "FACILITY_1": "flat",
+ "ACCESSCTRL": "no / non",
+ "ACCESSIBLE": "yes / oui",
+ "OPEN": null,
+ "NOTES": "Outdoor",
+ "MODIFIED_D": "2018/11/29",
+ "CREATED_DA": "2018/11/29",
+ "FACILITY": "Neighborhood: smaller size facility to service population of 10,000 or less",
+ "FACILITY_F": "Neighborhood: small facility providing services to 10,000 residents or less.",
+ "DESCRIPTIO": "Flat surface, 5 components",
+ "DESCRIPT_1": "Flat surface, 5 modules",
+ "PICTURE_LI": null,
+ "PICTURE_DE": null,
+ "PICTURE__1": null
+ },
+ "geometry": {
+ "type": "Point",
+ "coordinates": [-75.632030968141081, 45.450696284941976]
+ }
+ },
+ {
+ "type": "Feature",
+ "properties": {
+ "PARK_ID": 2278,
+ "FACILITYID": 49211,
+ "NAME": "Vista Skateboard Park",
+ "NAME_FR": "Planchodrome Vista",
+ "ADDRESS": "720 Vistapark Drive",
+ "ADDRESS_FR": "720, Vistapark promenade",
+ "FACILITY_T": "flat",
+ "FACILITY_1": "flat",
+ "ACCESSCTRL": "no / non",
+ "ACCESSIBLE": "yes / oui",
+ "OPEN": null,
+ "NOTES": "Outdoor",
+ "MODIFIED_D": "2018/11/29",
+ "CREATED_DA": "2018/06/22",
+ "FACILITY": "Neighborhood: smaller size facility to service population of 10,000 or less",
+ "FACILITY_F": "Neighborhood: small facility providing services to 10,000 residents or less.",
+ "DESCRIPTIO": "Flat surface, 5 components",
+ "DESCRIPT_1": "Flat surface, 5 modules",
+ "PICTURE_LI": null,
+ "PICTURE_DE": null,
+ "PICTURE__1": null
+ },
+ "geometry": {
+ "type": "Point",
+ "coordinates": [-75.471003922143311, 45.450391044010431]
+ }
+ },
+ {
+ "type": "Feature",
+ "properties": {
+ "PARK_ID": 2113,
+ "FACILITYID": 35299,
+ "NAME": "Innovation Skateboard Park",
+ "NAME_FR": "Planchomdrome Innovation",
+ "ADDRESS": "4101 Innovation Drive",
+ "ADDRESS_FR": "4101, promenade Innovation",
+ "FACILITY_T": "bowl",
+ "FACILITY_1": "bowl",
+ "ACCESSCTRL": "no / non",
+ "ACCESSIBLE": "yes / oui",
+ "OPEN": null,
+ "NOTES": "Outdoor",
+ "MODIFIED_D": "2017/07/11",
+ "CREATED_DA": "2016/02/08",
+ "FACILITY": "District: larger facility to service population of 100,000 plus",
+ "FACILITY_F": "District: large facility providing services to 100,000 or more residents.",
+ "DESCRIPTIO": "Large concrete bowl, 10 plus components, many street and vertical components",
+ "DESCRIPT_1": "Large concrete bowl, 10 or more modules, street modules and vertical modules",
+ "PICTURE_LI": null,
+ "PICTURE_DE": null,
+ "PICTURE__1": null
+ },
+ "geometry": {
+ "type": "Point",
+ "coordinates": [-75.931122879767898, 45.34125624499935]
+ }
+ }
+ ]
+ }
\ No newline at end of file
diff --git a/src/shared-components/footer-component/Footer.css b/src/shared-components/footer-component/Footer.css
index fc1d112..1118310 100644
--- a/src/shared-components/footer-component/Footer.css
+++ b/src/shared-components/footer-component/Footer.css
@@ -1,8 +1,6 @@
-
#footer{
text-align: center;
padding: 5% 7%;
- background-color: white ;
}
.social-icon{