"use client"; import * as React from "react"; import Link from "next/link"; import { usePathname } from "next/navigation"; import { BarChart3, Boxes, MessageSquare, Swords, UserRound } from "lucide-react"; import { cn } from "@/lib/utils"; export const MOBILE_TABS = [ { href: "/app/chat", label: "Chat", icon: MessageSquare, match: /^\/app\/(chat|projects|prompts|presets)/ }, { href: "/app/arena", label: "Arena", icon: Swords, match: /^\/app\/arena/ }, { href: "/app/models", label: "Models", icon: Boxes, match: /^\/app\/models/ }, { href: "/app/usage", label: "Usage", icon: BarChart3, match: /^\/app\/usage/ }, { href: "/app/settings/account", label: "Account", icon: UserRound, match: /^\/app\/settings/ }, ] as const; /** * Persistent bottom navigation for phones. Hidden automatically while the on-screen keyboard is open * (`html[data-keyboard]`) so the composer sits directly above the keyboard. */ export function BottomNav({ className }: { className?: string }) { const pathname = usePathname(); return ( ); }