import React, { useState } from "react"; import Link from "next/link"; import { useRouter } from "next/router"; import SearchInput from "components/SearchInput"; import ConnectModal from "./ConnectModal"; 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 = () => { const [showConnectModal, setShowConnectModal] = useState(false); return (
{/* Main navigation bar */}
mars
Trade Yield Borrow Portfolio Council
{/* Sub navigation bar */}
{mockedAccounts.map((account, index) => (
{account.label}
))}
More
Manage

$: 2500

Lvg Gauge
Risk Gauge
setShowConnectModal(false)} />
); }; export default Navigation;