import { Dialog } from '@base-ui/react/dialog'; import clsx from 'clsx'; import { ArrowUpRight } from 'lucide-react'; import Logo from '@/assets/logos/videojs.svg?react'; import BetaPill from '@/components/BetaPill'; import { DISCORD_INVITE_URL, GITHUB_REPO_URL } from '@/consts'; import GetStartedLink from './GetStartedLink'; interface NavLink { href: string; label: string; matchPath: string | null; external?: boolean; } export interface MobileNavProps { navLinks: NavLink[]; currentPath: string; children?: React.ReactNode; } export default function MobileNav({ navLinks, currentPath, children }: MobileNavProps) { return ( {/* Trigger button - hamburger menu */} Menu {/* Portal renders outside DOM hierarchy */} {/* Popup container */} {/* Header with close button */}
Navigation Video.js video player Close
{children}
{/* Navigation links */}

The open source player for the web

); }