diff --git a/frontend/src/components/navbar.tsx b/frontend/src/components/navbar.tsx index b2aab66..8ea547c 100644 --- a/frontend/src/components/navbar.tsx +++ b/frontend/src/components/navbar.tsx @@ -5,17 +5,20 @@ import Link from "next/link" import Image from "next/image" import { Button } from "@/components/ui/button" import { Sheet, SheetContent, SheetTrigger } from "@/components/ui/sheet" -import { Menu, Briefcase, User, LogIn } from "lucide-react" +import { Menu, User, LogIn } from "lucide-react" import { getCurrentUser } from "@/lib/auth" +import { useTranslation } from "@/lib/i18n" +import { LanguageSwitcher } from "@/components/language-switcher" export function Navbar() { const [isOpen, setIsOpen] = useState(false) const user = getCurrentUser() + const { t } = useTranslation() const navigationItems = [ - { href: "/vagas", label: "Vagas" }, - { href: "/sobre", label: "Sobre" }, - { href: "/contato", label: "Contato" }, + { href: "/vagas", label: t('nav.jobs') }, + { href: "/sobre", label: t('nav.about') }, + { href: "/contato", label: t('nav.contact') }, ] return ( @@ -42,8 +45,9 @@ export function Navbar() { ))} - {/* Desktop Auth Buttons */} + {/* Desktop Auth Buttons + Language Switcher */}
+ {user ? (