From fe73bce834cdf9495af317d7ff5435b293d39d18 Mon Sep 17 00:00:00 2001 From: ectasy663 Date: Tue, 7 Jul 2026 15:23:05 +0530 Subject: [PATCH] Fix: Correct logo light/dark switching - dark_background for light mode, light_background for dark mode --- src/app/admin/layout.tsx | 13 ++-------- src/app/cbt/[examId]/page.tsx | 2 +- src/app/dashboard/layout.tsx | 23 ++---------------- src/app/dpp/review/[dppId]/page.tsx | 2 +- src/app/login/page.tsx | 13 ++-------- src/app/page.tsx | 4 ++-- src/app/signup/page.tsx | 13 ++-------- src/components/Logo.tsx | 37 +++++++++++++++++++++++++++++ 8 files changed, 49 insertions(+), 58 deletions(-) create mode 100644 src/components/Logo.tsx diff --git a/src/app/admin/layout.tsx b/src/app/admin/layout.tsx index 840c4b5..78a7747 100644 --- a/src/app/admin/layout.tsx +++ b/src/app/admin/layout.tsx @@ -3,8 +3,8 @@ import { ReactNode } from "react" import { LayoutDashboard, Users, Database, Terminal, Settings } from "lucide-react" import Link from "next/link" -import Image from "next/image" import { usePathname } from "next/navigation" +import { Logo } from "@/components/Logo" export default function AdminLayout({ children }: { children: ReactNode }) { const pathname = usePathname() @@ -14,16 +14,7 @@ export default function AdminLayout({ children }: { children: ReactNode }) { {/* Sidebar */}