import React from 'react'; import { NavLink, useParams } from 'react-router-dom'; import { Button } from '@/components/ui/button'; import { GalleryHorizontal, Home, Trophy } from 'lucide-react'; function TabLink({ to, children }: { to: string; children: React.ReactNode }) { return ( (isActive ? 'text-foreground' : 'text-muted-foreground')}> {children} ); } export default function BottomNav() { const { slug } = useParams(); const base = `/e/${encodeURIComponent(slug ?? 'demo')}`; return (
); }