|
@@ -5,6 +5,7 @@ import { Home, LogIn, UserPlus, LogOut, User } from "lucide-react";
|
|
|
|
|
|
import { useI18n } from "locales/client";
|
|
import { useI18n } from "locales/client";
|
|
import Logo from "@public/logo.png";
|
|
import Logo from "@public/logo.png";
|
|
|
|
+import { ThemeToggle } from "@/features/theme/ThemeToggle";
|
|
import { ReleaseNotesDialog } from "@/features/release-notes";
|
|
import { ReleaseNotesDialog } from "@/features/release-notes";
|
|
import { useLogout } from "@/features/auth/model/useLogout";
|
|
import { useLogout } from "@/features/auth/model/useLogout";
|
|
import { useSession } from "@/features/auth/lib/auth-client";
|
|
import { useSession } from "@/features/auth/lib/auth-client";
|
|
@@ -53,6 +54,8 @@ export const Header = () => {
|
|
|
|
|
|
<ReleaseNotesDialog />
|
|
<ReleaseNotesDialog />
|
|
|
|
|
|
|
|
+ <ThemeToggle />
|
|
|
|
+
|
|
<div className="dropdown dropdown-end">
|
|
<div className="dropdown dropdown-end">
|
|
<div className="btn btn-ghost btn-circle avatar" role="button" tabIndex={0}>
|
|
<div className="btn btn-ghost btn-circle avatar" role="button" tabIndex={0}>
|
|
<div className="w-8 rounded-full bg-primary text-primary-content !flex items-center justify-center text-sm font-medium">
|
|
<div className="w-8 rounded-full bg-primary text-primary-content !flex items-center justify-center text-sm font-medium">
|