diff --git a/frontend/components/leaderboard/LeaderboardPodium.tsx b/frontend/components/leaderboard/LeaderboardPodium.tsx index febd3937..67d9d294 100644 --- a/frontend/components/leaderboard/LeaderboardPodium.tsx +++ b/frontend/components/leaderboard/LeaderboardPodium.tsx @@ -8,7 +8,7 @@ import { User } from './types'; const rankConfig = { 1: { - height: '100%', + height: '70%', delay: 0.4, style: { border: 'border-yellow-400 dark:border-yellow-500', @@ -19,7 +19,7 @@ const rankConfig = { }, }, 2: { - height: '50%', + height: '40%', delay: 0.2, style: { border: 'border-slate-300 dark:border-slate-500', @@ -30,7 +30,7 @@ const rankConfig = { }, }, 3: { - height: '35%', + height: '20%', delay: 0.6, style: { border: 'border-orange-300 dark:border-orange-500', diff --git a/frontend/components/leaderboard/LeaderboardTable.tsx b/frontend/components/leaderboard/LeaderboardTable.tsx index 6a450992..903c17b9 100644 --- a/frontend/components/leaderboard/LeaderboardTable.tsx +++ b/frontend/components/leaderboard/LeaderboardTable.tsx @@ -33,19 +33,19 @@ export function LeaderboardTable({ return (
-
- +
+
- - @@ -78,8 +78,8 @@ export function LeaderboardTable({
-
-
{t('tableCaption')}
+ {t('rank')} {t('user')} + {t('score')}
+
+
@@ -105,8 +105,11 @@ function TableRow({ 'px-2 sm:px-6 py-3 sm:py-4 border-b border-slate-100 dark:border-white/5'; const leftBorderClass = isCurrentUser - ? 'border-l-[1px] sm:border-l-[1px] border-l-[var(--accent-primary)]' + ? 'border-l-[1px] sm:border-l-[1px] border-l-transparent' : 'border-l-[1px] sm:border-l-[1px] border-l-transparent'; + const rightBorderClass = isCurrentUser + ? 'border-r-[1px] sm:border-r-[1px] border-r-transparent' + : 'border-r-[1px] sm:border-r-[1px] border-r-transparent'; return ( -
-
+
+