Skip to content

Commit

Permalink
add user guide link and wallet logo to the navigation menu (#1032)
Browse files Browse the repository at this point in the history
  • Loading branch information
ost-ptk authored Jul 19, 2024
1 parent 1b481ce commit 07cdfbe
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
24 changes: 23 additions & 1 deletion src/apps/popup/pages/navigation-menu/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ import {
Modal,
SvgIcon,
ThemeSwitcher,
Tile,
Typography
} from '@libs/ui/components';

Expand All @@ -57,10 +58,15 @@ const ListItemClickableContainer = styled(
}
`;

export const SpaceBetweenContainer = styled(SpaceBetweenFlexRow)`
const SpaceBetweenContainer = styled(SpaceBetweenFlexRow)`
align-items: center;
`;

const LogoContainer = styled.div`
padding: 24px 18px;
margin: 16px 0;
`;

interface MenuItem {
id: number;
title: string;
Expand Down Expand Up @@ -291,6 +297,13 @@ export function NavigationMenuPageContent() {
},
{
id: 2,
title: t('User guides'),
iconPath: 'assets/icons/books.svg',
href: 'https://casperwallet.io/user-guide',
disabled: false
},
{
id: 3,
title: t('About us'),
iconPath: 'assets/icons/team.svg',
href: 'https://make.services/',
Expand Down Expand Up @@ -380,6 +393,15 @@ export function NavigationMenuPageContent() {
/>
)
)}
<Tile>
<LogoContainer>
<SvgIcon
src="assets/icons/casper-wallet-text-logo.svg"
width={129}
height={32}
/>
</LogoContainer>
</Tile>
</ContentContainer>
);
}
3 changes: 3 additions & 0 deletions src/assets/icons/books.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 07cdfbe

Please sign in to comment.