From f31e4e08004351dae8b20218aa2347b9a094a8c9 Mon Sep 17 00:00:00 2001 From: Kroonk Date: Thu, 21 May 2026 11:18:34 +0200 Subject: [PATCH] ux: completely replace auth modal with a sleek inline auth dropdown in header --- client/src/app/layout.tsx | 4 +- client/src/components/Header.tsx | 14 +- .../components/auth/AuthDropdownContent.tsx | 182 ++++++++++++++++ client/src/components/auth/AuthModal.tsx | 194 ------------------ 4 files changed, 194 insertions(+), 200 deletions(-) create mode 100644 client/src/components/auth/AuthDropdownContent.tsx delete mode 100644 client/src/components/auth/AuthModal.tsx diff --git a/client/src/app/layout.tsx b/client/src/app/layout.tsx index 8ca42a3..69721b3 100644 --- a/client/src/app/layout.tsx +++ b/client/src/app/layout.tsx @@ -4,7 +4,7 @@ import type { ReactNode } from "react"; import Footer from "@/components/Footer"; import Header from "@/components/Header"; -import AuthModal from "@/components/auth/AuthModal"; + import ContextProvider from "@/context/ContextProvider"; @@ -46,7 +46,7 @@ export default function RootLayout({ children }: { children: ReactNode }) { {children} - +