import { useState } from "react"; import { Link, useLocation } from "wouter"; import { Sparkles, Image as ImageIcon, Video, Key, LogIn, LogOut, User, Shield } from "lucide-react"; import { cn } from "@/lib/utils"; import { SettingsButton } from "@/components/SettingsDialog"; import { useLang } from "@/contexts/LanguageContext"; import { useAuth } from "@/contexts/AuthContext"; import { AuthModal } from "@/components/AuthModal"; export function Navbar() { const [location] = useLocation(); const { lang, setLang, t } = useLang(); const { user, isSignedIn, isAdmin, signOut } = useAuth(); const [authOpen, setAuthOpen] = useState(false); return ( <> ); }