responsive page user-account & add-doctor & turns & add loading to all page panel & change design page dashboard

This commit is contained in:
Ehsan
2024-09-14 02:41:38 +03:30
parent d1f289bdca
commit 9d1c4aa299
60 changed files with 459 additions and 166 deletions
+2 -2
View File
@@ -29,16 +29,16 @@ function Links({ open }) {
variant="text"
className={`
!p-[8px] !flex !items-center !justify-start !gap-[8px] !text-[16px] !rounded-[8px] !transition-all !duration-500
${item.src === pathname ? '!bg-[#5559CE] !text-[#FAFAFA] !font-bold' : '!text-[#525252] !font-medium'}
${item.src === pathname ? '!bg-[#5559CE]' : ''}
`}
>
<div className="p-[4px] bg-[#E5E9FF] rounded-[4px] w-fit">
{item.icon}
</div>
<p className={`
transition-all duration-500
${open ? 'opacity-100' : 'md:opacity-0'}
${item.src === pathname ? '!text-[#FAFAFA] !font-bold' : '!text-[#525252] !font-medium'}
`}>{item.name}</p>
</Button>
</Link>