From 4bfb3b4250efa735aa265e924680a36a4b8bb1a7 Mon Sep 17 00:00:00 2001 From: Mohamed Bassem Date: Sat, 21 Dec 2024 21:35:35 +0000 Subject: feature: Add an admin notice about the usage of the legacy container images --- apps/web/components/dashboard/header/ProfileOptions.tsx | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'apps/web/components/dashboard/header/ProfileOptions.tsx') diff --git a/apps/web/components/dashboard/header/ProfileOptions.tsx b/apps/web/components/dashboard/header/ProfileOptions.tsx index 3dbfcf04..fc18e9d2 100644 --- a/apps/web/components/dashboard/header/ProfileOptions.tsx +++ b/apps/web/components/dashboard/header/ProfileOptions.tsx @@ -16,6 +16,8 @@ import { LogOut, Moon, Paintbrush, Settings, Shield, Sun } from "lucide-react"; import { signOut, useSession } from "next-auth/react"; import { useTheme } from "next-themes"; +import { AdminNoticeBadge } from "../admin/AdminNotices"; + function DarkModeToggle() { const { t } = useTranslation(); const { theme } = useTheme(); @@ -72,9 +74,12 @@ export default function SidebarProfileOptions() { {session.user.role == "admin" && ( - - - {t("admin.admin_settings")} + +
+ + {t("admin.admin_settings")} +
+
)} -- cgit v1.2.3-70-g09d2