From 35adc7db03e1f1532b40212b0b056be846045226 Mon Sep 17 00:00:00 2001 From: nzambello Date: Sat, 18 Feb 2023 21:41:51 +0100 Subject: [PATCH] refactor: add active styles for nav --- app/root.tsx | 66 +++++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 58 insertions(+), 8 deletions(-) diff --git a/app/root.tsx b/app/root.tsx index ea1459f..301775e 100644 --- a/app/root.tsx +++ b/app/root.tsx @@ -274,7 +274,12 @@ function Layout({ children }: React.PropsWithChildren<{}>) { - Home + + Home + ) { - Time entries + + Time entries + ) { - Projects + + Projects + ({ display: 'block', width: '100%', @@ -361,7 +384,16 @@ function Layout({ children }: React.PropsWithChildren<{}>) { - Report + + Report + ) { - Import/Export + + Import/Export + ({ display: 'block', width: '100%', @@ -419,7 +460,16 @@ function Layout({ children }: React.PropsWithChildren<{}>) { - Statistics + + Statistics +