summaryrefslogtreecommitdiff
path: root/src/lib/auth/components/Menu.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/auth/components/Menu.jsx')
-rw-r--r--src/lib/auth/components/Menu.jsx5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/auth/components/Menu.jsx b/src/lib/auth/components/Menu.jsx
index 8a8e2e8a..386b817c 100644
--- a/src/lib/auth/components/Menu.jsx
+++ b/src/lib/auth/components/Menu.jsx
@@ -7,7 +7,7 @@ const Menu = () => {
const routeStartWith = (route) => router.pathname.startsWith(route)
return (
- <div className='grid grid-cols-1 bg-white border border-gray_r-6 rounded py-2 px-4'>
+ <div className='grid grid-cols-1 bg-white border border-gray_r-6 rounded py-2 px-4 sticky top-48'>
<div className='mt-4 mb-1 font-medium'>Menu</div>
<LinkItem href='/my/quotations' active={routeStartWith('/my/quotations')}>
Daftar Quotation
@@ -29,6 +29,9 @@ const Menu = () => {
<LinkItem href='/my/address' active={routeStartWith('/my/address')}>
Daftar Alamat
</LinkItem>
+ <LinkItem href='/my/profile' active={routeStartWith('/my/profile')}>
+ Profil Saya
+ </LinkItem>
<button type='button' className='text-gray_r-12/80 p-2 text-left'>
Keluar Akun
</button>