Skip to content

Commit 73f431e

Browse files
committed
Cosmetics and fixes to previous commit
1 parent ff81ecb commit 73f431e

5 files changed

Lines changed: 16 additions & 14 deletions

File tree

src/ui/language/translations.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,8 @@ const translations = {
184184
topicsChosen: {
185185
topicsTitle: "Selected topics",
186186
topicsText: "Based on your chosen topics we will provide you with a list of benefits you may be eligible for.",
187-
benefitTitle: "Selected benefit",
188-
benefitText: "Based on your chosen benefit we will ask you the questions necessary to determine your eligibility.",
187+
benefitsTitle: "Selected benefits",
188+
benefitsText: "Based on your chosen benefits we will ask you the questions necessary to determine your eligibilities.",
189189
noChoiceTitle: "You have not selected any topics. The quick check will be applied to all topics.",
190190
discoverBtn: "Discover your benefits",
191191
},
@@ -502,8 +502,8 @@ const translations = {
502502
topicsChosen: {
503503
topicsTitle: "Ausgewählte Themen",
504504
topicsText: "Basierend auf deinen ausgewählten Themen stellen wir dir eine Liste von Leistungen zur Verfügung, für die du möglicherweise infrage kommst.",
505-
benefitTitle: "Ausgewählte Leistung",
506-
benefitText: "Basierend auf deiner ausgewählten Leistung stellen wir dir die notwendigen Fragen, um deine Anspruchsberechtigung zu ermitteln.",
505+
benefitsTitle: "Ausgewählte Leistungen",
506+
benefitsText: "Basierend auf deinen ausgewählten Leistungen stellen wir dir die notwendigen Fragen, um deine Anspruchsberechtigungen zu ermitteln.",
507507
noChoiceTitle: "Du hast keine Themen ausgewählt. Der Schnellcheck wird auf alle Themen angewendet.",
508508
discoverBtn: "Entdecke deine Leistungen",
509509
},

src/ui/screens/benefit-page/components/BenefitPageHeader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ const BenefitPageHeader = ({ id, benefit, validatedStatus, categoryTitles }) =>
9292
}
9393
}}
9494
component={Link}
95-
to={'/onboarding-welcome/'}
95+
to={'/onboarding-welcome'}
9696
onClick={() => {
9797
setSelectedBenefits([id]);
9898
clearSelectedTopics()

src/ui/screens/eligibilty-overview/components/EligibilityOverviewItem.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ const EligibilityOverviewItem = ({ t, item, eligible }) => {
115115
setSelectedBenefits([item.id]);
116116
}}
117117
text={'app.browseAll.checkElBtn'}
118-
link={`/onboarding-welcome/`}
118+
link={`/onboarding-welcome`}
119119
size='small'
120120
endIcon={<ChevronRightIcon sx={{ fontSize: '16px' }} />}
121121
/>

src/ui/screens/eligibilty-overview/components/EligibilityOverviewItemDetails.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const EligibilityOverviewItemDetails = ({ item, eligible }) => {
3030
setSelectedBenefits([item.id]);
3131
}}
3232
text={'app.browseAll.checkElBtn'}
33-
link={`/onboarding-welcome/`}
33+
link={`/onboarding-welcome`}
3434
size='small'
3535
/>
3636
}

src/ui/screens/onboarding-pages/overview/OnboardingWelcomeOverview.js

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ const OnboardingWelcomeOverviewView = ({
4343
: (
4444
<>
4545
<Typography variant="h2" sx={{ color: 'pink.main', fontWeight: '500' }}>
46-
{isBenefitMode() ? t('app.topicsChosen.benefitTitle') : t('app.topicsChosen.topicsTitle')}
46+
{isBenefitMode() ? t('app.topicsChosen.benefitsTitle') : t('app.topicsChosen.topicsTitle')}
4747
</Typography>
4848
<Typography variant="body1">
49-
{isBenefitMode() ? t('app.topicsChosen.benefitText') : t('app.topicsChosen.topicsText')}
49+
{isBenefitMode() ? t('app.topicsChosen.benefitsText') : t('app.topicsChosen.topicsText')}
5050
</Typography>
5151
</>)}
5252
</VBox>
@@ -58,11 +58,13 @@ const OnboardingWelcomeOverviewView = ({
5858
borderRadius: theme.shape.borderRadius,
5959
backgroundColor: 'white.main',
6060
}}>
61-
{benefitTitles.map((title, idx) => (
62-
<Typography key={idx} variant="h2" sx={{ fontWeight: '400' }}>
63-
{title}
64-
</Typography>
65-
))}
61+
<VBox>
62+
{benefitTitles.map((title, idx) => (
63+
<Typography key={idx} variant="h2" sx={{ fontWeight: '400' }}>
64+
{title}
65+
</Typography>
66+
))}
67+
</VBox>
6668
</HBox>
6769
</VBox>
6870
) : (

0 commit comments

Comments
 (0)