'use client'; import useGlobalStore from '@/config/use-global'; import { buttonVariants } from '@workspace/ui/components/button'; import { cn } from '@workspace/ui/lib/utils'; import { useTranslations } from 'next-intl'; import Image from 'next/legacy/image'; import Link from 'next/link'; import LanguageSwitch from '../language-switch'; // import ThemeSwitch from '../theme-switch'; import { UserNav } from '../user-nav'; import ImageLogo from './image.png'; export default function Header() { const t = useTranslations('common'); const { user } = useGlobalStore(); const Logo = ( logo ); return (
{/**/} {!user && ( {t('login')} )}
); }