46 lines
1.3 KiB
TypeScript
46 lines
1.3 KiB
TypeScript
//
|
|
// Copyright 2026 James Pace
|
|
//
|
|
// This Source Code Form is subject to the terms of the Mozilla Public
|
|
// License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
|
//
|
|
// This Source Code Form is "Incompatible With Secondary Licenses", as
|
|
// defined by the Mozilla Public License, v. 2.0.
|
|
//
|
|
import { Navbar, Nav, Container } from "react-bootstrap";
|
|
import { Link } from "react-router-dom";
|
|
|
|
export function AppNav() {
|
|
return (
|
|
<Navbar bg="dark" variant="dark" expand="sm" className="py-0">
|
|
<Container className="me-auto">
|
|
<Navbar.Brand as={Link} to="/">
|
|
J7s-Bridge
|
|
</Navbar.Brand>
|
|
<Navbar.Toggle aria-controls="collapse-navbar-nav" />
|
|
<Navbar.Collapse id="collapse-navbar-nav">
|
|
<Nav className="me-auto">
|
|
<Nav.Link as={Link} to="/">
|
|
Home
|
|
</Nav.Link>
|
|
<Nav.Link as={Link} to="/version">
|
|
Version
|
|
</Nav.Link>
|
|
<Nav.Link as={Link} to="/whoami">
|
|
WhoAmI
|
|
</Nav.Link>
|
|
<Nav.Link as={Link} to="/autonomy">
|
|
Autonomy
|
|
</Nav.Link>
|
|
</Nav>
|
|
</Navbar.Collapse>
|
|
</Container>
|
|
</Navbar>
|
|
);
|
|
}
|
|
|
|
export function Footer() {
|
|
return <p className="footer">Copyright 2026 James Pace</p>;
|
|
}
|