wifi-tally_Oostendam/wifi-tally/hub/components/Layout.js

26 lines
646 B
JavaScript
Raw Normal View History

2021-09-27 19:52:27 +00:00
import Link from 'next/link'
const Layout = props => (
<div>
<nav className="navbar navbar-dark bg-primary">
<a className="navbar-brand" href="#">Tally Hub</a>
<ul className="navbar-nav mr-auto">
<li className="nav-item">
<Link href="/">
<a className="nav-link">Tallies</a>
</Link>
</li>
<li className="nav-item">
<Link href="/config">
<a className="nav-link">Configuration</a>
</Link>
</li>
</ul>
</nav>
<div id="content">
{props.children}
</div>
</div>
);
export default Layout;