"use client"; import React from "react"; import { Button } from "@nextui-org/react"; import { useTranslation } from "react-i18next"; import { DynamicLogo } from "@/shared/components/DynamicLogo"; import { useAuth } from "@/shared/lib/useAuth"; import { NavigationItem } from "@/shared/components/Navigation"; import Link from "next/link"; interface NavigationProps { items?: NavigationItem[]; } export const Navigation: React.FC = ({ items }) => { const { t } = useTranslation(); const { handleLogin } = useAuth(); return (
{/* Classic Header */}
{/* Classic Navigation */}
{( items || [ { label: "Home", href: "/", }, ] )?.map((item) => ( {t(item.label)} ))}
); };