import { resumeAvailable } from '@/data/resume' import { useI18n } from '@/i18n/provider' import { useResumeDialog } from '@/hooks/useResumeDialog' import { ResumeDialog } from '@/components/ui/ResumeDialog' import { ResumeIcon } from '@/components/ui/icons' /** * Bar entry for the resume: an icon-only `.nav-control` in the brand group, right after the home * icon, opening the same language dialog the hero CTA opens. The icon is decorative — the * accessible name is the translated action in `aria-label`, the hint is the `title`. */ export function ResumeNavButton() { const { ui: s } = useI18n() const { open, openDialog, close, containerRef, triggerRef, panelRef } = useResumeDialog() if (!resumeAvailable) return null return (