diff --git a/components/layout/IconNavBar.tsx b/components/layout/IconNavBar.tsx
index 86b250997..84994644a 100644
--- a/components/layout/IconNavBar.tsx
+++ b/components/layout/IconNavBar.tsx
@@ -6,6 +6,11 @@ import {
MenuGroup,
MenuItem,
MenuList,
+ Popover,
+ PopoverArrow,
+ PopoverContent,
+ PopoverHeader,
+ PopoverTrigger,
} from "@chakra-ui/react";
import { t, Trans } from "@lingui/macro";
import { useLingui } from "@lingui/react";
@@ -73,7 +78,6 @@ const IconNavBar = () => {
secondaryBgColor,
textColor,
themeColorHex: themeColor,
- gray,
} = useMyTheme();
const pathname = useRouter().pathname;
@@ -90,45 +94,13 @@ const IconNavBar = () => {
boxShadow="md"
>
{navIcons.map(({ displayName, code, menuItems }) => {
- const codesTogether =
- "/" +
- code +
- menuItems.reduce((acc, { code }) => acc + "/" + code, "");
-
- const isActive = pathname !== "/" && codesTogether.includes(pathname);
- const MenuNavIcon = () => (
-
-
-
-
- {/* TODO same width for each */}
-
- {menuItems.length > 0 && (
-
- ▾
-
- )}
-
- );
if (!menuItems.length) {
return (
-
+
+
+
);
@@ -136,9 +108,11 @@ const IconNavBar = () => {
return (