'use client'; import React from 'react'; import Link from 'next/link'; import { usePathname } from 'next/navigation'; import { Truck, Navigation, Settings } from 'lucide-react'; export const LogisticsHeaderNav: React.FC = () => { const pathname = usePathname(); const tabs = [ { id: 'delhivery', name: 'Delhivery One (Trial)', href: '/delhivery-logistics', icon: Navigation, badge: 'Trial Active', match: pathname === '/delhivery-logistics', }, { id: 'shiprocket', name: 'Shiprocket', href: '/logistics', icon: Truck, match: pathname === '/logistics', }, { id: 'settings', name: 'Logistics Credentials', href: '/integrations/shipping', icon: Settings, match: pathname.startsWith('/integrations/shipping'), }, ]; return (