summaryrefslogtreecommitdiff
path: root/src/lib/auth/components/Menu.jsx
diff options
context:
space:
mode:
authorIT Fixcomart <it@fixcomart.co.id>2023-05-17 01:55:14 +0000
committerIT Fixcomart <it@fixcomart.co.id>2023-05-17 01:55:14 +0000
commite16d278e6c63177d488bb8b5c62cedc898906c09 (patch)
tree2b2a20ea2ac439ec2945f921f21f9160cd7b6c28 /src/lib/auth/components/Menu.jsx
parent6608d0e62fd232cbc19f42f58d1f56cfe2ef6842 (diff)
parent0abaa462194715c25cee5fcede0da3085939b402 (diff)
Merged in master (pull request #8)
Master
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>