import React from "react"; import Link from "next/link"; import { useRouter } from "next/router"; import { Popover } from "@headlessui/react"; import { ChevronDownIcon } from "@heroicons/react/24/solid"; import SearchInput from "components/SearchInput"; import Wallet from "./Wallet"; const mockedAccounts = [ { label: "Subaccount 1", }, { label: "Subaccount 2", }, { label: "Subaccount 3", }, { label: "Subaccount 4", }, ]; const NavLink = ({ href, children }: { href: string; children: string }) => { const router = useRouter(); return ( {children} ); }; const Navigation = () => { return (
{/* Main navigation bar */}
mars
Trade Yield Borrow Portfolio Council
{/* Sub navigation bar */}
{mockedAccounts.map((account, index) => (
{account.label}
))}
Manage
alert("TODO")} > Create subaccount
alert("TODO")} > Close subaccount
alert("TODO")} > Transfer balance
alert("TODO")}> Rearrange

$: 2500

Lvg Gauge
Risk Gauge
); }; export default Navigation;