diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 15b3b46..2c5e64f 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -148,4 +148,12 @@ padding: 40px 0; } } + + :global(.dialog-overlay) { + position: fixed; + inset: 0; + z-index: 100; + background-color: rgb(0 0 0); + opacity: 0.8; + } diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index d1c55cb..3aae9e4 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -1,19 +1,12 @@ - Bored Game + Bored Game | Home

Search Boardgames!

@@ -76,28 +67,6 @@ {/if} -{#if isOpen} -
-
- (isOpen = false)} static> -
- -
- Remove from collection - Are you sure you want to remove from your collection? - - -
-
-
-
-
-{/if} diff --git a/src/routes/collection/+page.svelte b/src/routes/collection/+page.svelte index 2958913..a21a0ed 100644 --- a/src/routes/collection/+page.svelte +++ b/src/routes/collection/+page.svelte @@ -64,54 +64,4 @@ grid-template-columns: 1fr; } } - - /* .dialog { - display: grid; - gap: 1.5rem; - position: absolute; - top: 35%; - left: 50%; - transform: translate(-50%, -50%); - z-index: 101; - border-radius: 10px; - background-color: var(--clr-input-bg); - padding: 2rem; - min-width: 400px; - - .dialog-footer { - display: flex; - justify-content: space-between; - gap: 2rem; - margin: 1rem 0; - - button { - display: flex; - place-content: center; - gap: 1rem; - width: 100%; - border-radius: 10px; - padding: 1rem; - background-color: var(--color-btn-primary-active); - - &:hover { - background-color: var(--color-btn-primary-active-hover); - } - } - } - } - - :global(.dialog-overlay) { - position: fixed; - inset: 0; - z-index: 100; - background-color: rgb(0 0 0); - opacity: 0.8; - } */ - - /* - .container > .button { - display: grid; - justify-content: center; - background-color: var(--primary); - } */ diff --git a/src/routes/game/[id]/+page.svelte b/src/routes/game/[id]/+page.svelte index 4b6f338..489d9b3 100644 --- a/src/routes/game/[id]/+page.svelte +++ b/src/routes/game/[id]/+page.svelte @@ -1,8 +1,4 @@ @@ -59,7 +65,7 @@ >Board Game Atlas Link {#if existsInCollection} - {:else}