"use client"; import Link from "next/link"; import { usePathname } from "next/navigation"; import { GearIcon, HomeIcon, PlusIcon } from "@/components/icons"; import { openSettings } from "@/lib/ui-events"; import { cn } from "@/lib/utils"; /** * iOS-style bottom tab bar. Rendered on the library and create screens on * phones; hidden on desktop (the header carries the same actions there) and on * the full-screen study feed. */ export function TabBar() { const pathname = usePathname(); const item = "flex flex-1 flex-col items-center justify-center gap-1 py-2 text-[11px] font-medium transition-colors"; const active = "text-[var(--text)]"; const idle = "text-[var(--text-subtle)]"; return ( ); }