:godmode: new moonboard send!
Signed-off-by: Sindre Kjelsrud <kjelsrudsindre@gmail.com>
This commit is contained in:
parent
646c7fd16a
commit
aac2768621
3 changed files with 29 additions and 10 deletions
BIN
public/img/moonboard_2016/klingoneasy.webp
Normal file
BIN
public/img/moonboard_2016/klingoneasy.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 29 KiB |
|
@ -1,17 +1,17 @@
|
|||
{
|
||||
"2016": [
|
||||
{
|
||||
"route":"BokChoiBoi",
|
||||
"route":"Klingon Easy",
|
||||
"grade":"6B+",
|
||||
"benchmark":false,
|
||||
"tries":5,
|
||||
"image":"/img/moonboard_2016/bokchoiboi.webp",
|
||||
"benchmark":true,
|
||||
"tries":2,
|
||||
"image":"/img/moonboard_2016/klingoneasy.webp",
|
||||
"date":
|
||||
{
|
||||
"year": "2024",
|
||||
"month": "02",
|
||||
"day": "07",
|
||||
"string": "07.02.2024"
|
||||
"month": "03",
|
||||
"day": "02",
|
||||
"string": "02.03.2024"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
@ -27,6 +27,20 @@
|
|||
"day": "09",
|
||||
"string": "09.02.2024"
|
||||
}
|
||||
},
|
||||
{
|
||||
"route":"BokChoiBoi",
|
||||
"grade":"6B+",
|
||||
"benchmark":false,
|
||||
"tries":5,
|
||||
"image":"/img/moonboard_2016/bokchoiboi.webp",
|
||||
"date":
|
||||
{
|
||||
"year": "2024",
|
||||
"month": "02",
|
||||
"day": "07",
|
||||
"string": "07.02.2024"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -16,9 +16,14 @@ const mb2016Setups = mb["2016"];
|
|||
class="bg-yellow-500 rounded-xl"
|
||||
/>
|
||||
<p class="font-bold text-xs">{mb.route} ({mb.grade}):</p>
|
||||
<p class="text-xs">
|
||||
{mb.tries == 1 ? "Flash" : `${mb.tries} tries`} | {mb.benchmark ? "Benchmarked" : "Not benchmarked"} | {mb.date.string}
|
||||
</p>
|
||||
|
||||
<div class="flex flex-col md:flex-row md:gap-1 text-xs items-center">
|
||||
<span>
|
||||
{mb.tries == 1 ? "Flash" : `${mb.tries} tries`} | {mb.benchmark ? "Benchmarked" : "Not benchmarked"}
|
||||
</span>
|
||||
<span class="hidden md:inline"> | </span>
|
||||
<span class="block md:inline">{mb.date.string}</span>
|
||||
</div>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue