changed the file path

This commit is contained in:
soyed 2021-03-31 21:01:55 -04:00
parent 02bedb776c
commit c59aa0d2e2
4 changed files with 20530 additions and 29 deletions

20537
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -2,7 +2,7 @@ import { Component } from "react";
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 HomePage from "./homePage/Homepage";
import ListingsPage from "./listings-page/ListingsPage";
import AgentPage from "./agent-page/AgentPage";
// import ContactUs from "./shared-components/Contact-us/Contact-us";

View file

@ -1,11 +1,11 @@
import { Component } from "react";
import "./homePage.css";
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 {
class Homepage extends Component {
constructor(props) {
super(props);
this.state = {
@ -120,4 +120,4 @@ class homePage extends Component {
handleSubmit(event) {}
}
export default homePage;
export default Homepage;

View file

@ -1,7 +1,7 @@
import React from "react";
import { Link, withRouter } from "react-router-dom";
import "./Navbar.css";
import logo from './logo2.png';
import logo from "./logo2.png";
/* eslint-disable jsx-a11y/anchor-is-valid */
const Navbar = () => {
return (
@ -35,11 +35,23 @@ const Navbar = () => {
Listings
</Link>
</li>
<li className="nav-item">
<Link className="nav-link" to="/agents">
Agents
</Link>
</li>
<li className="nav-item">
<Link className="nav-link" to="/">
Contact Us
</Link>
</li>
<li className="nav-item">
<Link className="nav-link" to="/">
Login
</Link>
</li>
</ul>
</div>
</nav>