refactor: zod validation and pr comments

This commit is contained in:
Christel Westerberg
2024-04-29 14:00:24 +02:00
parent 9f0b044daa
commit d9f1470eb7
31 changed files with 222 additions and 207 deletions

View File

@@ -33,7 +33,7 @@ export default async function LoyaltyLevels() {
function LevelCard({ level }: LevelCardProps) {
return (
<div className={styles.card}>
<article className={styles.card}>
<Title level="h4">{level.tier}</Title>
<Image src={level.logo} alt={level.name} width={140} height={54} />
<p className={styles.qualifications}>
@@ -45,6 +45,6 @@ function LevelCard({ level }: LevelCardProps) {
{benefit}
</p>
))}
</div>
</article>
)
}