diff --git a/src/assets/images/first-place.png b/src/assets/images/first-place.png new file mode 100644 index 0000000..417c10b Binary files /dev/null and b/src/assets/images/first-place.png differ diff --git a/src/assets/images/second-place.png b/src/assets/images/second-place.png new file mode 100644 index 0000000..8146eb7 Binary files /dev/null and b/src/assets/images/second-place.png differ diff --git a/src/assets/images/third-place.png b/src/assets/images/third-place.png new file mode 100644 index 0000000..a5e7eae Binary files /dev/null and b/src/assets/images/third-place.png differ diff --git a/src/views/components/retrospective-slides.tsx b/src/views/components/retrospective-slides.tsx index 208d7d5..5cc41d8 100644 --- a/src/views/components/retrospective-slides.tsx +++ b/src/views/components/retrospective-slides.tsx @@ -10,6 +10,11 @@ import { ChartLineUpIcon, SpinnerIcon } from '@phosphor-icons/react'; import { motion } from 'framer-motion'; import { useEffect } from 'react'; import { useParams } from 'react-router-dom'; + +import firstPlaceImg from '@/assets/images/first-place.png'; +import secondPlaceImg from '@/assets/images/second-place.png'; +import thirdPlaceImg from '@/assets/images/third-place.png'; + import ProfileCard from './ProfileCard'; import { StorySlide } from './story-slide'; @@ -124,7 +129,7 @@ export function RetrospectiveSlides() { /> - ) : ( - <> - Retrospectiva Ágape {year} - + <>Retrospectiva Ágape {year} )} - +
{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 && ( + First Place + )} + {index === 1 && ( + Second Place + )} + {index === 2 && ( + Third Place + )} {index >= 3 && `#${index + 1}`}