"use client"; import { Activity, Globe2, LineChart, Radio, Search } from "lucide-react"; import Link from "next/link"; import { usePathname } from "next/navigation"; import { cx } from "@/lib/format"; import { useSearch } from "./search-dialog"; const TABS = [ { href: "/markets", label: "Markets", icon: LineChart, match: /^\/(markets|stocks|etfs|indices|crypto|forex|rates|commodities|instruments|compare)/ }, { href: "/live", label: "Live", icon: Radio, match: /^\/live/ }, { href: "#search", label: "Search", icon: Search, match: /^\/search/ }, { href: "/events", label: "Events", icon: Activity, match: /^\/(events|halts|filings)/ }, { href: "/exchanges", label: "World", icon: Globe2, match: /^\/(exchanges|countries)/ }, ]; export function MobileTabBar() { const path = usePathname(); const { open } = useSearch(); return ( ); }