[RANTS-75] chore: update profile sidebar icons and copy for consistency (#6808)
This commit is contained in:
parent
d37d210921
commit
50e0cb7ffd
1 changed files with 8 additions and 8 deletions
|
|
@ -9,13 +9,13 @@ import {
|
|||
ChevronLeft,
|
||||
LogOut,
|
||||
MoveLeft,
|
||||
Plus,
|
||||
UserPlus,
|
||||
Activity,
|
||||
Bell,
|
||||
CircleUser,
|
||||
KeyRound,
|
||||
Settings2,
|
||||
CirclePlus,
|
||||
Mails,
|
||||
} from "lucide-react";
|
||||
// plane imports
|
||||
import { PROFILE_ACTION_LINKS } from "@plane/constants";
|
||||
|
|
@ -35,14 +35,14 @@ import { usePlatformOS } from "@/hooks/use-platform-os";
|
|||
const WORKSPACE_ACTION_LINKS = [
|
||||
{
|
||||
key: "create_workspace",
|
||||
Icon: Plus,
|
||||
label: "Create workspace",
|
||||
Icon: CirclePlus,
|
||||
i18n_label: "create_workspace",
|
||||
href: "/create-workspace",
|
||||
},
|
||||
{
|
||||
key: "invitations",
|
||||
Icon: UserPlus,
|
||||
label: "Invitations",
|
||||
Icon: Mails,
|
||||
i18n_label: "workspace_invites",
|
||||
href: "/invitations",
|
||||
},
|
||||
];
|
||||
|
|
@ -243,8 +243,8 @@ export const ProfileLayoutSidebar = observer(() => {
|
|||
sidebarCollapsed ? "justify-center" : ""
|
||||
}`}
|
||||
>
|
||||
{<link.Icon className="h-4 w-4" />}
|
||||
{!sidebarCollapsed && t(link.key)}
|
||||
{<link.Icon className="flex-shrink-0 size-4" />}
|
||||
{!sidebarCollapsed && t(link.i18n_label)}
|
||||
</div>
|
||||
</Tooltip>
|
||||
</Link>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue