Implement public/private routing

This commit is contained in:
2020-08-19 20:04:52 +02:00
parent 125a03f529
commit ec65c3b9dd
13 changed files with 110 additions and 82 deletions

View File

@@ -16,13 +16,11 @@ export default function NavBar({ title }) {
alignItems: 'center',
}}
>
{/* This hidden nav is a hack to have the title perfectly centered. */}
<Nav style={{ visibility: 'hidden' }}>
{/* This hidden nav is a hack to have the title perfectly centered. */}
<MenuDropdown />
</Nav>
<div>
<h3>{title}</h3>
</div>
<MenuDropdown />
</Navbar.Body>
</Navbar>