From 1c2c1aa75020da4c3a88c639715c0acd5a36a681 Mon Sep 17 00:00:00 2001 From: Eric Corson Date: Fri, 13 Sep 2024 12:44:59 +0200 Subject: [PATCH] fix: make sidebar menu items match latest designs (#1106) --- apps/namadillo/src/App/Common/Navigation.tsx | 75 +++++++++++--------- 1 file changed, 43 insertions(+), 32 deletions(-) diff --git a/apps/namadillo/src/App/Common/Navigation.tsx b/apps/namadillo/src/App/Common/Navigation.tsx index 23733af56..c5434fdf3 100644 --- a/apps/namadillo/src/App/Common/Navigation.tsx +++ b/apps/namadillo/src/App/Common/Navigation.tsx @@ -6,46 +6,57 @@ import { BsDiscord, BsTwitterX } from "react-icons/bs"; import { FaVoteYea } from "react-icons/fa"; import { GoStack } from "react-icons/go"; import { IoSwapHorizontal } from "react-icons/io5"; +import { TbVectorTriangle } from "react-icons/tb"; import { DISCORD_URL, TWITTER_URL } from "urls"; import StakingRoutes from "App/Staking/routes"; export const Navigation = (): JSX.Element => { + const menuItems: { label: string; icon: React.ReactNode; url?: string }[] = [ + { + label: "Overview", + icon: , + url: "/", + }, + { + label: "Staking", + icon: , + url: StakingRoutes.index(), + }, + { + label: "Governance", + icon: , + url: GovernanceRoutes.index(), + }, + { + label: "MASP", + icon: ( + + + + ), + }, + { + label: "IBC Transfer", + icon: , + }, + { + label: "Transfer", + icon: , + }, + ]; + return (
    -
  • - - - Overview - -
  • -
  • - - - Staking - -
  • -
  • - - - Governance - -
  • -
  • - - - IBC Transfer - -
  • -
  • - - - - - MASP - -
  • + {menuItems.map((item) => ( +
  • + + {item.icon} + {item.label} + +
  • + ))}