Merged in feat/SW-196-design-fixes (pull request #547)

Feat/SW-196 design fixes

* feat(SW-196): Updated copy My credit cards -> My payment cards

* fix: update design system version

* feat(SW-196): Update Header component to use Preamble instead of Subtitle

* feat(SW-196): Minor design fixes


Approved-by: Christel Westerberg
This commit is contained in:
Tobias Johansson
2024-09-03 08:43:13 +00:00
parent c0b16e8dee
commit bc3233ff64
27 changed files with 33 additions and 33 deletions

View File

@@ -43,7 +43,7 @@ export default async function CurrentBenefitsBlock({
return (
<SectionContainer>
<SectionHeader title={title} link={link} subtitle={subtitle} />
<SectionHeader title={title} link={link} preamble={subtitle} />
<Grids.Stackable>
{currentLevel.benefits.map((benefit, idx) => (
<article className={styles.card} key={`${currentLevel}-${idx}`}>

View File

@@ -39,7 +39,7 @@ export default async function NextLevelBenefitsBlock({
// TODO: how to handle different count of unlockable benefits?
return (
<SectionContainer>
<SectionHeader title={title} subtitle={subtitle} link={link} />
<SectionHeader title={title} preamble={subtitle} link={link} />
<Grids.Stackable columns={2}>
{nextLevel.benefits.map((benefit) => (
<article key={benefit.title} className={styles.card}>