Skip to content

Commit

Permalink
fix: update heading levels
Browse files Browse the repository at this point in the history
  • Loading branch information
imklau committed Aug 20, 2023
1 parent fe7cc74 commit 924287a
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
6 changes: 5 additions & 1 deletion packages/design-system/patterns/feature/Feature.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,11 @@ const Feature = ({
</Styled.Icon>
)}
<Styled.Content>
<Typography variant="bodyLarge" color={theme.colors.primary[500]}>
<Typography
variant="bodyLarge"
as="h3"
color={theme.colors.primary[500]}
>
{heading}
</Typography>
<Typography variant="bodyTitle">{children}</Typography>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ const RecurringPayment = () => (
text="Zlecenie stałe"
iconStart="money"
variant="h5"
as="h4"
line={false}
/>
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ const VirtualAdoption = () => (
text="Zlecenie stałe"
iconStart="money"
variant="h5"
as="h4"
line={false}
/>
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,19 @@ import * as Styled from "./VirtualAdoptionSteps.styled"

const cardsData = [
{
title: <Title text="Wybierz pupila" textSize="h3" />,
title: <Title text="Wybierz pupila" as="h3" />,
illustrationName: "pet",
description:
"Zadecyduj, kto ma zostać Twoim wirtualnym przyjacielem i zapamiętaj jego imię. Możesz adoptować dowolną liczbę pupili.",
},
{
title: <Title text="Ustaw zlecenie stałe" textSize="h3" />,
title: <Title text="Ustaw zlecenie stałe" as="h3" />,
illustrationName: "standingOrder",
description:
"Na swoim koncie bankowym ustaw polecenie przelewu. Koniecznie z dopiskiem: “darowizna i imię podopiecznego”.",
},
{
title: <Title text="Wyślij potwierdzenie" textSize="h3" />,
title: <Title text="Wyślij potwierdzenie" as="h3" />,
illustrationName: "confirmation",
description:
"Wyślij informację za pomocą krótkiego formularza na stronie, żebyśmy mogli znalezć Twoją wpłatę i informować o stanie pupila.",
Expand Down

1 comment on commit 924287a

@vercel
Copy link

@vercel vercel bot commented on 924287a Aug 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.