From c1d4e5a2d93b3cfd061fb010b6be112351bc8867 Mon Sep 17 00:00:00 2001 From: Bradley Shellnut Date: Tue, 1 Nov 2022 12:10:25 -0500 Subject: [PATCH] feat: :art: Make the game component look cleaner --- src/lib/components/game/index.svelte | 132 ++++++++++++++------------- 1 file changed, 70 insertions(+), 62 deletions(-) diff --git a/src/lib/components/game/index.svelte b/src/lib/components/game/index.svelte index db1ed15..dd00a37 100644 --- a/src/lib/components/game/index.svelte +++ b/src/lib/components/game/index.svelte @@ -28,12 +28,12 @@
-
-

{game.name}

- - {`Image - -
+ +

{game.name}

+ + {`Image + + {#if !minimal && game?.players && game?.playtime}
@@ -49,50 +49,52 @@ {/if}
{/if} - {#if existsInCollection} - - {:else} - - {/if} - {#if existsInWishlist} - - {:else} - - {/if} +
+ {#if existsInCollection} + + {:else} + + {/if} + {#if existsInWishlist} + + {:else} + + {/if} +