vega-frontend-monorepo/apps/trading/components/navbar/index.tsx
2022-02-21 07:36:06 -08:00

18 lines
401 B
TypeScript

import styles from './navbar.module.scss';
import Link from 'next/link';
export const Navbar = () => {
return (
<nav className={styles.navbar}>
{[
{ name: 'Portfolio', path: '/portfolio' },
{ name: 'Markets', path: '/markets' },
].map((route) => (
<Link href={route.path} key={route.path}>
{route.name}
</Link>
))}
</nav>
);
};