fix(FE): fixing floating button & revert require auth component

This commit is contained in:
randy-ar
2025-12-18 11:33:18 +07:00
parent 918e85e0cc
commit a935ffd9f5
4 changed files with 154 additions and 261 deletions
+5 -2
View File
@@ -54,7 +54,8 @@ const Navbar = ({ title, toggleSidebar }: NavbarProps) => {
<div className='flex gap-2'>
<Dropdown
position='bottom-end'
direction='bottom'
align='end'
trigger={
<div className='btn btn-ghost btn-circle avatar'>
<div className='w-10 rounded-full border flex justify-center items-center'>
@@ -62,7 +63,9 @@ const Navbar = ({ title, toggleSidebar }: NavbarProps) => {
</div>
</div>
}
contentClassName='w-52 mt-3'
className={{
content: 'w-52 mt-3',
}}
>
<Menu className='p-2 bg-base-100 shadow rounded-box menu-sm'>
<MenuItem title='Logout' onClick={logoutClickHandler} />