Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 2024-2025 to monthlies page #5181

Merged
merged 1 commit into from
Mar 8, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import divToProbs from './div_to_probs.json';
import idToSol from './id_to_sol.json';

const startYear = 2016;
const endYear = 2024; // manually increment this for a new season
const endYear = 2025; // manually increment this for a new season
const allYears = `All (${startYear - 1} - ${endYear})`;
const divisions = ['Bronze', 'Silver', 'Gold', 'Platinum'];

Expand All @@ -34,9 +34,9 @@ const seasons = getSeasons();

const color: { [key: string]: string } = {
Bronze: 'bg-red-800',
Silver: 'bg-gray-300',
Silver: 'bg-gray-400',
Gold: 'bg-yellow-300',
Platinum: 'bg-gray-300', // whoops plat looks basically the same as silver on the website
Platinum: 'bg-gray-200',
};

const getCircle = option => {
Expand Down