diff --git a/.changeset/hot-pens-compare.md b/.changeset/hot-pens-compare.md new file mode 100644 index 000000000..ceefed948 --- /dev/null +++ b/.changeset/hot-pens-compare.md @@ -0,0 +1,5 @@ +--- +'frontend': patch +--- + +SOV-5296: zero copy changes diff --git a/apps/frontend/src/app/2_molecules/CTA/CTA.tsx b/apps/frontend/src/app/2_molecules/CTA/CTA.tsx index ccdf0305f..cc0300ecb 100644 --- a/apps/frontend/src/app/2_molecules/CTA/CTA.tsx +++ b/apps/frontend/src/app/2_molecules/CTA/CTA.tsx @@ -1,10 +1,13 @@ import React, { FC } from 'react'; +import classNames from 'classnames'; + import { Badge, BadgeStyle, Button, ButtonStyle, Paragraph } from '@sovryn/ui'; type CTAProps = { index: number; backgroundImage: string; + imageClass?: string; title: string; description: string; action: string; @@ -24,6 +27,7 @@ export const CTA: FC = ({ badges, disableCTA = false, href, + imageClass, }) => (
= ({ {title} { - const navigate = useNavigate(); - return (
{ swipeable className="static" renderDotsOutside - showDots + // showDots autoPlay={false} // Needs to be true when we have more than 1 promo dotListClass={styles.dot} autoPlaySpeed={15000} - infinite + // infinite > -