vega-frontend-monorepo/apps/trading/components/navbar/index.tsx

18 lines
401 B
TypeScript
Raw Normal View History

2022-02-17 05:08:17 +00:00
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>
);
};