Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-aly3n committed Feb 2, 2024
1 parent f1fb9ae commit 5757ea0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/HowItWorksPage/EconomyFlow/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ const EconomyFlow: React.FC = () => {
<h2 className="z-10 mt-16 text-[1.25rem] ssm:text-[1.75rem] sm:text-[2.375rem] font-bold sm:font-bold">
<span className="text-primary-500">Economy</span> Flow
</h2>
<div className="w-full h-[250px] ssm:h-[350px] sm:h-[500px] flex justify-center items-center z-20">
<motion.div className={`h-10 absolute -mt-40 ssm:-mt-60 duration-500 cursor-pointer
${isActive ? "grayscale-0":"grayscale-0 md:grayscale-70"} ${!isActive? "scale-100 sm:scale-[0.7] md:scale-[0.3] lg:scale-[0.25]":"scale-100"}
<div className="w-full h-[250px] ssm:h-[350px] sm:h-[500px] flex z-20">
<motion.div className={`absolute ssm:top-1/4 md:-top-0 lg:-top-16 xl:-top-1/4 2xl:-top-1/3 duration-500 cursor-pointer
${isActive ? "grayscale-0":"grayscale-0 md:grayscale-70"} ${!isActive? "scale-100 sm:scale-[0.7] md:scale-[0.4] lg:scale-[0.3]":"scale-100"}
`} onClick={clickHandler}>
<Image
alt="dedogmadao background"
Expand All @@ -41,7 +41,7 @@ const EconomyFlow: React.FC = () => {
height={1169}
quality={100}
placeholder="blur"
className="z-100 rounded-3xl"
className="z-100 rounded-3xl select-none"
/>
</motion.div>
</div>
Expand Down

0 comments on commit 5757ea0

Please sign in to comment.