update
This commit is contained in:
parent
91697f1179
commit
863c14b38e
@ -137,6 +137,11 @@ async function changeLeaderboard(event)
|
||||
startDate = '2024-05-01';
|
||||
endDate = '2024-05-31'
|
||||
}
|
||||
else if (valueDate === 'june2024')
|
||||
{
|
||||
startDate = '2024-06-01';
|
||||
endDate = '2024-06-30'
|
||||
}
|
||||
|
||||
await getLeaderboard();
|
||||
isLoaded = true;
|
||||
@ -301,7 +306,8 @@ async function getLeaderboard() {
|
||||
<div class="relative mt-4">
|
||||
<select class="select text-white select-bordered select-sm w-48 p-0 pl-5 overflow-y-auto bg-[#2A303C]" on:change={changeLeaderboard}>
|
||||
<option disabled>View the past months of winners</option>
|
||||
<option value="may2024" selected>{displayMonth} 2024</option>
|
||||
<option value="june2024" selected>{displayMonth} 2024</option>
|
||||
<option value="may2024">May 2024</option>
|
||||
<option value="april2024">April 2024</option>
|
||||
<option value="march2024">March 2024</option>
|
||||
<option value="feb2024">February 2024</option>
|
||||
|
||||
@ -89,25 +89,10 @@
|
||||
|
||||
|
||||
<span class="text-white text-md mt-10 p-3 text-center ">
|
||||
The Top 3 participant in the <a href="/leaderboard" class="text-blue-400 hover:text-white">
|
||||
The Top 3 participant in the <a href="/leaderboard" class="text-blue-500 hover:text-white">
|
||||
Leaderboard</a>
|
||||
will be rewarded accordingly:
|
||||
will be rewarded accordingly with custom badges in their profile.
|
||||
</span>
|
||||
|
||||
<ol class="text-white list-disc ml-10 sm:ml-3 p-3 pb-10 sm:pb-5 sm:flex sm:justify-center sm:items-center">
|
||||
<li class="p-1">
|
||||
First Place:
|
||||
<span class="font-bold">1x 30% Discount</span>
|
||||
</li>
|
||||
<li class="p-1">
|
||||
Second Place:
|
||||
<span class="font-bold">1x 20% Discount</span>
|
||||
</li>
|
||||
<li class="p-1">
|
||||
Third Place:
|
||||
<span class="font-bold">1x 10% Discount</span>
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user