2021-03-28 21:20:05 +00:00
|
|
|
import { Component } from "react";
|
2021-03-31 04:30:37 +00:00
|
|
|
import Footer from "./shared-components/footer-component/Footer";
|
|
|
|
import Navbar from "./shared-components/navbar-component/Navbar";
|
|
|
|
import { BrowserRouter, Route } from "react-router-dom";
|
|
|
|
import HomePage from "./homePage/homePage";
|
|
|
|
import ListingsPage from "./listings-page/listings-page";
|
|
|
|
import AgentPage from "./agent-page/agent-page";
|
|
|
|
import ContactUs from "./shared-components/Contact-us/Contact-us";
|
2021-03-28 15:39:48 +00:00
|
|
|
|
2021-03-28 21:20:05 +00:00
|
|
|
class App extends Component {
|
|
|
|
render() {
|
|
|
|
return (
|
|
|
|
<div className="App">
|
2021-03-31 04:30:37 +00:00
|
|
|
<BrowserRouter>
|
|
|
|
<Navbar></Navbar>
|
|
|
|
<Route path="/home" component={HomePage}></Route>
|
|
|
|
<Route path="/listings" component={ListingsPage}></Route>
|
|
|
|
<Route path="/agents" component={AgentPage}></Route>
|
|
|
|
<Route path="/contact-us" component={ContactUs}></Route>
|
|
|
|
</BrowserRouter>
|
|
|
|
|
|
|
|
<Footer></Footer>
|
2021-03-28 21:20:05 +00:00
|
|
|
</div>
|
|
|
|
);
|
|
|
|
}
|
2021-03-28 15:39:48 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
export default App;
|