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
4 changes: 2 additions & 2 deletions src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ nav{
display: flex;
justify-content: space-around;
align-content: center;
min-height: 10vh;
align-items: center;
min-height: 75px;
background: #1DA1F2;
color: white;
}
Expand All @@ -34,7 +35,6 @@ nav{
width: 30%;
display: flex;
justify-content: space-around;
align-items: center;
list-style: none;
}

Expand Down
4 changes: 2 additions & 2 deletions src/components/Nav.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ import Login from "./Login";
// Navigation bar components
function Nav() {
return (
<Router>
<Route>
<nav>
<img src={TwitterIcon} width="50" height="50"/>
<ul className="nav-links">
<Link to="/TwitterGame" className="navbar-button">Play Game</Link>
<Link to="/" className="navbar-button">Login/Signup</Link>
</ul>
</nav>
</Router>
</Route>
)
}

Expand Down