'use client' import { useState } from 'react' import { Dialog, DialogPanel, Disclosure, DisclosureButton, DisclosurePanel, Popover, PopoverButton, PopoverGroup, PopoverPanel, } from '@headlessui/react' import { ChevronDownIcon, Bars3Icon, XMarkIcon } from '@heroicons/react/20/solid' const socials = [ { name: 'X', href: 'https://x.com/XahauNetwork' }, { name: 'GitHub', href: 'https://github.com/Xahau' }, { name: 'Community Discord', href: 'https://discord.com/invite/UzU58haAn4' }, ] const docs = [ { name: 'Get started', href: '/docs' }, { name: 'Protocol Reference', href: '/docs/protocol-reference/transactions' }, { name: 'Hooks', href: '/docs/hooks' }, { name: 'Data APIs', href: '/docs/data-apis' }, { name: 'Infrastructure', href: '/docs/infrastructure/node-requirements' }, { name: 'Whitepaper', href: '/docs/resources/whitepaper' }, ] const explorers = [ { name: 'XAHSCAN', href: 'https://xahscan.com/' }, { name: 'Bithomp Xahau Explorer', href: 'https://xahauexplorer.com/en' }, { name: 'XRPLWin Xahau Explorer', href: 'https://xahau.xrplwin.com/' }, { name: 'Technical Explorer', href: 'https://explorer.xahau.network/' }, ] import logo from '../assets/xahau-logo.svg' export default function Header(props) { const [mobileMenuOpen, setMobileMenuOpen] = useState(false) return (
Your Company
About Features Whitepaper Ecosystem Roadmap Documentation {[...docs].map((item) => ( {item.name} ))} Connect {[...socials].map((item) => ( {item.name} ))} Explorers {[...explorers].map((item) => ( {item.name} ))}
) }