// app/tabs/layout.tsx "use client"; import Link from "next/link"; import { ReactNode } from "react"; import { usePathname } from "next/navigation"; import clsx from "clsx"; import { GoHomeFill } from "react-icons/go"; import { HiViewGrid } from "react-icons/hi"; import { FaBookmark } from "react-icons/fa"; import { HiCog6Tooth } from "react-icons/hi2"; const tabs = [ { name: "Home", href: "/home", component: }, { name: "Categories", href: "/categories", component: , }, { name: "Bookmark", href: "/bookmark", component: }, { name: "Settings", href: "/settings", component: }, ]; export default function TabsLayout({ children }: { children: ReactNode }) { const pathname = usePathname(); return (
{children}
); }