feat(WEB-154): my profile view
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
"use client"
|
||||
import { Fragment } from "react"
|
||||
import { LogOut } from "react-feather"
|
||||
import Link from "../../TempDesignSystem/Link"
|
||||
import Link from "@/components/TempDesignSystem/Link"
|
||||
|
||||
import styles from "./sidebar.module.css"
|
||||
import { SidebarProps } from "@/types/requests/myPages/navigation"
|
||||
import { Fragment } from "react"
|
||||
|
||||
import type { SidebarProps } from "@/types/requests/myPages/navigation"
|
||||
|
||||
export default function Sidebar({ menuItems }: SidebarProps) {
|
||||
return (
|
||||
@@ -17,16 +17,16 @@ export default function Sidebar({ menuItems }: SidebarProps) {
|
||||
</Link>
|
||||
{item.subItems
|
||||
? item.subItems.map((subItem) => {
|
||||
return (
|
||||
<Link
|
||||
key={subItem.uid}
|
||||
href={subItem.url}
|
||||
variant={"sidebar"}
|
||||
>
|
||||
{subItem.linkText}
|
||||
</Link>
|
||||
)
|
||||
})
|
||||
return (
|
||||
<Link
|
||||
key={subItem.uid}
|
||||
href={subItem.url}
|
||||
variant={"sidebar"}
|
||||
>
|
||||
{subItem.linkText}
|
||||
</Link>
|
||||
)
|
||||
})
|
||||
: null}
|
||||
</Fragment>
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user