From 6c993511bfbb7c96fd1db08ad04be6f85cac0d62 Mon Sep 17 00:00:00 2001 From: rei Date: Wed, 28 Dec 2022 20:32:16 +0100 Subject: [PATCH] mobile navigation --- components/Navbar.tsx | 66 +++++++++++++++++++++---------------------- 1 file changed, 33 insertions(+), 33 deletions(-) diff --git a/components/Navbar.tsx b/components/Navbar.tsx index e930a6c..5097f7e 100644 --- a/components/Navbar.tsx +++ b/components/Navbar.tsx @@ -25,7 +25,7 @@ export const Navbar = () => { .dev -
+
{links.map(({ name, href }) => (
-
+
- - {showMenu && ( - <> - - - -
- {links.map(({ name, href }) => ( - - - - ))} -
-
- - )} -
+ + {showMenu && ( +
+ + + +
+ {links.map(({ name, href }) => ( + + + + ))} +
+
+
+ )} +
); };