diff --git a/src/App.js b/src/App.js
index 7ef9462..9eee6fd 100644
--- a/src/App.js
+++ b/src/App.js
@@ -20,11 +20,8 @@ class App extends Component {
{/* */}
-
+
- {/* */}
-
-
);
}
diff --git a/src/homePage/homePage.js b/src/homePage/homePage.js
index f95a614..86803fd 100644
--- a/src/homePage/homePage.js
+++ b/src/homePage/homePage.js
@@ -1,107 +1,123 @@
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 Carousel from 'react-bootstrap/Carousel'
+import "./Homepage.css";
+import house1 from "../images/house1.jpg";
+import house2 from "../images/house2.jpg";
+import house3 from "../images/house3.jpg";
+import Carousel from "react-bootstrap/Carousel";
class Homepage extends Component {
- constructor(props) {
- super(props);
- this.state = {
- firstname: '',
- lastname: '',
- email: '',
- message: ''
- }
- }
+ constructor(props) {
+ super(props);
+ this.state = {
+ firstname: "",
+ lastname: "",
+ email: "",
+ message: "",
+ };
+ }
- render() {
- return (
-
-
-
-
-
-
YOU ARE NOT BUYING A HOUSE,
- YOU ARE BUYING A LIFESTYLE.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ render() {
+ return (
+
+
+
+
+
+
YOU ARE NOT BUYING A HOUSE,
+ YOU ARE BUYING A LIFESTYLE.
+
- );
- }
+
+
+
+
+
+ );
+ }
- onNameChange(event) {
- this.setState({ name: event.target.value })
- }
+ onNameChange(event) {
+ this.setState({ name: event.target.value });
+ }
- onEmailChange(event) {
- this.setState({ email: event.target.value })
- }
+ onEmailChange(event) {
+ this.setState({ email: event.target.value });
+ }
- onMessageChange(event) {
- this.setState({ message: event.target.value })
- }
+ onMessageChange(event) {
+ this.setState({ message: event.target.value });
+ }
- handleSubmit(event) {
- }
+ handleSubmit(event) {}
}
export default Homepage;
diff --git a/src/shared-components/navbar-component/Navbar.js b/src/shared-components/navbar-component/Navbar.js
index 7273a59..1c4cbb3 100644
--- a/src/shared-components/navbar-component/Navbar.js
+++ b/src/shared-components/navbar-component/Navbar.js
@@ -1,5 +1,5 @@
import React from "react";
-import { Link } from "react-router-dom";
+import { Link, withRouter } from "react-router-dom";
import "./Navbar.css";
/* eslint-disable jsx-a11y/anchor-is-valid */
const Navbar = () => {
@@ -25,7 +25,7 @@ const Navbar = () => {
-
-
+
Home
@@ -51,4 +51,4 @@ const Navbar = () => {
);
};
-export default Navbar;
+export default withRouter(Navbar);