diff --git a/packages/nextjs/app/submissions/page.tsx b/packages/nextjs/app/submissions/page.tsx index cbf2f84..da66acb 100644 --- a/packages/nextjs/app/submissions/page.tsx +++ b/packages/nextjs/app/submissions/page.tsx @@ -20,14 +20,24 @@ const Submissions: NextPage = async () => { ? submission.votes.map(vote => vote.score).reduce((a, b) => a + b, 0) / submission.votes.length : 0; - const winnerTag = avgScore >= winnersThreshold ? "Winner" : avgScore >= runnersUpThreshold ? "Runner Up" : null; + const winnerTag = avgScore >= winnersThreshold ? "Winner" : avgScore >= runnersUpThreshold ? "Finalist" : null; return { ...submission, avgScore, winnerTag }; }) .sort((a, b) => b.avgScore - a.avgScore); return ( -
+
+

🏆 Prize Distribution

+ +
{submissions.length === 0 && (