'use client'; import React from 'react'; import { Menu } from 'lucide-react'; import { useTranslations } from 'next-intl'; import type { CabinetSection } from '../lib/types'; // ─── Props ───────────────────────────────────────────────────────────────────── interface CabinetNavProps { activeSection: CabinetSection; onMenuClick: () => void; } // ─── Component ───────────────────────────────────────────────────────────────── export const CabinetNav: React.FC = ({ activeSection, onMenuClick, }) => { const t = useTranslations('Cabinet'); const SECTION_LABELS: Record = { dashboard: t('dashboard'), plagiat: t('plagiatChecks'), si: t('siNav'), payments: t('payments'), profile: t('profile'), }; return (

{SECTION_LABELS[activeSection]}

); };