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';
|
import type { GamesObj } from '$lib/types';
|
||||||
|
|
||||||
const games: GamesObj = {
|
const games: GamesObj = {
|
||||||
|
rahvatarkus: {
|
||||||
|
name: 'Rahva tarkus',
|
||||||
|
image: '',
|
||||||
|
description: 'Rahvas teab, sest pitu pead on mitu pead - hajusintelligents'
|
||||||
|
},
|
||||||
vaukuivali: {
|
vaukuivali: {
|
||||||
name: 'Vau kui vali',
|
name: 'Vau kui vali',
|
||||||
image: '',
|
image: '',
|
||||||
|
@ -15,11 +20,6 @@ const games: GamesObj = {
|
||||||
name: 'Paku biiti',
|
name: 'Paku biiti',
|
||||||
image: '',
|
image: '',
|
||||||
description: 'Sorteeri kolme suvalise muusika albumi pealkiri, artistid ja pilt.'
|
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 }]}
|
{#each Object.entries(games) as [href, { image, name }]}
|
||||||
<a
|
<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 ===
|
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"
|
||||||
''
|
|
||||||
? 'pressed pointer-events-none'
|
|
||||||
: ''}"
|
|
||||||
style="background-image: url('{image}')"
|
style="background-image: url('{image}')"
|
||||||
draggable="false"
|
draggable="false"
|
||||||
href="/vinge/{href}"
|
href="/vinge/{href}"
|
||||||
|
|
Loading…
Add table
Reference in a new issue