reinvest/frontend/src/components/Nav.js
2021-01-31 03:44:14 -05:00

46 lines
1.3 KiB
JavaScript

import React from "react";
const Nav = (props) => {
return (
<nav className="navbar navbar-expand-lg navbar-dark bg-dark">
<button
className="navbar-toggler"
type="button"
data-toggle="collapse"
data-target="#navbarNavDropdown"
aria-controls="navbarNavDropdown"
aria-expanded="false"
aria-label="Toggle navigation"
>
<span className="navbar-toggler-icon"></span>
</button>
<div className="collapse navbar-collapse" id="navbarNavDropdown">
<ul className="navbar-nav mr-auto">
<li className="nav-item">
<a className="nav-link text-white" href="/">
Portfolio <span className="sr-only">(current)</span>
</a>
</li>
<li className="nav-item">
<a className="nav-link text-white" href="/profile">
Profile <span className="sr-only">(current)</span>
</a>
</li>
<li className="nav-item">
<a className="nav-link text-white" href="/banking">
Bank
</a>
</li>
<li className="nav-item">
<a className="nav-link text-white" href="/browse">
Browse
</a>
</li>
</ul>
</div>
</nav>
);
};
export default Nav;