+
+
+
+
+
-
-
-
- );
- }
+
+
+
+
+
+
+
+
+ );
}
export default App;
diff --git a/src/agent-page/AgentPage.js b/src/agent-page/AgentPage.js
index 0d90622..e3fe3c9 100644
--- a/src/agent-page/AgentPage.js
+++ b/src/agent-page/AgentPage.js
@@ -1,39 +1,42 @@
import React, { Component } from "react";
import Agents from './Agents'
import './agent-page.css';
-import Carousel from 'react-bootstrap/Carousel'
import Agent1 from "../images/Agent1.jpg";
import Agent2 from "../images/Agent2.jpg";
import Agent3 from "../images/Agent3.jpg";
import Agent4 from "../images/Agent4.jpg";
import Agent5 from "../images/Agent5.jpg";
import Agent6 from "../images/Agent6.jpg";
- class AgentPage extends Component {
- state={
- agents: [
-
- {title:'head sales assistant',name: 'Michael', src: Agent1,word:'Michael has a genuine passion for helping others and for giving back to the community.',id:1},
- {title:'sales assistant',name: 'Jin', src: Agent2,word:'I have a passion for assisting clients with various real estate needs.',id:2},
- {title:'sales assistant',name: 'Anita', src: Agent3,word:'Anita looks forward to servicing you to her fullest potential, building long-lasting relationships and making your real estate experience a smooth and memorable one.',id:3},
- {title:'sales assistant',name: 'Alex', src: Agent4,word:'Since getting licensed in 2010 Alex has consistently been a top producing agent in the GTA',id:4},
- {title:'sales assistant',name: 'Xuan', src: Agent5,word:'Xuan grew up in the GTA, and he explored many different neighborhoods in and surrounding Toronto. ',id:5},
- {title:'sales assistant',name: 'Walter', src: Agent6,word:'Walter Henry has always been one to follow his passion. At 13 years old, he started his career as a competitive gymnast.Walter will be certain that you feel informed and at ease throughout the entire process.',id:6},
+class AgentPage extends Component {
+ state = {
+ agents: [
-
- ]
- }
- render(){
- return(
-
-
-
Meet the team
-
-
-
-
- )
+ { title: 'head sales assistant', name: 'Michael', src: Agent1, word: 'Michael has a genuine passion for helping others and for giving back to the community.', id: 1 },
+ { title: 'sales assistant', name: 'Jin', src: Agent2, word: 'I have a passion for assisting clients with various real estate needs.', id: 2 },
+ { title: 'sales assistant', name: 'Anita', src: Agent3, word: 'Anita looks forward to servicing you to her fullest potential, building long-lasting relationships and making your real estate experience a smooth and memorable one.', id: 3 },
+ { title: 'sales assistant', name: 'Alex', src: Agent4, word: 'Since getting licensed in 2010 Alex has consistently been a top producing agent in the GTA', id: 4 },
+ { title: 'sales assistant', name: 'Xuan', src: Agent5, word: 'Xuan grew up in the GTA, and he explored many different neighborhoods in and surrounding Toronto.', id: 5 },
+ { title: 'sales assistant', name: 'Walter', src: Agent6, word: 'Walter Henry has always been one to follow his passion. At 13 years old, he started his career as a competitive gymnast.Walter will be certain that you feel informed and at ease throughout the entire process.', id: 6 },
+
+
+ ]
}
- displayAgents= (agent) => {
+ render() {
+ return (
+
@@ -104,9 +104,12 @@ class homePage extends Component {
);
}
+ onFirstNameChange(event) {
+ this.setState({ firstname: event.target.value });
+ }
- onNameChange(event) {
- this.setState({ name: event.target.value });
+ onLastNameChange(event) {
+ this.setState({ lastname: event.target.value });
}
onEmailChange(event) {
@@ -120,4 +123,4 @@ class homePage extends Component {
handleSubmit(event) {}
}
-export default homePage;
+export default Homepage;
diff --git a/src/homePage/homePage.test.js b/src/homePage/homePage.test.js
deleted file mode 100644
index 5dd92a5..0000000
--- a/src/homePage/homePage.test.js
+++ /dev/null
@@ -1,10 +0,0 @@
-import React from "react";
-import { shallow } from "enzyme";
-import HomePage from "./homePage";
-
-describe("HomePage", () => {
- test("matches snapshot", () => {
- const wrapper = shallow();
- expect(wrapper).toMatchSnapshot();
- });
-});
diff --git a/src/homePage/index.js b/src/homePage/index.js
index 7d52476..3e17091 100644
--- a/src/homePage/index.js
+++ b/src/homePage/index.js
@@ -1 +1 @@
-export { default } from "./homePage";
+export { default } from "./homePage";
\ No newline at end of file
diff --git a/src/images/house1-2.jpg b/src/images/house1-2.jpg
new file mode 100644
index 0000000..dac108e
Binary files /dev/null and b/src/images/house1-2.jpg differ
diff --git a/src/images/house1-3.jpg b/src/images/house1-3.jpg
new file mode 100644
index 0000000..bf7e11a
Binary files /dev/null and b/src/images/house1-3.jpg differ
diff --git a/src/images/house1.jpg b/src/images/house1.jpg
index c429663..9c9108b 100644
Binary files a/src/images/house1.jpg and b/src/images/house1.jpg differ
diff --git a/src/images/house2-2.jpg b/src/images/house2-2.jpg
new file mode 100644
index 0000000..3efb20b
Binary files /dev/null and b/src/images/house2-2.jpg differ
diff --git a/src/images/house2-3.jpg b/src/images/house2-3.jpg
new file mode 100644
index 0000000..c740756
Binary files /dev/null and b/src/images/house2-3.jpg differ
diff --git a/src/images/house2.jpg b/src/images/house2.jpg
index b5976ed..632343e 100644
Binary files a/src/images/house2.jpg and b/src/images/house2.jpg differ
diff --git a/src/images/house3-2.png b/src/images/house3-2.png
new file mode 100644
index 0000000..cf983f7
Binary files /dev/null and b/src/images/house3-2.png differ
diff --git a/src/images/house3-3.jpg b/src/images/house3-3.jpg
new file mode 100644
index 0000000..d28c088
Binary files /dev/null and b/src/images/house3-3.jpg differ
diff --git a/src/images/house3.jpg b/src/images/house3.jpg
index 35034fe..d353ff7 100644
Binary files a/src/images/house3.jpg and b/src/images/house3.jpg differ
diff --git a/src/images/house4-2.jpg b/src/images/house4-2.jpg
new file mode 100644
index 0000000..706c683
Binary files /dev/null and b/src/images/house4-2.jpg differ
diff --git a/src/images/house4-3.jpg b/src/images/house4-3.jpg
new file mode 100644
index 0000000..cc29a44
Binary files /dev/null and b/src/images/house4-3.jpg differ
diff --git a/src/images/house4.jpg b/src/images/house4.jpg
new file mode 100644
index 0000000..c2323f0
Binary files /dev/null and b/src/images/house4.jpg differ
diff --git a/src/images/profile-picture.png b/src/images/profile-picture.png
new file mode 100644
index 0000000..d2cdb3e
Binary files /dev/null and b/src/images/profile-picture.png differ
diff --git a/src/index.js b/src/index.js
index 0a4e9a3..9787597 100644
--- a/src/index.js
+++ b/src/index.js
@@ -1,14 +1,49 @@
-import React from "react";
+import React, { Suspense } from "react";
import ReactDOM from "react-dom";
-import "./index.css";
-import App from "./App";
import reportWebVitals from "./reportWebVitals";
import "bootstrap/dist/css/bootstrap.min.css";
+import "flag-icon-css/css/flag-icon.min.css";
+import i18n from "i18next";
+import { initReactI18next } from "react-i18next";
+import LanguageDetector from "i18next-browser-languagedetector";
+import HttpApi from "i18next-http-backend";
+import "./index.css";
+import App from "./App";
+
+i18n
+ .use(initReactI18next) // passes i18n down to react-i18next
+ .use(LanguageDetector)
+ .use(HttpApi)
+ .init({
+ // lng: "en",
+ supportedLngs: ["en", "fr"],
+ fallbackLng: "en",
+ detection: {
+ // "querystring",
+ order: ["cookie", "htmlTag", "localStorage", "path", "subdomain"],
+ caches: ["cookie"],
+ },
+ backend: {
+ loadPath: "/assets/locales/{{lng}}/translations.json",
+ },
+
+ react: {
+ useSuspense: false,
+ },
+ });
+
+const loadingMsg = (
+
+
Loading......
+
+);
ReactDOM.render(
-
-
- ,
+
+
+
+
+ ,
document.getElementById("root")
);
diff --git a/src/listings-page/ListingsPage.js b/src/listings-page/ListingsPage.js
index 60ac2b7..c9bbe8c 100644
--- a/src/listings-page/ListingsPage.js
+++ b/src/listings-page/ListingsPage.js
@@ -1,3 +1,4 @@
+// eslint-disable-next-line
import React, { useState, useEffect, Component } from "react";
import {
GoogleMap,
diff --git a/src/listings-page/data/property-data.json b/src/listings-page/data/property-data.json
index 887662f..40b2281 100644
--- a/src/listings-page/data/property-data.json
+++ b/src/listings-page/data/property-data.json
@@ -9,15 +9,17 @@
"BEDS":3,
"BATHS":3,
"IMAGES":[
-
+
],
"AVAILABLE_AGENTS":[
],
"DESC":"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui.",
-
+ "FULL_DESCRIPTION": "RUN DON'T WALK to this beautiful former Jayman show home. This home has every feature and convenience you could want in a home. When you enter you will be greeted with a large entry way, open concept main floor with a very spacious chef-like kitchen, the big eat in dinning area is an entertainers dream and plenty of room in the living room as to cozy up to the fireplace. When you head upstairs the owner 's suite will impress with a gorgeous ensuite consisting of a large soaker tub, oversized shower, separate vanities, in-floor heating and 2 separate closest. You will also find a nice sized flex room, spacious laundry room up stairs, 4 piece main bathroom and 2 more bedrooms. Then head downstairs where you will find another bedroom, bathroom and Theatre room with wet bar and beverage station that is perfect for any movie lover. Must not forget that this home is air conditioned, has front and back irrigation outside and speakers throughout the house. All of this can be yours in the lake community of Auburn Bay close to all amenities and year round lake access just a short distance away",
"FOR_SALE": true,
- "coordinates": [-75.3372987731628, 45.383321536272049]
+ "coordinates": [-75.3372987731628, 45.383321536272049],
+ "BEDROOM": "2",
+ "BATHROOM": "4"
},
@@ -36,8 +38,11 @@
],
"DESC":"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui.",
+ "FULL_DESCRIPTION": "Nature at its Finest The Shores of Toney Bay are located at the mouth of River Phillip where it meets the Northumberland Straight with direct access to the incredible recreational waterways of River Phillip and nature rich Toney Bay. This nature lovers paradise boasts a plethora of migratory bird life and the rich fish stock of River Philip. The warm waters of the Northumberland Straight are swimmable from your shorefront, easy access to year-around activities and close proximity to the quaint community of Pugwash make this an ideal spot for a permeant residence or cottage. There are also ocean view / deeded access lots available. Large lots with unobstructed views and well away from highway noise. Swim in the warm waters at beautiful Heather's Beach just 4km away, fly fishing in the spring on River Phillip, book at tee time at Northumberland links, 16km away or enjoy a day at the Luxury Fox Harb'r Resort and Spa less then 30 mins away, and in winter enjoy skiing at Ski Wentworth a short 30 minutes drive. Lots are flat, cleared and ready for your dream home. All septic and building lot approvals are in place, good roads, and power to the lot line are included. Please take a few minutes to watch the video of the stunning Shores at Toney Bay",
"FOR_SALE": true,
- "coordinates": [-75.546518086577947, 45.467134581917357]
+ "coordinates": [-75.546518086577947, 45.467134581917357],
+ "BEDROOM": "7",
+ "BATHROOM": "4"
@@ -58,9 +63,11 @@
],
"DESC":"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui.",
-
+ "FULL_DESCRIPTION": "Custom, Hi-Ranch home located in sought after neighborhood in the Heart of Petawawa. This home features 2+1 bedrooms and 4 bathrooms. Main level features spacious foyer, hardwood staircase, gleaming hardwood floors and open concept living. Large windows provide lots of natural light, vaulted ceilings in living room, a spectacular spacious kitchen with stainless steel appliances and large island. Master bedroom with walk through closet and 3 piece en-suite with custom tile shower and heated tile floor. Lower level features a finished rec room with cozy gas fireplace, bedroom and 3 piece bathroom. Patio door in foyer leads to large private backyard with no rear neighbours, spacious wood deck and hot tub. Double attached garage completes the package. Pack your backs and move right in! No Conveyances of offers until Friday April 9th at 3PM however the seller has the right to view and may accept pre-emptive offers",
"FOR_SALE": true,
- "coordinates": [-75.898610599532319, 45.295014379864874]
+ "coordinates": [-75.898610599532319, 45.295014379864874],
+ "BEDROOM": "2",
+ "BATHROOM": "4"
@@ -81,9 +88,12 @@
],
"DESC":"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui.",
-
+ "FULL_DESCRIPTION": "Nestled in a quiet cul-de-sac in the family-friendly Ski Club/Widdifield neighbourhood, is 62 Riddle Court, a hidden gem that has everything you've been searching for - inside and out! Look up and take in the picturesque views of the escarpment, take a short walk or drive to the Laurentian Ski Hill with the family, or simply savour your very own property by having dinner on the patio, a glass of wine on the deck/balcony, and admire the breathtaking landscape (designed by an award-winning landscape artist) that wraps around your home. Lush perennials, tall grasses, interlocking brick pathways, in-ground sprinkler system and outdoor lighting make this property standout from the rest! Step inside to relish in all of the updated features this home has to offer - gleaming maple hardwood floors & stairs, updated maple kitchen cabinets, ceramic tile with in-floor radiant heat in bathrooms and office, built-in entertainment units, finished laundry room, low-maintenance composite deck off dining area, recessed lighting, updated windows, doors, insulation... the list goes on! Working from home these days? Enter the private & professional home office right off the recreation room through french doors. Enjoy the under-cabinet lighting, as well as the natural light beaming through the window with views of the backyard. Pride of ownership is obvious. Nothing left to do, but move-in! Pre-inspected for your peace of mind.",
"FOR_SALE": true,
- "coordinates": [-75.468561642270757, 45.23032561834377]
+ "coordinates": [-75.468561642270757, 45.23032561834377],
+ "BEDROOM": "4",
+ "BATHROOM": "3"
+
}
]
diff --git a/src/listings-page/mapStyles.js b/src/listings-page/mapStyles.js
index 84d724c..98b6c24 100644
--- a/src/listings-page/mapStyles.js
+++ b/src/listings-page/mapStyles.js
@@ -1,3 +1,4 @@
+// eslint-disable-next-line
export default [
{
"featureType": "all",
diff --git a/src/listings-page/single-listing/listing-page.css b/src/listings-page/single-listing/listing-page.css
index e69de29..137ea6b 100644
--- a/src/listings-page/single-listing/listing-page.css
+++ b/src/listings-page/single-listing/listing-page.css
@@ -0,0 +1,62 @@
+.single-listing{
+ padding: 7% 15%;
+ /* background-color: darksalmon; */
+}
+
+.listing-header{
+ border: 1px solid black;
+ text-align: left;
+ padding: 1%;
+}
+.listing-title{
+ font-size: 2.5rem;
+ /* font-style: italic; */
+}
+
+.title-icon{
+
+}
+
+.listing-carousel{
+ margin: 5% 15%;
+ width: 70%;
+ /* padding-right: 10; */
+}
+
+.carousel-img{
+ /* width: 70%; */
+}
+
+
+.amentities{
+ border: 1px solid black;
+ /* padding: 5% 0; */
+ margin: 3% 40%;
+ padding: 1% 0%;
+}
+.amentities-text{
+
+}
+.amentities-icon{
+ margin: 0% 5%;
+}
+
+.description-box{
+ border: 1px solid black;
+ padding: 5%;
+ text-align: left;
+}
+
+.description-title{
+ padding: 2% 0%;
+}
+.listing-description{
+
+
+}
+
+.booking-btn{
+ padding: 2% 0%;
+ text-align: center;
+}
+
diff --git a/src/listings-page/single-listing/listing-page.js b/src/listings-page/single-listing/listing-page.js
index 533e3aa..1be54ab 100644
--- a/src/listings-page/single-listing/listing-page.js
+++ b/src/listings-page/single-listing/listing-page.js
@@ -1,9 +1,139 @@
-import React, { Component } from "react";
+import React from "react";
+import "./listing-page.css";
+import { Link } from "react-router-dom";
-class ListingPage extends Component {
- render() {
- return
+ MOVE IN READY I WALKING DISTANCE TO SHOPPING, SCHOOLS AND TRANSIT I
+ Conveniently located in Haysboro, you have Restaurants, Groceries,
+ Coffee shops, Schools and a Library all within walking distance. This
+ Updated Bungalow offers over 2000 square feet of developed living
+ space, 3 Bedrooms upstairs to accommodate almost any family and 2 down
+ stairs in the fully developed basement. Having a separate entrance
+ downstairs through the backyard makes it much easier if you ever want
+ to convert the basement into a suite. The double garage is even heated
+ with 220v plus 2 additional spaces that could be used for RV parking
+ or for any additional vehicles in the house. You will notice the home
+ has been tastefully updated over the years including a soaker tub in
+ the bathroom, in the kitchen your cabinetry goes right to the ceiling
+ for a nice finished look, granite counters and Kitchenaid appliances
+ and a new garburator. The entire property has a fresh coat of paint
+ inside and out, Newer windows and roof along with the Plumbing,
+ Electrical (Cat 5 connection throughout and 200amp service) has been
+ updated. Last but not least, the back deck already has gas and ready
+ for the BBQ season. With the BIG updates being done, all that is left
+ to do is enjoy Summer on the deck or enjoy a bonfire in your sunny
+ West facing backyard!
+