feat(WEB-154): my profile view
This commit is contained in:
46
components/MyPages/Sidebar/Client.tsx
Normal file
46
components/MyPages/Sidebar/Client.tsx
Normal file
@@ -0,0 +1,46 @@
|
||||
"use client"
|
||||
import { usePathname } from "next/navigation"
|
||||
|
||||
import Link from "@/components/TempDesignSystem/Link"
|
||||
|
||||
import type { LangParams } from "@/types/params"
|
||||
|
||||
export default function ClientSidebar({ lang }: LangParams) {
|
||||
const pathname = usePathname()
|
||||
return (
|
||||
<>
|
||||
<Link
|
||||
currentPath={pathname}
|
||||
href={`/${lang}/my-pages`}
|
||||
variant="sidebar"
|
||||
>
|
||||
My Pages
|
||||
</Link>
|
||||
<Link currentPath={pathname} href="#" variant="sidebar">
|
||||
My Stays
|
||||
</Link>
|
||||
<Link currentPath={pathname} href="#" variant="sidebar">
|
||||
My Points
|
||||
</Link>
|
||||
<Link currentPath={pathname} href="#" variant="sidebar">
|
||||
My Benefits
|
||||
</Link>
|
||||
{/* <Link currentPath={pathname} href="#" variant="sidebar">
|
||||
My Challenges
|
||||
</Link>
|
||||
<Link currentPath={pathname} href="#" variant="sidebar">
|
||||
My Favourites
|
||||
</Link> */}
|
||||
<Link currentPath={pathname} href="#" variant="sidebar">
|
||||
About Scandic Friends
|
||||
</Link>
|
||||
<Link
|
||||
currentPath={pathname}
|
||||
href={`/${lang}/my-pages/profile`}
|
||||
variant="sidebar"
|
||||
>
|
||||
My Profile
|
||||
</Link>
|
||||
</>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user