"use client"; import { Search, Activity } from "lucide-react"; import { useT } from "@/i18n/context"; import { ThemeToggle } from "./theme-toggle"; import { LanguageToggle } from "./language-toggle"; export function Header() { const { dict } = useT(); const now = new Date(); const date = now.toLocaleDateString(undefined, { weekday: "long", day: "2-digit", month: "short", year: "numeric", }); return (
{dict.header.shift} ยท {date}
{dict.header.user}
{dict.header.role}
NP
); }