- Refactor BevyScene to replace script injection with dynamic import.

- Update `NavItem` to provide fallback route for invalid `path`.
- Temporarily stub metric API endpoints with placeholders.
This commit is contained in:
geoffsee
2025-07-01 12:28:44 -04:00
parent c3ea9ba599
commit 944b956ffd
3 changed files with 20 additions and 12 deletions

View File

@@ -5,7 +5,7 @@ function NavItem({ path, children, color, onClick, as, cursor }) {
return (
<Box
as={as ?? 'a'}
href={path}
href={path && path.length > 1 ? path : '/'}
mb={2}
cursor={cursor}
// ml={5}