remove value step

This commit is contained in:
Ehsan
2024-10-20 00:38:30 +03:30
parent 5ff157d04b
commit 2b64cb3601
5 changed files with 33 additions and 17 deletions
+3 -3
View File
@@ -17,18 +17,18 @@ function Step({ value }) {
<div
className={`flex items-center bg-[#F6F6F6] justify-center p-[18px]
w-[32px] h-[32px] sm:w-[46px] sm:h-[46px] md:w-[60px] md:h-[60px] lg:w-[75px] lg:h-[75px] rounded-full
relative overflow-hidden before:delay-500 before:transition-all before:duration-500
relative overflow-hidden before:delay-500 before:transition-all before:duration-500
before:absolute before:w-full before:h-full before:bg-[#5559CE] dark:bg-[#D7D8ED]
${
value >= idx
? "before:right-0 !bg-transparent"
? "before:right-0 !bg-transparent delay-700"
: "before:-right-full"
}`}
>
<div className="z-10 delay-500">{item.icon}</div>
</div>
<p
className={`text-[10px] sm:text-[12px] md:text-[14px] lg:text-[16px] text-nowrap
className={`text-[10px] sm:text-[12px] md:text-[14px] lg:text-[16px] text-nowrap delay-500
${
value >= idx
? "font-bold text-[#5559CE]"