Skip to content

Commit

Permalink
do now show "voting open now" subtitle after voting closes
Browse files Browse the repository at this point in the history
  • Loading branch information
Saeraphinx committed Jan 15, 2025
1 parent 9ab8561 commit 15c2650
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions assets/finalists.html
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ <h2 id="tl-subtitle">Voting Open Now!</h2>
<p id="tl-desc">
Over 2000 total submissions. 300+ mappers. 30 categories. 1 community.<br><br>
It's time to vote for the best of the best in the Beat Saber mapping community. You can only vote for one mapper/map per category, so choose wisely!<br><br>
Voting will close on <b>January 31st, 2024</b>. Check out the BeastSaber website for more information.
Voting will close on <b>January 14st, 2025</b>. Check out the BeastSaber website for more information.
</p>

<a class="lang" id="lang-en" onclick="setLanguage(`en`)">English</a>
Expand Down Expand Up @@ -752,10 +752,18 @@ <h2 id="tl-subtitle">Voting Open Now!</h2>
return "The BeastSaber Mapping Awards";
}
case "subtitle":
if (lang === `jp`) {
return "投票開始!";
if (new Date(Date.now()) >= new Date(`January 15, 2025 00:00:00 UTC`)) {
if (lang === `jp`) {
return "略して The Beasties - マッパーによる、マッパーのための賞";
} else {
return "AKA: The Beasties - By Mappers, for Mappers";
}
} else {
return "Voting Open Now!";
if (lang === `jp`) {
return "投票開始!";
} else {
return "Voting Open Now!";
}
}
case "desc":
if (lang === `jp`) {
Expand Down

0 comments on commit 15c2650

Please sign in to comment.