[RANTS-75] chore: update profile sidebar icons and copy for consistency (#6808)

This commit is contained in:
Aaryan Khandelwal 2025-03-24 18:21:12 +05:30 committed by GitHub
parent d37d210921
commit 50e0cb7ffd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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>