@@ -69,14 +69,18 @@ export const StyledScrollDescriptionContainer = styled.div`
6969 color: var(--text-secondary-color);
7070` ;
7171
72- const StyledCTAImage = styled . img `
72+ const StyledCTAImage = styled . img < { $withSmallGradient ?: boolean } > `
7373 width: 100%;
7474 height: 100%;
7575 object-fit: cover;
7676 object-position: right center;
7777 background-color: var(--primary-color);
7878
79- mask-image: linear-gradient(to bottom, black 66%, transparent 97%);
79+ ${ props =>
80+ props . $withSmallGradient
81+ ? 'mask-image: linear-gradient(to bottom, black 90%, transparent 97%);'
82+ : 'mask-image: linear-gradient(to bottom, black 66%, transparent 97%);' }
83+
8084 mask-size: 100% 100%;
8185` ;
8286
@@ -176,7 +180,7 @@ function getImage(variant: CTAVariant): ReactNode {
176180 return < StyledCTAImage src = "images/cta/donate.webp" /> ;
177181
178182 case CTAVariant . DONATE_APPEAL :
179- return < StyledCTAImage src = "images/cta/donate-appeal.webp" /> ;
183+ return < StyledCTAImage src = "images/cta/donate-appeal.webp" $withSmallGradient = { true } /> ;
180184
181185 default :
182186 assertUnreachable ( variant , 'getImage' ) ;
@@ -186,10 +190,11 @@ function getImage(variant: CTAVariant): ReactNode {
186190
187191const StyledDonateAppealTitleContainer = styled ( Localizer ) `
188192 text-align: center;
193+ margin-inline: var(--margins-xs);
189194` ;
190195
191196function DonateAppealTitle ( ) {
192- return < StyledDonateAppealTitleContainer token = "donateSessionAppealTitle " /> ;
197+ return < StyledDonateAppealTitleContainer token = "finalAppeal " /> ;
193198}
194199
195200function getTitle ( variant : CTAVariantExcludingProCTAs ) {
@@ -221,7 +226,7 @@ function getDescription(variant: CTAVariantExcludingProCTAs) {
221226 return < Localizer token = "donateSessionDescription" /> ;
222227
223228 case CTAVariant . DONATE_APPEAL :
224- return < Localizer token = "donateSessionAppealDescription " /> ;
229+ return < Localizer token = "finalAppealDescription " /> ;
225230
226231 default :
227232 assertUnreachable ( variant , 'CtaTitle' ) ;
@@ -311,7 +316,7 @@ function Buttons({
311316 } }
312317 dataTestId = "cta-confirm-button"
313318 >
314- < Localizer token = "donateSessionAppealReadMore " />
319+ < Localizer token = "readMoreCapital " />
315320 </ SessionButtonShiny >
316321 ) ;
317322 }
0 commit comments