refactor: remove winners list table from winners page
Removed the detailed winners list table showing individual winners with dates, names, prizes, and boutiques. The page now only displays: - Summary statistics (total winners, active days, cities) - Winner testimonials - Call-to-action section This simplifies the page while maintaining social proof through testimonials and statistics. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
a3e0227e41
commit
1d55571017
|
|
@ -210,67 +210,6 @@ export default function GagnantsPage() {
|
|||
</div>
|
||||
</section>
|
||||
|
||||
{/* Winners List */}
|
||||
<section className="py-8 pb-16">
|
||||
<div className="container mx-auto px-4">
|
||||
<div className="max-w-5xl mx-auto">
|
||||
<div className="bg-white rounded-xl shadow-md overflow-hidden">
|
||||
<div className="p-6 border-b border-gray-200">
|
||||
<div className="flex items-center gap-2">
|
||||
<span className="text-xl">🏆</span>
|
||||
<h2 className="text-xl font-bold text-gray-900">Liste des gagnants ({winners.length})</h2>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Table Header */}
|
||||
<div className="hidden md:grid md:grid-cols-4 gap-4 px-6 py-4 bg-gray-50 border-b border-gray-200 text-sm font-semibold text-gray-700">
|
||||
<div>DATE</div>
|
||||
<div>GAGNANT</div>
|
||||
<div>LOT REMPORTÉ</div>
|
||||
<div>BOUTIQUE</div>
|
||||
</div>
|
||||
|
||||
{/* Table Rows */}
|
||||
<div className="divide-y divide-gray-200">
|
||||
{winners.map((winner, index) => (
|
||||
<div key={index} className="px-6 py-4 hover:bg-gray-50 transition-colors">
|
||||
<div className="grid md:grid-cols-4 gap-4 items-center">
|
||||
{/* Date */}
|
||||
<div className="flex items-center gap-2">
|
||||
<span className="text-gray-400 md:hidden font-semibold">📅</span>
|
||||
<span className="text-gray-600">{winner.date}</span>
|
||||
</div>
|
||||
|
||||
{/* Name */}
|
||||
<div className="flex items-center gap-2">
|
||||
<span className="text-gray-400 md:hidden font-semibold">👤</span>
|
||||
<span className="font-medium text-gray-900">{winner.name}</span>
|
||||
</div>
|
||||
|
||||
{/* Prize */}
|
||||
<div>
|
||||
<span className={`inline-flex items-center gap-2 px-3 py-1 rounded-full text-sm font-medium ${getPrizeColor(winner.prizeType)}`}>
|
||||
<span>{getPrizeIcon(winner.prizeType)}</span>
|
||||
<span>{winner.prize}</span>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
{/* Boutique */}
|
||||
<div className="flex items-center gap-2">
|
||||
<span className="text-gray-400 md:hidden font-semibold">🏪</span>
|
||||
<div>
|
||||
<div className="font-medium text-gray-900">{winner.boutique}</div>
|
||||
<div className="text-sm text-gray-500">{winner.city}</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{/* Testimonials Section */}
|
||||
<section className="pb-16">
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user