add validation and basic api && change design sidebar
This commit is contained in:
@@ -43,14 +43,14 @@ function Sidebar({ active, setActive, open, setOpen }) {
|
||||
<Links open={open} setActive={setActive} />
|
||||
</div>
|
||||
<div
|
||||
className={`w-full flex justify-center overflow-hidden transition-all duration-500 ${
|
||||
open ? "!max-w-full" : "!max-w-0"
|
||||
className={`w-full flex logout-btn justify-center overflow-hidden transition-all duration-500 ${
|
||||
open ? "!max-w-full" : "!max-w-[36px]"
|
||||
}`}
|
||||
>
|
||||
<Button
|
||||
variant="text"
|
||||
onClick={handleOpen}
|
||||
className="!flex !w-fit !items-center !justify-center !gap-[10px] !py-[8px] !px-[16px] !text-[#F17732] !text-[16px] !font-medium"
|
||||
className="!flex !w-fit !items-center !justify-start !gap-[10px] !py-[8px] !px-[16px] !text-[#F17732] !text-[16px] !font-medium"
|
||||
>
|
||||
<LogoutOrangeP />
|
||||
خروج از حساب
|
||||
|
||||
Reference in New Issue
Block a user