Skip to content

Commit 34a6041

Browse files
committed
update links design
1 parent 41f9c32 commit 34a6041

2 files changed

Lines changed: 9 additions & 8 deletions

File tree

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

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,25 +10,26 @@ const BenefitPageLinkButton = ({ link }) => {
1010
return (
1111
<VBox
1212
sx={{
13-
width: { xs: '100%', sm: 250 },
14-
padding: { xs: 2, sm: 4 },
13+
maxWidth: 800,
14+
padding: { xs: 2, sm: 2 },
1515
backgroundColor: "transparent",
1616
border: "1px solid",
17-
borderColor: "blue.main",
17+
borderColor: "blue.dark",
1818
boxShadow: '0px 1px 2px rgba(0, 0, 0, 0.25)',
19-
borderRadius: theme.shape.borderRadius
19+
borderRadius: theme.shape.borderRadius,
20+
gap: 2,
2021

2122
}}
2223
>
23-
<VBox sx={{ gap: 2 }} >
24+
<VBox sx={{ gap: 1 }} >
2425
<Typography variant="h4" sx={{ fontWeight: 500, wordBreak: "break-word" }}>
2526
{link?.title}
2627
</Typography>
2728
<Typography variant="body1" sx={{ wordBreak: "break-word" }}>
2829
{link?.description}
2930
</Typography>
3031
<RegularButton
31-
variant="transparentBlueOutlined"
32+
variant="whiteOutlinedBlue"
3233
size='small'
3334
text={'Link öffnen'}
3435
link={link?.url}

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ const BenefitPageLinks = ({ t, linksList }) => {
2222
{t('app.benefitPage.links.title')}
2323
</Typography>
2424
</HBox>
25-
<HBox sx={{flexWrap: 'wrap', gap: 2}}>
25+
<VBox sx={{flexWrap: 'wrap', gap: 2}}>
2626
{
2727
linksList?.map((link, i) =>
2828
<BenefitPageLinkButton key={i} t={t} link={link} />
2929
)
3030
}
31-
</HBox>
31+
</VBox>
3232
</VBox >
3333
</VBox >
3434
);

0 commit comments

Comments
 (0)