diff --git a/src/components/Header.tsx b/src/components/Header.tsx index 2376240..a92eaf6 100644 --- a/src/components/Header.tsx +++ b/src/components/Header.tsx @@ -7,22 +7,29 @@ interface Props { export function Header({ user }: Props) { const {width, height} = useWindowDimensions(); const aspect_ratio = (width == 0 ? 1 : width) / (height == 0 ? 1 : height); - // eslint-disable-next-line @typescript-eslint/no-unused-vars const use_narrow = aspect_ratio < 1.3; return
+
+ + {/*App Name reloads home page*/}
-

{use_narrow ? "Narrow" : "Header"}

+

{use_narrow ? "Narrow" : "Budget19"}

+ {/*Pages*/}
diff --git a/src/router.tsx b/src/router.tsx index c4cb3d3..a1ff7cd 100644 --- a/src/router.tsx +++ b/src/router.tsx @@ -93,20 +93,29 @@ const tileset_weird: Array<{ text: string; rows: number; cols: number }> = [ ]; export const router = createBrowserRouter([ + // Header Links: { path: "/", element: , errorElement: <_404Page/> }, + { + path: "/dash", + element: , + }, + { + path: "/transactions", + element: , + }, + // --> + + { path: "/user-test", element: , errorElement: <_404Page/> }, - { - path: "/dash", - element: , - }, + { path: "/dash-2", element: ,