import { clsx } from 'clsx'; import { Button } from '@/components/shared/ui/button'; import Link from 'next/link'; /** * A component meant to be used as a child of LandingHeader. * It represents a single navigation item, which can be a link or a button. */ export const LandingHeaderMenuItem = ({ href = '#', label = '', type = 'link', onClick, variant = 'primary', className, children, }: { href?: string; label?: string | React.ReactNode; type?: 'button' | 'link' | 'icon-button'; onClick?: () => void; variant?: 'primary' | 'secondary' | 'ghost'; className?: string; children?: React.ReactNode; }) => { if (type === 'button' || type === 'icon-button') { return ( ); } return ( {children || label} ); };