From 16252ee5a23776d3738f4ffc870576b8afa06a9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o?= <43091603+glazk0@users.noreply.github.com> Date: Sun, 5 Feb 2023 18:28:55 +0100 Subject: [PATCH] Responsive Sidenav --- app/(auth)/sign-in/page.tsx | 15 ++++ app/(auth)/sign-up/page.tsx | 15 ++++ app/dashboard/layout.tsx | 9 +- app/dashboard/puzzles/page.tsx | 2 +- app/layout.tsx | 1 + lib/nav-items.ts | 6 ++ next.config.js | 2 + package.json | 4 +- pnpm-lock.yaml | 12 +-- ui/Icon.tsx | 5 ++ ui/dashboard/Sidenav.tsx | 150 ++++++++++++++++++++++++++------- ui/dashboard/Wrapper.tsx | 43 ++++++++++ 12 files changed, 216 insertions(+), 48 deletions(-) create mode 100644 app/(auth)/sign-in/page.tsx create mode 100644 app/(auth)/sign-up/page.tsx create mode 100644 ui/Icon.tsx create mode 100644 ui/dashboard/Wrapper.tsx diff --git a/app/(auth)/sign-in/page.tsx b/app/(auth)/sign-in/page.tsx new file mode 100644 index 0000000..35289f2 --- /dev/null +++ b/app/(auth)/sign-in/page.tsx @@ -0,0 +1,15 @@ +import AppLink from '@/ui/AppLink'; + +export default function Home() { + return ( +