[WEB-2023] chore: sidebar content update (#5195)
* chore: sidebar content update * chore: code refactor
This commit is contained in:
parent
68a211d00e
commit
0839666d81
3 changed files with 6 additions and 6 deletions
|
|
@ -62,19 +62,19 @@ export const AppSidebar: FC<IAppSidebar> = observer(() => {
|
|||
<SidebarAppSwitcher />
|
||||
<SidebarQuickActions />
|
||||
<hr
|
||||
className={cn("flex-shrink-0 border-custom-sidebar-border-300 h-[0.5px] w-3/5 mx-auto my-2", {
|
||||
className={cn("flex-shrink-0 border-custom-sidebar-border-300 h-[0.5px] w-3/5 mx-auto my-1", {
|
||||
"opacity-0": !sidebarCollapsed,
|
||||
})}
|
||||
/>
|
||||
<SidebarUserMenu />
|
||||
<hr
|
||||
className={cn("flex-shrink-0 border-custom-sidebar-border-300 h-[0.5px] w-3/5 mx-auto my-2", {
|
||||
className={cn("flex-shrink-0 border-custom-sidebar-border-300 h-[0.5px] w-3/5 mx-auto my-1", {
|
||||
"opacity-0": !sidebarCollapsed,
|
||||
})}
|
||||
/>
|
||||
<SidebarWorkspaceMenu />
|
||||
<hr
|
||||
className={cn("flex-shrink-0 border-custom-sidebar-border-300 h-[0.5px] w-3/5 mx-auto my-2", {
|
||||
className={cn("flex-shrink-0 border-custom-sidebar-border-300 h-[0.5px] w-3/5 mx-auto my-1", {
|
||||
"opacity-0": !sidebarCollapsed,
|
||||
})}
|
||||
/>
|
||||
|
|
|
|||
|
|
@ -161,7 +161,7 @@ export const SidebarProjectsList: FC = observer(() => {
|
|||
{
|
||||
key: "all",
|
||||
type: "JOINED",
|
||||
title: "MY PROJECTS",
|
||||
title: "YOUR PROJECTS",
|
||||
icon: Briefcase,
|
||||
projects: joinedProjects,
|
||||
isOpen: isAllProjectsListOpen,
|
||||
|
|
|
|||
|
|
@ -310,8 +310,8 @@ export const SIDEBAR_USER_MENU_ITEMS: {
|
|||
Icon: Home,
|
||||
},
|
||||
{
|
||||
key: "my-work",
|
||||
label: "My Work",
|
||||
key: "your-work",
|
||||
label: "Your work",
|
||||
href: "/profile",
|
||||
access: EUserWorkspaceRoles.GUEST,
|
||||
highlight: (pathname: string, baseUrl: string) => pathname.includes(`${baseUrl}/profile/`),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue