[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,
|
ChevronLeft,
|
||||||
LogOut,
|
LogOut,
|
||||||
MoveLeft,
|
MoveLeft,
|
||||||
Plus,
|
|
||||||
UserPlus,
|
|
||||||
Activity,
|
Activity,
|
||||||
Bell,
|
Bell,
|
||||||
CircleUser,
|
CircleUser,
|
||||||
KeyRound,
|
KeyRound,
|
||||||
Settings2,
|
Settings2,
|
||||||
|
CirclePlus,
|
||||||
|
Mails,
|
||||||
} from "lucide-react";
|
} from "lucide-react";
|
||||||
// plane imports
|
// plane imports
|
||||||
import { PROFILE_ACTION_LINKS } from "@plane/constants";
|
import { PROFILE_ACTION_LINKS } from "@plane/constants";
|
||||||
|
|
@ -35,14 +35,14 @@ import { usePlatformOS } from "@/hooks/use-platform-os";
|
||||||
const WORKSPACE_ACTION_LINKS = [
|
const WORKSPACE_ACTION_LINKS = [
|
||||||
{
|
{
|
||||||
key: "create_workspace",
|
key: "create_workspace",
|
||||||
Icon: Plus,
|
Icon: CirclePlus,
|
||||||
label: "Create workspace",
|
i18n_label: "create_workspace",
|
||||||
href: "/create-workspace",
|
href: "/create-workspace",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: "invitations",
|
key: "invitations",
|
||||||
Icon: UserPlus,
|
Icon: Mails,
|
||||||
label: "Invitations",
|
i18n_label: "workspace_invites",
|
||||||
href: "/invitations",
|
href: "/invitations",
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
@ -243,8 +243,8 @@ export const ProfileLayoutSidebar = observer(() => {
|
||||||
sidebarCollapsed ? "justify-center" : ""
|
sidebarCollapsed ? "justify-center" : ""
|
||||||
}`}
|
}`}
|
||||||
>
|
>
|
||||||
{<link.Icon className="h-4 w-4" />}
|
{<link.Icon className="flex-shrink-0 size-4" />}
|
||||||
{!sidebarCollapsed && t(link.key)}
|
{!sidebarCollapsed && t(link.i18n_label)}
|
||||||
</div>
|
</div>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
</Link>
|
</Link>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue