From 26557d86f91e40a1a057d0a84e711dc4eca87d75 Mon Sep 17 00:00:00 2001 From: taniashiba <126204004+taniashiba@users.noreply.github.com> Date: Fri, 20 Jun 2025 12:43:15 -0400 Subject: [PATCH] docs: Update Leaderboard in New Community Landing Page (#2954) Co-authored-by: Tania Chakraborty Co-authored-by: Rizel Scarlett --- .../src/pages/community/data/april-2025.json | 55 +++++----------- .../src/pages/community/data/may-2025.json | 63 ++++++------------- documentation/src/pages/community/index.tsx | 1 - 3 files changed, 35 insertions(+), 84 deletions(-) diff --git a/documentation/src/pages/community/data/april-2025.json b/documentation/src/pages/community/data/april-2025.json index 6a40670a..3b47486d 100644 --- a/documentation/src/pages/community/data/april-2025.json +++ b/documentation/src/pages/community/data/april-2025.json @@ -39,45 +39,20 @@ } ], "leaderboard": [ - { "handle": "yingjiehe-xyz", "rank": 1, "medal": "🥇" }, - { "handle": "zanesq", "rank": 2, "medal": "🥈" }, - { "handle": "angiejones", "rank": 3, "medal": "🥉" }, - { "handle": "kalvinnchau", "rank": 4 }, - { "handle": "lily-de", "rank": 5 }, - { "handle": "blackgirlbytes", "rank": 6 }, - { "handle": "alexhancock", "rank": 7 }, - { "handle": "zakiali", "rank": 8 }, - { "handle": "salman1993", "rank": 9 }, - { "handle": "EbonyLouis", "rank": 10 }, - { "handle": "iandouglas", "rank": 11 }, - { "handle": "michaelneale", "rank": 12 }, - { "handle": "JohnMAustin78", "rank": 13 }, - { "handle": "wendytang", "rank": 14 }, - { "handle": "Kvadratni", "rank": 15 }, - { "handle": "ahau-square", "rank": 16 }, - { "handle": "nahiyankhan", "rank": 17 }, - { "handle": "The-Best-Codes", "rank": 18 }, - { "handle": "baxen", "rank": 19 }, - { "handle": "laanak08", "rank": 20 }, - { "handle": "agiuliano-square", "rank": 21 }, - { "handle": "acekyd", "rank": 22 }, - { "handle": "taniashiba", "rank": 23 }, - { "handle": "dbraduan", "rank": 24 }, - { "handle": "sheagcraig", "rank": 25 }, - { "handle": "sana-db", "rank": 26 }, - { "handle": "jimbobbennett", "rank": 27 }, - { "handle": "lifeizhou-ap", "rank": 28 }, - { "handle": "alicehau", "rank": 29 }, - { "handle": "opdich", "rank": 30 }, - { "handle": "rockwotj", "rank": 31 }, - { "handle": "alexgleason", "rank": 32 }, - { "handle": "meenalc", "rank": 33 }, - { "handle": "ArtBears", "rank": 34 }, - { "handle": "GlyneG", "rank": 35 }, - { "handle": "DOsinga", "rank": 36 }, - { "handle": "omo", "rank": 37 }, - { "handle": "allisonjoycarter", "rank": 38 }, - { "handle": "mpaquettePax8", "rank": 39 }, - { "handle": "capttrousers", "rank": 40 } + { "handle": "The-Best-Codes", "rank": 1, "medal": "🥇" }, + { "handle": "dbraduan", "rank": 2, "medal": "🥈" }, + { "handle": "sheagcraig", "rank": 3, "medal": "🥉" }, + { "handle": "sana-db", "rank": 4 }, + { "handle": "jimbobbennett", "rank": 5 }, + { "handle": "opdich", "rank": 6 }, + { "handle": "rockwotj", "rank": 7 }, + { "handle": "alexgleason", "rank": 8 }, + { "handle": "ArtBears", "rank": 9 }, + { "handle": "GlyneG", "rank": 10 }, + { "handle": "DOsinga", "rank": 11 }, + { "handle": "omo", "rank": 12 }, + { "handle": "allisonjoycarter", "rank": 13 }, + { "handle": "mpaquettePax8", "rank": 14 }, + { "handle": "capttrousers", "rank": 15 } ] } \ No newline at end of file diff --git a/documentation/src/pages/community/data/may-2025.json b/documentation/src/pages/community/data/may-2025.json index 851b0dc5..c38aadb7 100644 --- a/documentation/src/pages/community/data/may-2025.json +++ b/documentation/src/pages/community/data/may-2025.json @@ -37,48 +37,25 @@ } ], "leaderboard": [ - { "handle": "blackgirlbytes", "rank": 1, "medal": "🥇" }, - { "handle": "zanesq", "rank": 2, "medal": "🥈" }, - { "handle": "michaelneale", "rank": 3, "medal": "🥉" }, - { "handle": "angiejones", "rank": 4 }, - { "handle": "Kvadratni", "rank": 5 }, - { "handle": "lifeizhou-ap", "rank": 6 }, - { "handle": "dianed-square", "rank": 7 }, - { "handle": "yingjiehe-xyz", "rank": 8 }, - { "handle": "salman1993", "rank": 9 }, - { "handle": "ahau-square", "rank": 10 }, - { "handle": "iandouglas", "rank": 11 }, - { "handle": "emma-squared", "rank": 12 }, - { "handle": "dbraduan", "rank": 13 }, - { "handle": "lily-de", "rank": 14 }, - { "handle": "alexhancock", "rank": 15 }, - { "handle": "EbonyLouis", "rank": 16 }, - { "handle": "wendytang", "rank": 17 }, - { "handle": "The-Best-Codes", "rank": 18 }, - { "handle": "opdich", "rank": 19 }, - { "handle": "agiuliano-square", "rank": 20 }, - { "handle": "patrickReiis", "rank": 21 }, - { "handle": "kalvinnchau", "rank": 22 }, - { "handle": "acekyd", "rank": 23 }, - { "handle": "nahiyankhan", "rank": 24 }, - { "handle": "taniashiba", "rank": 25 }, - { "handle": "JohnMAustin78", "rank": 26 }, - { "handle": "sheagcraig", "rank": 27 }, - { "handle": "alicehau", "rank": 28 }, - { "handle": "bwalding", "rank": 29 }, - { "handle": "jamadeo", "rank": 30 }, - { "handle": "rockwotj", "rank": 31 }, - { "handle": "danielzayas", "rank": 32 }, - { "handle": "svenstaro", "rank": 33 }, - { "handle": "adaug", "rank": 34 }, - { "handle": "loganmoseley", "rank": 35 }, - { "handle": "tiborvass", "rank": 36 }, - { "handle": "xuv", "rank": 37 }, - { "handle": "anilmuppalla", "rank": 38 }, - { "handle": "spencrmartin", "rank": 39 }, - { "handle": "gknoblauch", "rank": 40 }, - { "handle": "acheong08", "rank": 41 }, - { "handle": "faces-of-eth", "rank": 42 }, - { "handle": "wesbillman", "rank": 43 } + { "handle": "dbraduan", "rank": 1, "medal": "🥇" }, + { "handle": "The-Best-Codes", "rank": 2, "medal": "🥈" }, + { "handle": "opdich", "rank": 3, "medal": "🥉" }, + { "handle": "patrickReiis", "rank": 4 }, + { "handle": "sheagcraig", "rank": 5 }, + { "handle": "bwalding", "rank": 6 }, + { "handle": "jamadeo", "rank": 7 }, + { "handle": "rockwotj", "rank": 8 }, + { "handle": "danielzayas", "rank": 9 }, + { "handle": "svenstaro", "rank": 10 }, + { "handle": "adaug", "rank": 11 }, + { "handle": "loganmoseley", "rank": 12 }, + { "handle": "tiborvass", "rank": 13 }, + { "handle": "xuv", "rank": 14 }, + { "handle": "anilmuppalla", "rank": 15 }, + { "handle": "spencrmartin", "rank": 16 }, + { "handle": "gknoblauch", "rank": 17 }, + { "handle": "acheong08", "rank": 18 }, + { "handle": "faces-of-eth", "rank": 19 }, + { "handle": "wesbillman", "rank": 20 } ] } \ No newline at end of file diff --git a/documentation/src/pages/community/index.tsx b/documentation/src/pages/community/index.tsx index c3ee2c5f..cae956c5 100644 --- a/documentation/src/pages/community/index.tsx +++ b/documentation/src/pages/community/index.tsx @@ -45,7 +45,6 @@ function CommunityAllStarsSection() { const currentData = communityDataMap[activeMonth]; - // Handle scroll to show/hide indicator const handleScroll = (e) => { const { scrollTop, scrollHeight, clientHeight } = e.target; const isAtBottom = scrollTop + clientHeight >= scrollHeight - 10; // 10px threshold