From bd0cfb6fa3c32470b7cae24392e48f4f0061305c Mon Sep 17 00:00:00 2001 From: Sam Becker Date: Mon, 10 Mar 2025 22:59:54 -0500 Subject: [PATCH] Fix page centering, upgrade semantic markup --- app/layout.tsx | 50 +++++++++++++++++++++++++------------------------ src/app/Nav.tsx | 4 ++-- 2 files changed, 28 insertions(+), 26 deletions(-) diff --git a/app/layout.tsx b/app/layout.tsx index 60efe2c7..7783cb75 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -74,38 +74,40 @@ export default function RootLayout({ // Suppress hydration errors due to next-themes behavior suppressHydrationWarning > - + -
+
diff --git a/src/app/Nav.tsx b/src/app/Nav.tsx index 4da1f96c..a50c469d 100644 --- a/src/app/Nav.tsx +++ b/src/app/Nav.tsx @@ -61,7 +61,7 @@ export default function Nav({ type={!isPathAdmin(pathname) ? 'bottom' : 'none'} distanceOffset={10} items={showNav - ? [
}
- ] + ] : []} /> }