File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 11import React from "react" ;
22import { NavLink } from "react-router-dom" ;
33import { SignOutButton } from "../api" ;
4+ import Navbar from "react-bootstrap/Navbar" ;
5+ import Container from "react-bootstrap/Container" ;
46
57import "./AuthenticatedNavBar.css" ;
68
79export function AuthenticatedNavBar ( ) {
810 return (
9- < nav className = "Nav" >
10- < div className = "Nav-container" >
11+ < Navbar className = "Nav" >
12+ < Container className = "Nav-container" >
1113 < SignOutButton />
1214 < NavLink to = "/" className = "Nav-link" aria-label = "Home" >
1315 Home
@@ -22,7 +24,7 @@ export function AuthenticatedNavBar() {
2224 >
2325 Manage List
2426 </ NavLink >
25- </ div >
26- </ nav >
27+ </ Container >
28+ </ Navbar >
2729 ) ;
2830}
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ export function Layout({ user }: Props) {
1616 < header className = "Layout-header" >
1717 < h1 > Smart shopping list</ h1 >
1818 </ header >
19- < main className = "Layout-main" >
19+ < main className = "Layout-main vh-100 " >
2020 < Outlet />
2121 { ! user && < SignInButton /> }
2222 </ main >
You can’t perform that action at this time.
0 commit comments