Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 2 additions & 12 deletions src/components/About.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,10 @@ function About() {
<div class="container">
<div class="row align-items-center my-5">
<div class="col-lg-7">
<img
class="img-fluid rounded mb-4 mb-lg-0"
src="http://placehold.it/900x400"
alt=""
/>
<img class="img-fluid rounded mb-4 mb-lg-0" src="" alt="" />
</div>
<div class="col-lg-5">
<h1 class="font-weight-light">About</h1>
<p>
Lorem Ipsum is simply dummy text of the printing and typesetting
industry. Lorem Ipsum has been the industry's standard dummy text
ever since the 1500s, when an unknown printer took a galley of
type and scrambled it to make a type specimen book.
</p>
<p>about</p>
</div>
</div>
</div>
Expand Down
14 changes: 2 additions & 12 deletions src/components/Contact.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,10 @@ function Contact() {
<div class="container">
<div class="row align-items-center my-5">
<div class="col-lg-7">
<img
class="img-fluid rounded mb-4 mb-lg-0"
src="http://placehold.it/900x400"
alt=""
/>
<img class="img-fluid rounded mb-4 mb-lg-0" src="" alt="" />
</div>
<div class="col-lg-5">
<h1 class="font-weight-light">Contact</h1>
<p>
Lorem Ipsum is simply dummy text of the printing and typesetting
industry. Lorem Ipsum has been the industry's standard dummy text
ever since the 1500s, when an unknown printer took a galley of
type and scrambled it to make a type specimen book.
</p>
<p>contact</p>
</div>
</div>
</div>
Expand Down
8 changes: 3 additions & 5 deletions src/components/Footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@ import React from "react";

function Footer() {
return (
<div className="footer">
<footer class="py-5 bg-dark fixed-bottom">
<div className="fooer">
<footer class="bg-light fixed-bottm">
<div class="container">
<p class="m-0 text-center text-white">
Copyright &copy; Your Website 2020
</p>
<p class="m-0 text-center text-whit"></p>
</div>
</footer>
</div>
Expand Down
14 changes: 2 additions & 12 deletions src/components/Home.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,10 @@ function Home() {
<div class="container">
<div class="row align-items-center my-5">
<div class="col-lg-7">
<img
class="img-fluid rounded mb-4 mb-lg-0"
src="http://placehold.it/900x400"
alt=""
/>
<img class="img-fluid rounded mb-4 mb-lg-0" src="" alt="" />
</div>
<div class="col-lg-5">
<h1 class="font-weight-light">Home</h1>
<p>
Lorem Ipsum is simply dummy text of the printing and typesetting
industry. Lorem Ipsum has been the industry's standard dummy text
ever since the 1500s, when an unknown printer took a galley of
type and scrambled it to make a type specimen book.
</p>
<p>Home</p>
</div>
</div>
</div>
Expand Down
30 changes: 2 additions & 28 deletions src/components/Navigation.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,41 +4,15 @@ import { Link, withRouter } from "react-router-dom";
function Navigation(props) {
return (
<div className="navigation">
<nav class="navbar navbar-expand navbar-dark bg-dark">
<nav class="navbar navbarf-expand navbar-light bg-light">
<div class="container">
<Link class="navbar-brand" to="/">
React Multi-Page Website
</Link>
<div>
<ul class="navbar-nav ml-auto">
<li
class={`nav-item ${
props.location.pathname === "/" ? "active" : ""
}`}
>
<Link class="nav-link" to="/">
Home
<span class="sr-only">(current)</span>
</Link>
</li>
<li
class={`nav-item ${
props.location.pathname === "/about" ? "active" : ""
}`}
>
<Link class="nav-link" to="/about">
About
</Link>
</li>
<li
class={`nav-item ${
props.location.pathname === "/contact" ? "active" : ""
}`}
>
<Link class="nav-link" to="/contact">
Contact
</Link>
</li>
></li>
</ul>
</div>
</div>
Expand Down