From 17b6c00780ecaff1dec7f4975ecc16269c94fc7f Mon Sep 17 00:00:00 2001
From: David Colon <38386583+Da-Colon@users.noreply.github.com>
Date: Wed, 17 Apr 2024 22:39:12 -0400
Subject: [PATCH] Update Header Menu Buttons to match figma
---
.../AccountDisplay/MenuButtonDisplay.tsx | 20 ++++++++----
.../ui/menus/AccountDisplay/index.tsx | 23 +++++++------
.../ui/menus/FavoritesMenu/index.tsx | 32 ++++++++++---------
src/components/ui/page/Navigation/index.tsx | 2 +-
4 files changed, 42 insertions(+), 35 deletions(-)
diff --git a/src/components/ui/menus/AccountDisplay/MenuButtonDisplay.tsx b/src/components/ui/menus/AccountDisplay/MenuButtonDisplay.tsx
index 91030b445a..e66368a4ce 100644
--- a/src/components/ui/menus/AccountDisplay/MenuButtonDisplay.tsx
+++ b/src/components/ui/menus/AccountDisplay/MenuButtonDisplay.tsx
@@ -1,5 +1,5 @@
-import { Box, Flex, Text } from '@chakra-ui/react';
-import { ArrowDown } from '@decent-org/fractal-ui';
+import { Box, Flex } from '@chakra-ui/react';
+import { CaretDown } from '@phosphor-icons/react';
import { useTranslation } from 'react-i18next';
import useAvatar from '../../../../hooks/utils/useAvatar';
import useDisplayName from '../../../../hooks/utils/useDisplayName';
@@ -13,8 +13,11 @@ export function NotConnected() {
alignItems="center"
gap="1"
>
- {t('connectWallet')}
-
+ {t('connectWallet')}
+
);
}
@@ -36,14 +39,17 @@ export function Connected() {
alignItems="center"
gap="0.75rem"
>
-
+
- {accountDisplayName}
-
+ {accountDisplayName}
+
);
}
diff --git a/src/components/ui/menus/AccountDisplay/index.tsx b/src/components/ui/menus/AccountDisplay/index.tsx
index d4e1da528c..346eba0384 100644
--- a/src/components/ui/menus/AccountDisplay/index.tsx
+++ b/src/components/ui/menus/AccountDisplay/index.tsx
@@ -1,21 +1,20 @@
-import { Menu, MenuButton } from '@chakra-ui/react';
-import { Fragment } from 'react';
+import { Button, Menu, MenuButton } from '@chakra-ui/react';
import { MenuButtonDisplay } from './MenuButtonDisplay';
import { MenuItems } from './MenuItems';
export function AccountDisplay() {
return (
);
}
diff --git a/src/components/ui/menus/FavoritesMenu/index.tsx b/src/components/ui/menus/FavoritesMenu/index.tsx
index d2f4a4ed33..0b01639f87 100644
--- a/src/components/ui/menus/FavoritesMenu/index.tsx
+++ b/src/components/ui/menus/FavoritesMenu/index.tsx
@@ -1,5 +1,5 @@
-import { Flex, Menu, MenuButton, Show, Text } from '@chakra-ui/react';
-import { ArrowDown, StarGoldSolid } from '@decent-org/fractal-ui';
+import { Button, Flex, Menu, MenuButton, Show, Text } from '@chakra-ui/react';
+import { CaretDown, Star } from '@phosphor-icons/react';
import { Fragment } from 'react';
import { useTranslation } from 'react-i18next';
import { FavoritesList } from './FavoritesList';
@@ -10,31 +10,33 @@ export function FavoritesMenu() {