"use client"; import Link from "next/link"; import { MulticaIcon } from "@/components/multica-icon"; import { cn } from "@/lib/utils"; import { useAuthStore } from "@/features/auth"; import { useLocale } from "../i18n"; import { GitHubMark, githubUrl, headerButtonClassName } from "./shared"; export function LandingHeader({ variant = "dark", }: { variant?: "dark" | "light"; }) { const { t } = useLocale(); const user = useAuthStore((s) => s.user); return (
multica
{t.header.github} {user ? t.header.dashboard : t.header.login}
); }