-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added checkers and a faux global library using a file with hardcoded …
…games
- Loading branch information
Showing
4 changed files
with
866 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<script lang="ts"> | ||
import type { GameSpace } from '~/store'; | ||
export let gameSpace: GameSpace; | ||
export let onImport: () => void; | ||
</script> | ||
|
||
<div class={'bg-white/10 p2 b b-white/10 rounded-md max-w-screen-sm mx-auto w-full flex'}> | ||
<div class="h16 w16 flex-shrink-0 mr2 relative"> | ||
<img | ||
src="https://upload.wikimedia.org/wikipedia/commons/thumb/9/9b/Blank_Go_board.svg/600px-Blank_Go_board.svg.png?20140621020717" | ||
alt="" | ||
/> | ||
</div> | ||
<div class="flex flex-grow h16 items-center content-"> | ||
<h2 class="text-xl flex-grow text-black/70">{gameSpace.name}</h2> | ||
<div class="flex-grow"></div> | ||
<button | ||
on:click={onImport} | ||
class="h8 bg-main-500 hover:bg-main-600 b b-black/10 rounded-md uppercase text-sm tracking-wider px2 text-white" | ||
>Import</button | ||
> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.