'use client'; import React from 'react'; import Link from 'next/link'; import { usePathname } from 'next/navigation'; interface NavLink { href: string; label: string; } const links: NavLink[] = [ { href: '/', label: 'Home' }, { href: '/api-explorer', label: 'API Explorer' }, { href: '/get-started', label: 'Get Started' }, { href: '/sdks', label: 'SDKs' }, { href: '/pricing', label: 'Pricing' }, { href: '/analytics', label: 'Analytics' }, ]; export function Nav(): React.ReactElement { const pathname = usePathname(); return (
); }