mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-09-13 14:46:10 -05:00
Fill up tags.json with initial tags
This commit is contained in:
3
TODO.md
3
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)
|
||||
|
||||
@@ -11,7 +11,7 @@ export function Tags({ tags }: { tags: Array<CalendarEventTag> }) {
|
||||
<ul className="calendar__event__tags">
|
||||
{tags.map((tag) => (
|
||||
<li key={tag} style={{ backgroundColor: allTags[tag].color }}>
|
||||
{t(`tag.${tag}`)}
|
||||
{t(`tag.name.${tag}`)}
|
||||
</li>
|
||||
))}
|
||||
</ul>
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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."
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user