fix: remove button under loyalty level cards
This commit is contained in:
@@ -15,8 +15,6 @@ import {
|
|||||||
NewFriend,
|
NewFriend,
|
||||||
TrueFriend,
|
TrueFriend,
|
||||||
} from "@/components/Levels"
|
} from "@/components/Levels"
|
||||||
import Button from "@/components/TempDesignSystem/Button"
|
|
||||||
import Link from "@/components/TempDesignSystem/Link"
|
|
||||||
import Body from "@/components/TempDesignSystem/Text/Body"
|
import Body from "@/components/TempDesignSystem/Text/Body"
|
||||||
import Title from "@/components/TempDesignSystem/Text/Title"
|
import Title from "@/components/TempDesignSystem/Text/Title"
|
||||||
|
|
||||||
@@ -33,22 +31,15 @@ export default function LoyaltyLevels() {
|
|||||||
|
|
||||||
const { levels } = levelsData[lang]
|
const { levels } = levelsData[lang]
|
||||||
return (
|
return (
|
||||||
<section className={styles.container}>
|
<section className={styles.cardContainer}>
|
||||||
<div className={styles.cardContainer}>
|
{levels.map((level: Level) => (
|
||||||
{levels.map((level: Level) => (
|
<LevelCard
|
||||||
<LevelCard
|
key={level.level}
|
||||||
key={level.level}
|
formatMessage={formatMessage}
|
||||||
formatMessage={formatMessage}
|
lang={lang}
|
||||||
lang={lang}
|
level={level}
|
||||||
level={level}
|
/>
|
||||||
/>
|
))}
|
||||||
))}
|
|
||||||
</div>
|
|
||||||
<Button asChild intent="primary">
|
|
||||||
<Link className={styles.link} href={`/${lang}/compare-all-levels`}>
|
|
||||||
{formatMessage({ id: "Compare all levels" })}
|
|
||||||
</Link>
|
|
||||||
</Button>
|
|
||||||
</section>
|
</section>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user