forked from Itera/graduate-case-base
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #30 from Itera/spa-topbar
Spa topbar
- Loading branch information
Showing
7 changed files
with
48 additions
and
2 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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import { NavLink } from "react-router-dom"; | ||
import "./navbar.css"; | ||
import ExplorerLogo from "./assets/ExploreLogo.svg" | ||
import Persona from "./assets/Persona.png" | ||
|
||
function Navbar() { | ||
return( | ||
<nav className="Navbar-container"> | ||
<NavLink to="/"><img src={ExplorerLogo} alt="Explorer Logo"/></NavLink> | ||
<NavLink to="/" className="Navbar-title"> | ||
SPA | ||
</NavLink> | ||
<NavLink to="/"><img src={Persona} alt="Profile Picture" width={50}/></NavLink> | ||
</nav> | ||
) | ||
} | ||
|
||
export default Navbar; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
.Navbar-container{ | ||
position: sticky; | ||
top:0; | ||
display: flex; | ||
align-items: center; | ||
justify-content: space-evenly; | ||
width: 100%; | ||
background-color: #0a2242; | ||
} | ||
.Navbar-title{ | ||
color: white; | ||
font-size: 5em; | ||
} |
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
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
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