black line removed from gif

This commit is contained in:
jhpin2 2025-03-03 12:06:32 +06:00
parent a5b225aa6d
commit 6f7614e928
3 changed files with 12 additions and 4 deletions

View file

@ -65,7 +65,12 @@ const FeatureCardSection: React.FC<FeatureCardSectionProps> = ({
alt={card.imageAlt} alt={card.imageAlt}
width={360} width={360}
height={480} height={480}
className="h-full w-full" className="h-full w-full clip-path"
style={
card.imageUrl.endsWith(".gif")
? { clipPath: "inset(0 4px 0 0)" }
: {}
}
/> />
</div> </div>
<div className="text-[#252525] w-[90%] mx-auto mt-[20px] text-2xl font-semibold font-['Inter']"> <div className="text-[#252525] w-[90%] mx-auto mt-[20px] text-2xl font-semibold font-['Inter']">

View file

@ -71,8 +71,11 @@ const FeatureSection: React.FC<DesignToolProps> = ({
className="clip-path" className="clip-path"
src={imageUrl} src={imageUrl}
alt={imageAlt} alt={imageAlt}
width={684} width={650}
height={491} height={491}
style={
imageUrl.endsWith(".gif") ? { clipPath: "inset(0 4px 0 0)" } : {}
}
/> />
</div> </div>
</div> </div>

View file

@ -72,7 +72,7 @@ export default function PricingSection() {
name: "Growth", name: "Growth",
users: "10 user", users: "10 user",
monthlyPrice: "$59", monthlyPrice: "$59",
yearlyPrice: "$50", yearlyPrice: "$30",
description: description:
"Advanced features to boost productivity and expand your reach", "Advanced features to boost productivity and expand your reach",
highlight: true, highlight: true,