mirror of
https://github.com/BradNut/boredgame
synced 2025-09-08 17:40:22 +00:00
Reference image from static assets.
This commit is contained in:
parent
db9b000073
commit
9f69946504
2 changed files with 1 additions and 2 deletions
|
|
@ -1,13 +1,12 @@
|
|||
<script lang="ts">
|
||||
import * as Card from "$lib/components/ui/card";
|
||||
import logo from '$lib/assets/bored-game.png';
|
||||
|
||||
export let title: string;
|
||||
</script>
|
||||
|
||||
<Card.Root class="w-[350px]">
|
||||
<Card.Header>
|
||||
<Card.Title class="flex place-items-center gap-1"><div class="w-8 h-8"><img src={logo} alt="Bored Game" /></div>{title}</Card.Title>
|
||||
<Card.Title class="flex place-items-center gap-1"><div class="w-8 h-8"><img src="/images/bored-game.png" alt="Bored Game" /></div>{title}</Card.Title>
|
||||
</Card.Header>
|
||||
<Card.Content>
|
||||
<slot />
|
||||
|
|
|
|||
BIN
static/images/bored-game.png
Normal file
BIN
static/images/bored-game.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 26 KiB |
Loading…
Reference in a new issue