summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2024-09-28 08:57:08 +0700
committerit-fixcomart <it@fixcomart.co.id>2024-09-28 08:57:08 +0700
commit6de06f74f0a004900ecc415b91eb03d1b58a872f (patch)
tree8460dce644078737bb89a4ee169ccdc48e63b3ab
parent016cbe790dd698ee258f17c8218ef6fdc667ad0d (diff)
<iman> add hover
-rw-r--r--src/lib/auth/components/Menu.jsx9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/lib/auth/components/Menu.jsx b/src/lib/auth/components/Menu.jsx
index ddbb0760..979de83b 100644
--- a/src/lib/auth/components/Menu.jsx
+++ b/src/lib/auth/components/Menu.jsx
@@ -118,7 +118,10 @@ const Menu = () => {
<p>Profil Saya</p>
</div>
</LinkItem>
- <button type='button' className='text-gray_r-12/80 p-2 text-left'>
+ <button
+ type='button'
+ className='text-gray_r-12/80 p-2 text-left hover:bg-gray_r-5 '
+ >
<div className='flex gap-x-3 items-center'>
<ImageNext
src='/images/icon/icon_logout.svg'
@@ -136,8 +139,8 @@ const Menu = () => {
const LinkItem = ({ children, ...props }) => (
<Link
{...props}
- className={`!text-gray_r-12/80 !font-normal p-2 rounded ${
- props.active == true ? 'bg-gray_r-3' : ''
+ className={`!text-gray_r-12/80 !font-normal p-2 rounded transition-colors duration-200 ${
+ props.active ? 'bg-gray_r-3' : 'hover:bg-gray_r-5 '
}`}
>
{children}