Skip to content

Commit

Permalink
fix(Carta Giovani Nazionale): [#177490938] Success Screen pictogram r…
Browse files Browse the repository at this point in the history
…esults cut on the bottom (#2938)

* [#177490938] Fixes the success screen pictogram on cgn activation flow

* Fix
  • Loading branch information
CrisTofani authored Mar 25, 2021
1 parent b8bdc9e commit 146a197
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion locales/en/index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2283,7 +2283,7 @@ bonus:
eycaPending: "We're linking your Carta Giovani Nazionale to a EYCA Number."
eycaError: "We had some issues with EYCA's systems."
eycaBottomSheetTitle: "EYCA card number"
eycaDescription: "Until the Until you turn 31, **your National Youth Card is a member of the EYCA circuit** (European Youth Card Association).\n\nBy entering your EYCA card number on e-commerce or showing your card at participating merchants, you will be able to get discounts and benefits on cultural activities, shopping, transportation, dining and lodging in the 38 European countries participating in the circuit."
eycaDescription: "Until the Until you turn 31, **your National Youth Card is a member of the EYCA circuit** (European Youth Card Association).\n\nBy entering your EYCA card number on e‑commerce or showing your card at participating merchants, you will be able to get discounts and benefits on cultural activities, shopping, transportation, dining and lodging in the 38 European countries participating in the circuit."
eycaNumber: Card number
badge:
active: Active
Expand Down
2 changes: 1 addition & 1 deletion locales/it/index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2314,7 +2314,7 @@ bonus:
eycaPending: "Stiamo associando la tua Carta Giovani Nazionale a un Numero EYCA."
eycaError: "Abbiamo riscontrato problemi con i sistemi EYCA."
eycaBottomSheetTitle: "Numero di carta EYCA"
eycaDescription: "Fino al compimento dei 31 anni, **la tua Carta Giovani Nazionale aderisce al circuito EYCA** (European Youth Card Association).\n\nInserendo il numero di carta EYCA sugli e-commerce o mostrando la carta presso gli esercenti aderenti, potrai ottenere sconti e agevolazioni su attività culturali, negozi, trasporti, ristorazione e alloggio anche nei 38 paesi europei aderenti al circuito."
eycaDescription: "Fino al compimento dei 31 anni, **la tua Carta Giovani Nazionale aderisce al circuito EYCA** (European Youth Card Association).\n\nInserendo il numero di carta EYCA sugli e‑commerce o mostrando la carta presso gli esercenti aderenti, potrai ottenere sconti e agevolazioni su attività culturali, negozi, trasporti, ristorazione e alloggio anche nei 38 paesi europei aderenti al circuito."
badge:
active: Attiva
revoked: Annullata
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ import { InfoScreenComponent } from "../../../../../components/infoScreen/InfoSc
import { FooterStackButton } from "../../../bonusVacanze/components/buttons/FooterStackButtons";
import { confirmButtonProps } from "../../../bonusVacanze/components/buttons/ButtonConfigurations";
import { IOStyles } from "../../../../../components/core/variables/IOStyles";
import IconFont from "../../../../../components/ui/IconFont";
import { cgnActivationComplete } from "../../store/actions/activation";
import { navigateToCgnDetails } from "../../navigation/actions";
import I18n from "../../../../../i18n";
import { IOColors } from "../../../../../components/core/variables/IOColors";
import paymentCompleted from "../../../../../../img/pictograms/payment-completed.png";
import { renderInfoRasterImage } from "../../../../../components/infoScreen/imageRendering";

type Props = ReturnType<typeof mapStateToProps> &
ReturnType<typeof mapDispatchToProps>;
Expand All @@ -23,7 +23,7 @@ type Props = ReturnType<typeof mapStateToProps> &
const CgnActivationCompletedScreen = (props: Props): React.ReactElement => (
<SafeAreaView style={IOStyles.flex}>
<InfoScreenComponent
image={<IconFont name={"io-complete"} size={104} color={IOColors.aqua} />}
image={renderInfoRasterImage(paymentCompleted)}
title={I18n.t("bonus.cgn.activation.success.title")}
body={I18n.t("bonus.cgn.activation.success.body")}
/>
Expand Down

0 comments on commit 146a197

Please sign in to comment.