mango-web/components/Navigation.tsx

35 lines
1.0 KiB
TypeScript
Raw Normal View History

2021-03-17 07:01:37 -07:00
export const TradeUrl = "https://trade.mango.markets";
2021-04-23 10:41:56 -07:00
export const StatsUrl = `${TradeUrl}/stats`;
2021-03-17 07:01:37 -07:00
export const LearnUrl = "https://docs.mango.markets";
export function Navigation() {
return (
2021-03-07 20:56:22 -08:00
<div className="flex items-center">
2021-04-11 10:53:39 -07:00
<a href="/">
<div className="flex items-center md:mr-8">
<img src="/mango.png" className="inline-block w-8 h-8 sm:w-16 sm:h-16" />
<span className="hidden md:inline-block text-3xl text-white ml-4 font-black">
Mango Markets
</span>
</div>
</a>
2021-03-07 20:56:22 -08:00
2021-04-11 10:53:39 -07:00
<a href={TradeUrl} className="ml-6 sm:ml-14 sm:font-light text-white text-md sm:text-2xl">
2021-03-07 20:56:22 -08:00
Trade
</a>
2021-04-11 10:53:39 -07:00
<a href={StatsUrl} className="ml-8 sm:ml-16 sm:font-light text-white text-md sm:text-2xl">
2021-03-07 20:56:22 -08:00
Stats
</a>
2021-04-11 10:53:39 -07:00
<a href={LearnUrl} className="ml-8 sm:ml-16 sm:font-light text-white text-md sm:text-2xl">
2021-03-07 20:56:22 -08:00
Learn
</a>
2021-04-11 10:53:39 -07:00
<a href={"/careers"} className="ml-8 sm:ml-16 sm:font-light text-white text-md sm:text-2xl">
Careers
</a>
2021-03-03 11:15:38 -08:00
</div>
);
2021-04-11 10:53:39 -07:00
}