Skip to content
This repository was archived by the owner on Jul 3, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions app/pages/home/Discounts.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,14 @@ export function Discounts(): ReactElement {
<H2 className="text-center mb-6">Discounts</H2>
<div className="grid grid-cols-1 sm:grid-cols-2 gap-3">
{discounts.map(({ id, code, description }) => (
<Card key={id} className="flex-grow w-full p-2">
<Card key={id} className="flex-grow w-full max-w-xs p-2 border-black p-2">
<CardContent className="p-2">
<CardTitle className="mb-2">{code}</CardTitle>
{description !== undefined && <CardDescription>{description['en-US']}</CardDescription>}
<CardTitle className="mb-2 animate-bounce bg-gradient-to-r from-pink-500 to-violet-500 bg-clip-text text-transparent text-center">
{code}
</CardTitle>
{description !== undefined && (
<CardDescription className="text-center text-violet-950">{description['en-US']}</CardDescription>
)}
</CardContent>
</Card>
))}
Expand Down