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:
parent
2130ae5c39
commit
25ffa850e3
2 changed files with 6 additions and 9 deletions
|
@ -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: ''
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
@ -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}"
|
||||
|
|
Loading…
Add table
Reference in a new issue