diff --git a/README.md b/README.md
index fdf5031..4edba61 100644
--- a/README.md
+++ b/README.md
@@ -3,7 +3,7 @@
The Real Estate Website using React made by Ruchira Perrera, Sam Oyediran, Batuhan Basoglu, and Kene Ojukwu.
-After npm start execute the command "node src/shared-components/contact-us/index.js" in order to set up the backend of the contact form.
+After npm start execute the command "node src/shared-components/contact-us/index.js" in order to set up the backend of the contact form. (Optional)
# Authors
diff --git a/package.json b/package.json
index 0a896a8..f1b6b48 100644
--- a/package.json
+++ b/package.json
@@ -3,12 +3,15 @@
"version": "0.1.0",
"private": true,
"dependencies": {
+ "@reach/combobox": "^0.10.5",
+ "@react-google-maps/api": "^1.9.0",
"@testing-library/jest-dom": "^5.11.10",
"@testing-library/react": "^11.2.5",
"@testing-library/user-event": "^12.8.3",
"axios": "^0.21.1",
"bootstrap": "^4.6.0",
"cors": "^2.8.5",
+ "date-fns": "^2.13.0",
"email-validator": "^2.0.4",
"express": "^4.17.1",
"flag-icon-css": "^3.5.0",
@@ -34,13 +37,10 @@
"react-router-dom": "^5.2.0",
"react-scripts": "4.0.3",
"react-select": "^4.3.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",
+ "spectre.css": "^0.5.9",
+ "use-places-autocomplete": "^1.3.5",
+ "web-vitals": "^1.1.1",
"yup": "^0.32.9"
},
"scripts": {
diff --git a/public/assets/locales/en/translations.json b/public/assets/locales/en/translations.json
index c4fffad..47a9b0f 100644
--- a/public/assets/locales/en/translations.json
+++ b/public/assets/locales/en/translations.json
@@ -28,7 +28,36 @@
"Sales_Ass":"sales assistant",
"Mike.Title":"Head Sales Assistant",
"Mike.Word": "Michael has a genuine passion for helping others and for giving back to the community.",
-
+ "Slogan_1": "YOU ARE NOT BUYING A HOUSE, ",
+ "Slogan_2": "YOU ARE BUYING A LIFESTYLE. ",
+ "Info": "Click for Details",
+ "Home1": "Welcome to Kene's Cribs. Kene's Cribs is a real estator company which provides the clients with the houses.",
+ "Home2": "The houses limited to the clients are only limited to the clients' dreams. In order to further navigate the",
+ "Home3": "website, use the navigation bar to switch between pages. Listings page is for browsing houses, Agents page",
+ "Home4": "is for browsing the estators, the Contact Us page is for the contacting us and the login page is for our",
+ "Home5": "members who want to benefit from our deals. Above are some houses which can interest you. Feel free to",
+ "Home6": "click the buttons above to explore the houses you want.",
+ "Desc": "Description",
+ "Rooms": "2 Bedroom, 3 Bathroom",
+ "Rooms1": "1 Bedroom, 1 Bathroom",
+ "Rooms2": "3 Bedroom, 3 Bathroom",
+ "Rooms3": "3 Bedroom, 3 Bathroom",
+ "Danger1": "Message could not send.",
+ "Danger2": "There are some errors in your contact form.",
+ "Success1": "The message is successfully sent.",
+ "Success2": "You contact form will be delivered to our support team.",
+ "Contact-Title": "Contact to Us",
+ "Contact-House": "Select an Agent",
+ "Contact-Agent": "Select a House",
+ "No-Pref": "No preference",
+ "Contact-First": "First Name",
+ "Contact-Last": "Last Name",
+ "Contact-Mail": "Email Address",
+ "Contact-Message": "Message",
+ "Contact-Submit": "Submit",
+ "Contact-Error1": "Please select an item in the list.",
+ "Contact-Error2": "Please fill out this field.",
+ "Contact-Error3": "Invalid email address.",
"Regular":"Sales Assistant",
"Agent2.W":"I have a passion for assisting clients with various real estate needs.",
"Agent3.W":"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.",
diff --git a/public/assets/locales/fr/translations.json b/public/assets/locales/fr/translations.json
index 80d27a9..149afef 100644
--- a/public/assets/locales/fr/translations.json
+++ b/public/assets/locales/fr/translations.json
@@ -33,6 +33,35 @@
"Agent3.W":"Anita a hâte de vous servir à son plein potentiel, de bâtir des relations durables et de faire de votre expérience immobilière une expérience agréable et mémorable.",
"Agent4.W":"Depuis l'obtention de sa licence en 2010, Alex a toujours été l'un des meilleurs agents de production dans la région du Grand Toronto.",
"Agent5.W":"Xuan a grandi dans la région du Grand Toronto et a exploré de nombreux quartiers différents de Toronto et des environs.",
- "Agent6.W":"Walter Henry a toujours été du genre à suivre sa passion. À 13 ans, il a commencé sa carrière en tant que gymnaste de compétition."
-
+ "Agent6.W":"Walter Henry a toujours été du genre à suivre sa passion. À 13 ans, il a commencé sa carrière en tant que gymnaste de compétition.",
+ "Slogan_1": "VOUS N'ACHETEZ PAS UNE MAISON, ",
+ "Slogan_2": "VOUS ACHETEZ UN STYLE DE VIE. ",
+ "Info": "Cliquer pour les détails",
+ "Home1": "Bienvenue chez Kene's Cribs. Kene's Cribs est une véritable société d'estateur qui fournit les maisons aux clients.",
+ "Home2": "Les maisons limitées aux clients ne se limitent qu'aux rêves des clients. Afin de mieux naviguer dans site Web, utilisez",
+ "Home3": "la barre de navigation pour basculer entre les pages. La page des listes sert à parcourir les maisons, la page Agents",
+ "Home4": "est pour parcourir les estators, la page Contactez-nous est pour nous contacter et la page de connexion est pour notre",
+ "Home5": "membres qui souhaitent bénéficier de nos offres. Ci-dessus, quelques maisons qui peuvent vous intéresser. N'hésitez",
+ "Home6": "pas à cliquez sur les boutons ci-dessus pour explorer les maisons que vous souhaitez.",
+ "Desc": "La Description",
+ "Rooms": "2 chambre, 3 salles de bains",
+ "Rooms1": "1 chambre, 1 salles de bains",
+ "Rooms2": "3 chambre, 3 salles de bains",
+ "Rooms3": "3 chambre, 3 salles de bains",
+ "Danger1": "Le message n'a pas pu être envoyé.",
+ "Danger2": "Il y a des erreurs dans votre formulaire de contact.",
+ "Success1": "Le message a été envoyé avec succès.",
+ "Success2": "Votre formulaire de contact sera envoyé à notre équipe d'assistance.",
+ "Contact-Title": "Contactez-Nous",
+ "Contact-House": "Sélectionnez un Agent",
+ "Contact-Agent": "Sélectionnez une Maison",
+ "No-Pref": "Aucune préférence",
+ "Contact-First": "Prénom",
+ "Contact-Last": "Nom de Famille",
+ "Contact-Mail": "Adresse E-mail",
+ "Contact-Message": "Le Message",
+ "Contact-Submit": "Soumettre",
+ "Contact-Error1": "Veuillez sélectionner un élément dans la liste.",
+ "Contact-Error2": "Veuillez remplir ce champ.",
+ "Contact-Error3": "Adresse e-mail invalide."
}
diff --git a/src/App.js b/src/App.js
index 75af360..cc048ec 100644
--- a/src/App.js
+++ b/src/App.js
@@ -1,80 +1,31 @@
-import React, { useEffect } from "react";
+import React from "react";
import Footer from "./shared-components/footer-component/Footer";
import Navbar from "./shared-components/navbar-component/Navbar";
import { BrowserRouter, Route, Switch } from "react-router-dom";
-import i18next from "i18next";
-import Cookies from "js-cookie";
import HomePage from "./homePage/Homepage";
import ListingsPage from "./listings-page/ListingsPage";
import AgentPage from "./agent-page/AgentPage";
-import ListingPage from "./listings-page/single-listing/listing-page";
+import ListingPage1 from "./listings-page/single-listing-1/listing-page-1";
+import ListingPage2 from "./listings-page/single-listing-2/listing-page-2";
+import ListingPage3 from "./listings-page/single-listing-3/listing-page-3";
+import ListingPage4 from "./listings-page/single-listing-4/listing-page-4";
import Login from "./login-page/Login";
import Account from "./login-page/account/Account";
import ContactUs from "./shared-components/contact-us/contact-us";
-const langauges = [
- {
- code: "fr",
- name: "Français",
- country_code: "fr",
- },
- {
- code: "en",
- name: "English",
- country_code: "gb",
- },
-];
-
function App() {
- const currentLanguageCode = Cookies.get("i18next") || "en";
- const currentLanguage = langauges.find(
- (lang) => lang.code === currentLanguageCode
- );
-
- useEffect(() => {
- document.body.dir = currentLanguage.dir || "ltr";
- }, [currentLanguage]);
return (
+ 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
+
+ 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
+
+ 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
+