-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Right-justified the 'signed in as' text
- Loading branch information
Delaney H
committed
Mar 25, 2024
1 parent
d48798f
commit a0d55a4
Showing
2 changed files
with
25 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,26 @@ | ||
import {Link} from "react-router-dom"; | ||
import {Nav, Navbar} from "react-bootstrap"; | ||
import Container from "react-bootstrap/Container"; | ||
import React from "react"; | ||
|
||
function NavBar() { | ||
return ( | ||
<div> | ||
<Link to="/">Home</Link> | ||
<Link to="/login">Login</Link> | ||
<Link to="/garage">Garage</Link> | ||
<Link to="/settings">Settings</Link> | ||
</div> | ||
<Navbar expand="lg" className="bg-body-tertiary"> | ||
<Container> | ||
<Navbar.Brand href="/garage">Driveline</Navbar.Brand> | ||
<Navbar.Toggle /> | ||
<Navbar.Collapse> | ||
<Nav> | ||
<Nav.Link href="/garage">Garage</Nav.Link> | ||
<Nav.Link href="/settings">Settings</Nav.Link> | ||
</Nav> | ||
|
||
</Navbar.Collapse> | ||
<Nav className={"ms-auto"}> | ||
<Navbar.Text >Signed in as: placeholder</Navbar.Text> | ||
</Nav> | ||
</Container> | ||
</Navbar> | ||
); | ||
} | ||
|
||
export default NavBar; | ||
export default NavBar; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters