Merged in feat/card-grid-ui (pull request #332)
Feat/card grid ui Approved-by: Simon.Emanuelsson
This commit is contained in:
@@ -45,7 +45,7 @@ export default async function CurrentBenefitsBlock({
|
||||
return (
|
||||
<SectionContainer>
|
||||
<SectionHeader title={title} link={link} subtitle={subtitle} />
|
||||
<Grids.Scrollable>
|
||||
<Grids.Stackable>
|
||||
{currentLevel.benefits.map((benefit, idx) => (
|
||||
<article className={styles.card} key={`${currentLevel}-${idx}`}>
|
||||
<Title
|
||||
@@ -58,7 +58,7 @@ export default async function CurrentBenefitsBlock({
|
||||
</Title>
|
||||
</article>
|
||||
))}
|
||||
</Grids.Scrollable>
|
||||
</Grids.Stackable>
|
||||
<SectionLink link={link} variant="mobile" />
|
||||
</SectionContainer>
|
||||
)
|
||||
|
||||
@@ -42,7 +42,7 @@ export default async function NextLevelBenefitsBlock({
|
||||
return (
|
||||
<SectionContainer>
|
||||
<SectionHeader title={title} subtitle={subtitle} link={link} />
|
||||
<Grids.Stackable>
|
||||
<Grids.Stackable columns={2}>
|
||||
{nextLevel.benefits.map((benefit) => (
|
||||
<article key={benefit.title} className={styles.card}>
|
||||
<Chip>
|
||||
|
||||
Reference in New Issue
Block a user