black line removed from gif
This commit is contained in:
parent
a5b225aa6d
commit
6f7614e928
3 changed files with 12 additions and 4 deletions
|
|
@ -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']">
|
||||||
|
|
|
||||||
|
|
@ -66,13 +66,16 @@ const FeatureSection: React.FC<DesignToolProps> = ({
|
||||||
className={`w-full rotate-180 ${imageContainerClasses}`}
|
className={`w-full rotate-180 ${imageContainerClasses}`}
|
||||||
style={{ backgroundColor }}
|
style={{ backgroundColor }}
|
||||||
>
|
>
|
||||||
<div className="rotate-180 ">
|
<div className="rotate-180">
|
||||||
<Image
|
<Image
|
||||||
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>
|
||||||
|
|
|
||||||
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue