'use client';
import { usePathname, useRouter } from 'next/navigation';
import { CalendarCheck, Home, User } from 'lucide-react';
import classNames from 'classnames';
export default function BottomMenuComponent() {
const pathname = usePathname();
const router = useRouter();
const menus = [
{
label: 'Beranda',
icon: (active) => ,
path: '/beranda',
},
{
label: 'Kehadiran',
icon: (active) => ,
path: '/attendance',
},
{
label: 'Profil',
icon: (active) => ,
path: '/profile',
},
];
return (
{menus.map((menu) => {
const isActive = pathname === menu.path;
return (
);
})}
);
}