Remove tach from aircraft

This commit is contained in:
april
2024-01-10 13:55:54 -06:00
parent 9e4520b218
commit 1958f6dc5f
8 changed files with 392 additions and 59 deletions

View File

@@ -3,8 +3,9 @@ import { Stack, NavLink } from "@mantine/core";
import { Link, useLocation } from "@remix-run/react";
import {
IconBook2,
IconDashboard,
IconLogout,
IconPlaneDeparture,
IconPlaneTilt,
IconUser,
} from "@tabler/icons-react";
@@ -28,7 +29,7 @@ export default function Navbar({
component={Link}
to="/logbook/dashboard"
label="Dashboard"
leftSection={<IconPlaneDeparture />}
leftSection={<IconDashboard />}
active={page == "dashboard"}
onClick={() => (opened ? toggle() : null)}
/>
@@ -41,6 +42,15 @@ export default function Navbar({
active={page === "flights"}
onClick={() => (opened ? toggle() : null)}
/>
<NavLink
p="md"
component={Link}
to="/logbook/aircraft"
label="Aircraft"
leftSection={<IconPlaneTilt />}
active={page === "aircraft"}
onClick={() => (opened ? toggle() : null)}
/>
</Stack>
<Stack gap="0">
<NavLink