"use client"; import { IconHome, IconSearch, IconSettings } from "@tabler/icons-react"; import { motion } from "motion/react"; import Link from "next/link"; import { usePathname } from "next/navigation"; import { useSession } from "@/lib/auth/client"; const tabs = [ { href: "/dashboard", label: "Home", icon: IconHome }, { href: "/search", label: "Search", icon: IconSearch }, { href: "/settings", label: "Settings", icon: IconSettings }, ] as const; export function MobileTabBar() { const { data: session } = useSession(); const pathname = usePathname(); if (!session?.user) return null; return ( ); }