feat: add version qualifier for game list

This commit is contained in:
Damillora 2023-09-30 17:27:17 +07:00
parent 8ea89fcd55
commit c271fdb1cd
2 changed files with 25 additions and 5 deletions

View File

@ -5,6 +5,7 @@
export let name, link, gameid, playername; export let name, link, gameid, playername;
export let reviewlink = null; export let reviewlink = null;
export let version = null;
</script> </script>
<Card> <Card>
@ -12,6 +13,11 @@
<CardContent> <CardContent>
<CardTitle> <CardTitle>
<a href={link}>{name}</a> <a href={link}>{name}</a>
{#if version}
<span class="game-card__version">
{version}
</span>
{/if}
</CardTitle> </CardTitle>
{#if reviewlink} {#if reviewlink}
<CardDescription> <CardDescription>
@ -77,6 +83,11 @@
} }
} }
&__version {
font-size: $text-base;
font-weight: 300;
color: var(--primary-color);
}
&__icon { &__icon {
margin-right: 0.5rem; margin-right: 0.5rem;
} }

View File

@ -19,10 +19,11 @@
gameid="SW-8522-2159-0226" gameid="SW-8522-2159-0226"
/> />
<GameListItem <GameListItem
name="maimai DX (International ver)" name="maimai DX"
link="https://maimai.sega.com/" link="https://maimai.sega.com/"
playername="YUIKA283" playername="YUIKA283"
gameid="6027059823123" gameid="6027059823123"
version="International ver"
/> />
<GameListItem <GameListItem
name="SOUND VOLTEX EXCEED GEAR" name="SOUND VOLTEX EXCEED GEAR"
@ -32,23 +33,26 @@
/> />
<h2>Main Mobile Games</h2> <h2>Main Mobile Games</h2>
<GameListItem <GameListItem
name="Arknights (EN)" name="Arknights"
link="http://arknights.global" link="http://arknights.global"
playername="Damillora" playername="Damillora"
gameid="Damillora#0835" gameid="Damillora#0835"
reviewlink="https://blog.nanao.moe/game-reviews/arknights/" reviewlink="https://blog.nanao.moe/game-reviews/arknights/"
version="Global server"
/> />
<GameListItem <GameListItem
name="Azur Lane (EN)" name="Azur Lane"
link="https://azurlane.yo-star.com" link="https://azurlane.yo-star.com"
playername="Damillora" playername="Damillora"
gameid="204960914" gameid="204960914"
version="Global server"
/> />
<GameListItem <GameListItem
name="Honkai Star Rail" name="Honkai Star Rail"
link="https://hsr.hoyoverse.com" link="https://hsr.hoyoverse.com"
playername="Damillora" playername="Damillora"
gameid="801618657" gameid="801618657"
version="Asia server"
/> />
<GameListItem <GameListItem
name="IDOLY PRIDE" name="IDOLY PRIDE"
@ -56,12 +60,14 @@
playername="Damillora" playername="Damillora"
gameid="9Y34R3VH" gameid="9Y34R3VH"
reviewlink="https://blog.nanao.moe/game-reviews/idoly-pride" reviewlink="https://blog.nanao.moe/game-reviews/idoly-pride"
version="Japanese server"
/> />
<GameListItem <GameListItem
name="Neural Cloud" name="Neural Cloud"
link="https://42lab-us.sunborngame.com" link="https://42lab-us.sunborngame.com"
playername="Damillora" playername="Damillora"
gameid="52799" gameid="52799"
version="Global server"
/> />
<h2>Currently Reviewing</h2> <h2>Currently Reviewing</h2>
<GameListItem <GameListItem
@ -91,13 +97,15 @@
playername="Damillora" playername="Damillora"
gameid="6296686" gameid="6296686"
reviewlink="https://blog.nanao.moe/game-reviews/blue-archive/" reviewlink="https://blog.nanao.moe/game-reviews/blue-archive/"
version="Japanese server"
/> />
<GameListItem <GameListItem
name="Counter:Side (SEA)" name="Counter:Side"
link="https://counterside.zlongame.com/" link="https://counterside.zlongame.com/"
playername="Damillora" playername="Damillora"
gameid="#394941" gameid="#394941"
reviewlink="https://blog.nanao.moe/game-reviews/counter-side/" reviewlink="https://blog.nanao.moe/game-reviews/counter-side/"
version="SEA server"
/> />
<GameListItem <GameListItem
name="CUE!" name="CUE!"
@ -107,11 +115,12 @@
reviewlink="https://blog.nanao.moe/game-reviews/cue/" reviewlink="https://blog.nanao.moe/game-reviews/cue/"
/> />
<GameListItem <GameListItem
name="Project SEKAI COLORFUL STAGE (JP)" name="Project SEKAI COLORFUL STAGE"
link="https://pjsekai.sega.jp/" link="https://pjsekai.sega.jp/"
playername="Damillora" playername="Damillora"
gameid="5121608293470214" gameid="5121608293470214"
reviewlink="https://blog.nanao.moe/game-reviews/project-sekai-colorful-stage/" reviewlink="https://blog.nanao.moe/game-reviews/project-sekai-colorful-stage/"
version="Japanese server"
/> />
<GameListItem <GameListItem
name="Snowbreak: Containment Zone" name="Snowbreak: Containment Zone"