{topItems.slice(0, 5).map((item, index) => {
- const medalColors = [
- 'bg-yellow-400 text-yellow-900',
- 'bg-gray-300 text-gray-900',
- 'bg-orange-400 text-orange-900',
- 'bg-blue-400/20 text-blue-300',
- 'bg-purple-400/20 text-purple-300',
- ];
const isMedal = index < 3;
- const medalColor =
- medalColors[index] || 'bg-white/20';
+ const medalColor = 'bg-white/20';
return (
- {index === 0 && '🥇'}
- {index === 1 && '🥈'}
- {index === 2 && '🥉'}
+ {index === 0 && (
+

+ )}
+ {index === 1 && (
+

+ )}
+ {index === 2 && (
+

+ )}
{index >= 3 && `#${index + 1}`}