import Image from "next/image"; import Link from "next/link"; import { LanguageToggle } from "@/components/language-toggle"; import { MobileNav } from "@/components/mobile-nav"; import { NavLinks } from "@/components/nav-links"; import { ThemeToggle } from "@/components/theme-toggle"; import { getBasePath, getDirection, portfolioContent, sharedProfile, type Language } from "@/data/portfolio"; export function Navbar({ language }: { language: Language }) { const dir = getDirection(language); const t = portfolioContent[language].ui; const brandName = language === "ar" ? sharedProfile.brandNameAr : sharedProfile.brandNameEn; const basePath = getBasePath(language); const navItems = [ { label: t.navAbout, href: `${basePath}#about` }, { label: t.navPhilosophy, href: `${basePath}#philosophy` }, { label: t.navProjects, href: `${basePath}#projects` }, { label: t.awards, href: `${basePath}#awards` }, { label: t.navContact, href: `${basePath}#contact` }, ]; return (
{language

{brandName}

{brandName}

{t.architectureEngineer}

); }