Add new data

This commit is contained in:
Damillora 2021-10-06 21:56:39 +07:00
parent 4a9aefb149
commit bfe77a70e5
3 changed files with 49 additions and 19 deletions

View File

@ -5,22 +5,16 @@
let shown; let shown;
function open() { function open() {
if(shown) { if (shown) {
window.open(src, "_blank"); window.open(src, '_blank');
} }
} }
</script> </script>
<div class="gallery__image"> <div class="gallery__image">
<img {src} {alt} on:click={() => (shown = !shown)} /> <img {src} {alt} on:click={() => (shown = !shown)} />
<div <div class:gallery__popup={true} class:gallery__popup--hidden={!shown}>
class:gallery__popup={true}
class:gallery__popup--hidden={!shown}
>
<img class="gallery__popup-image" {src} {alt} on:click={open} draggable="false" /> <img class="gallery__popup-image" {src} {alt} on:click={open} draggable="false" />
<div <div class="gallery__exit" on:click={() => (shown = !shown)}>x</div>
class="gallery__exit"
on:click={() => (shown = !shown)}
>x</div>
</div> </div>
</div> </div>

View File

@ -16,6 +16,14 @@
This page lists various IDs from games that I play or try out, in varying states of activity. This page lists various IDs from games that I play or try out, in varying states of activity.
</p> </p>
<p>My most frequently played genre is rhythm games, but sometimes I try other genres too</p> <p>My most frequently played genre is rhythm games, but sometimes I try other genres too</p>
<h2>Game Consoles</h2>
<GameListItem
name="Nintendo Switch"
link="/games"
playername="Damillora"
gameid="SW-8522-2159-0226"
/>
<h2>Game IDs</h2> <h2>Game IDs</h2>
<div class="card-list"> <div class="card-list">
<GameListItem <GameListItem
@ -147,6 +155,12 @@
playername="Damillora" playername="Damillora"
gameid="ePmtJyTwzn" gameid="ePmtJyTwzn"
/> />
<GameListItem
name="THE IDOLM@STER SideM GROWING STARS"
link="/games/saisuta"
playername="Damillora"
gameid="XZFL59XM"
/>
<GameListItem <GameListItem
name="Tokyo 7th Sisters" name="Tokyo 7th Sisters"
link="/games/t7s" link="/games/t7s"

View File

@ -0,0 +1,22 @@
<script>
import PageHeader from '$lib/components/PageHeader.svelte';
</script>
<svelte:head>
<title>Damillora: Game Profile</title>
</svelte:head>
<div class="page">
<PageHeader>
<h1 class="page-header__heading">Game Profile: THE iDOLM@STER SideM GROWING STARS</h1>
<p class="page-header__text">
<a class="post-header__social" href="https://sidem-gs.idolmaster-official.jp/">Game Website</a
>
</p>
</PageHeader>
<main class="container mx-auto main">
<!-- <h2>My Review</h2>
<blockquote />
<p><a href="/">Read more</a></p> -->
</main>
</div>