From 3b63a4ce00b872191e7485574e01207a6fb0a24d Mon Sep 17 00:00:00 2001 From: datalore Date: Sun, 18 Feb 2024 09:53:52 +0100 Subject: [PATCH] feat: Improved navbar for mobile devices --- src/app/components/themeswitcher.tsx | 2 +- src/app/layout.tsx | 37 ++++++++++++++++------------ 2 files changed, 22 insertions(+), 17 deletions(-) diff --git a/src/app/components/themeswitcher.tsx b/src/app/components/themeswitcher.tsx index 4c7c467..deee393 100644 --- a/src/app/components/themeswitcher.tsx +++ b/src/app/components/themeswitcher.tsx @@ -9,7 +9,7 @@ export default function ThemeSwitcher(){ React.useEffect(() => {document.body.setAttribute("data-theme", theme)}); return( -