Add rahvatakus to games, remove "rohkem mänge soon" from games

The placeholder "more games soon" button isn't needed anymore, because
there already is enough on the site
This commit is contained in:
Mihkel Martin Kasterpalu 2025-02-12 02:02:37 +02:00
parent 2130ae5c39
commit 25ffa850e3
2 changed files with 6 additions and 9 deletions

View file

@ -1,6 +1,11 @@
import type { GamesObj } from '$lib/types';
const games: GamesObj = {
rahvatarkus: {
name: 'Rahva tarkus',
image: '',
description: 'Rahvas teab, sest pitu pead on mitu pead - hajusintelligents'
},
vaukuivali: {
name: 'Vau kui vali',
image: '',
@ -15,11 +20,6 @@ const games: GamesObj = {
name: 'Paku biiti',
image: '',
description: 'Sorteeri kolme suvalise muusika albumi pealkiri, artistid ja pilt.'
},
'': {
name: 'Rohkem mänge soon™',
image: '',
description: ''
}
};

View file

@ -30,10 +30,7 @@
>
{#each Object.entries(games) as [href, { image, name }]}
<a
class="shadow-sharp flex aspect-[4/1] h-16 max-w-sm items-center justify-center rounded-xl border-2 border-current bg-contain bg-no-repeat transition-all md:h-20 {href ===
''
? 'pressed pointer-events-none'
: ''}"
class="shadow-sharp flex aspect-[4/1] h-16 max-w-sm items-center justify-center rounded-xl border-2 border-current bg-contain bg-no-repeat transition-all md:h-20"
style="background-image: url('{image}')"
draggable="false"
href="/vinge/{href}"