Skip to content

Commit

Permalink
update user-dropdown icons
Browse files Browse the repository at this point in the history
  • Loading branch information
mshubitidze committed Jul 10, 2023
1 parent 43c4740 commit f1832f5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions src/components/icons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ import {
ChevronLeft,
ChevronDownSquareIcon,
ChevronLeftSquareIcon,
User2,
LineChart,
} from "lucide-react";

import Image from "next/image";
Expand Down Expand Up @@ -40,6 +42,8 @@ export const Icons = {
chevronRight: ChevronRight,
chevronsLeft: ChevronsLeft,
chevronsRight: ChevronsRight,
user: User2,
lineChart: LineChart,
mobileNavOpen: ChevronDownSquareIcon,
mobileNavClosed: ChevronLeftSquareIcon,
};
4 changes: 2 additions & 2 deletions src/components/user-dropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,13 @@ const AccountMenu = () => {
<DropdownMenuContent align="end">
<DropdownMenuItem>
<Link href="/dashboard" className="flex gap-1 items-center">
<Icons.settings className="mr-2 h-4 w-4" />
<Icons.lineChart className="mr-2 h-4 w-4" />
<span>Dashboard</span>
</Link>
</DropdownMenuItem>
<DropdownMenuItem>
<Link href="/profile" className="flex gap-1 items-center">
<Icons.settings className="mr-2 h-4 w-4" />
<Icons.user className="mr-2 h-4 w-4" />
<span>Profile</span>
</Link>
</DropdownMenuItem>
Expand Down

0 comments on commit f1832f5

Please sign in to comment.