Skip to content

Commit

Permalink
add wallet and icon color
Browse files Browse the repository at this point in the history
  • Loading branch information
feruzm committed Feb 27, 2024
1 parent bb2a278 commit 01aea16
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ import {
UilSetting,
UilSignin,
UilSignout,
UilUser
UilUser,
UilWallet
} from "@iconscout/react-unicons";
import { NavbarSideMainMenuItem } from "./navbar-side-main-menu-item";

Expand All @@ -44,6 +45,12 @@ export function NavbarSideMainMenu({ history, onHide }: Props) {
icon: <UilUser size={16} />,
onClick: () => onHide()
},
{
label: _t("user-nav.wallet"),
to: `/@${activeUser?.username}/wallet`,
icon: <UilWallet size={16} />,
onClick: () => onHide()
},
...(global.usePrivate
? [
{
Expand Down
1 change: 0 additions & 1 deletion src/common/features/ui/button/props.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ export type ButtonAppearance =
| "secondary"
| "gray-link"
| "link"
| "gray-link"
| "danger"
| "success"
| "warning"
Expand Down
2 changes: 1 addition & 1 deletion src/common/features/ui/button/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const BUTTON_STYLES: Record<ButtonAppearance, string> = {
success: "",
warning: "",
info: "bg-info-default hover:info-hover focus:bg-info-focus text-white disabled:opacity-50 disabled:hover:bg-info-default disabled:focus:bg-info-default",
"gray-link": "text-gray-500 hover:text-blue-dark-sky focus:text-blue-dark-sky-active"
"gray-link": "text-gray-600 hover:text-blue-dark-sky focus:text-blue-dark-sky-active"
};

export const BUTTON_OUTLINE_STYLES: Record<ButtonAppearance, string> = {
Expand Down

0 comments on commit 01aea16

Please sign in to comment.