diff --git a/refer_landing_page/app/console/_components/AdminComponents.tsx b/refer_landing_page/app/console/_components/AdminComponents.tsx index 8dd46df..5473f1a 100644 --- a/refer_landing_page/app/console/_components/AdminComponents.tsx +++ b/refer_landing_page/app/console/_components/AdminComponents.tsx @@ -3,6 +3,7 @@ import React, { useState } from "react"; import Link from "next/link"; import { useRouter } from "next/navigation"; +import ThemeToggle from "@/components/ThemeToggle"; export function getClientToken(): string { if (typeof window === "undefined") return ""; @@ -25,12 +26,15 @@ export function removeClientToken() { export function AdminHeader({ title, description, action }: { title: string; description?: string; action?: React.ReactNode }) { return ( -
{description}
}Enter your admin bearer token to manage laboratory datasets.
diff --git a/refer_landing_page/app/console/layout.tsx b/refer_landing_page/app/console/layout.tsx index 525d196..04730dd 100644 --- a/refer_landing_page/app/console/layout.tsx +++ b/refer_landing_page/app/console/layout.tsx @@ -6,6 +6,7 @@ import { usePathname, useRouter } from "next/navigation"; import { getClientToken, removeClientToken } from "./_components/AdminComponents"; import { AdminLoginForm } from "./_components/AdminLoginForm"; import { adminVerifyToken } from "../../lib/adminApi"; +import ThemeToggle from "@/components/ThemeToggle"; export default function AdminLayout({ children }: { children: React.ReactNode }) { const pathname = usePathname(); @@ -98,7 +99,10 @@ export default function AdminLayout({ children }: { children: React.ReactNode })Lab Data Management