diff --git a/TODO.md b/TODO.md index fee27798c..449346f7f 100644 --- a/TODO.md +++ b/TODO.md @@ -7,7 +7,8 @@ Calendar - [x] Add badges to the seed - [x] Implement badge prizes - [x] Implement tags -- [ ] Add initial tags.json +- [x] Add initial tags.json +- [ ] Add tags to the seed - [ ] Page to add a new event - [ ] Different fields to submit depending on if future date or past date - [ ] Edit page (add winners this way) diff --git a/app/routes/calendar/components/Tags.tsx b/app/routes/calendar/components/Tags.tsx index b525ea588..92fe97921 100644 --- a/app/routes/calendar/components/Tags.tsx +++ b/app/routes/calendar/components/Tags.tsx @@ -11,7 +11,7 @@ export function Tags({ tags }: { tags: Array }) { diff --git a/app/routes/calendar/tags.json b/app/routes/calendar/tags.json index 58b38e24e..ef327c24f 100644 --- a/app/routes/calendar/tags.json +++ b/app/routes/calendar/tags.json @@ -1,5 +1,29 @@ { "BADGE_PRIZE": { "color": "#FDFD96" + }, + "SPECIAL": { + "color": "#CE93D8" + }, + "ART": { + "color": "#C158F6" + }, + "MONEY": { + "color": "#96F29D" + }, + "REGION": { + "color": "#FF8C8C" + }, + "LOW": { + "color": "#BBDEFB" + }, + "COUNT": { + "color": "#62E8F5" + }, + "LAN": { + "color": "#FFF" + }, + "QUALIFIER": { + "color": "#FFC0CB" } } diff --git a/public/locales/en/calendar.json b/public/locales/en/calendar.json index cc27d1d2f..76bc9501f 100644 --- a/public/locales/en/calendar.json +++ b/public/locales/en/calendar.json @@ -1,3 +1,20 @@ { - "tag.BADGE_PRIZE": "Badge prize" + "tag.name.BADGE_PRIZE": "Badge prize", + "tag.name.SPECIAL": "Special rules", + "tag.name.ART": "Art prizes", + "tag.name.MONEY": "Money prizes", + "tag.name.REGION": "Region locked", + "tag.name.LOW": "Skill cap", + "tag.name.COUNT": "Entry limit", + "tag.name.LAN": "LAN", + "tag.name.QUALIFIER": "Qualifier", + "tag.desc.BADGE_PRIZE": "Winner of this event gets a sendou.ink badge.", + "tag.desc.SPECIAL": "Ruleset that differ from the standard e.g. limited what weapons can be used.", + "tag.desc.ART": "You can win art by playing in this tournament.", + "tag.desc.MONEY": "You can win money by playing in this tournament.", + "tag.desc.REGION": "Limited who can play in this event based on location.", + "tag.desc.LOW": "Who can play in this event is limited by skill.", + "tag.desc.COUNT": "Only limited amount of teams can register.", + "tag.desc.LAN": "This event is played locally.", + "tag.desc.QUALIFIER": "This tournament is a qualifier for another event." }