diff --git a/src/routes/mydex/+page.svelte b/src/routes/mydex/+page.svelte index 9153bfe..4f927bd 100644 --- a/src/routes/mydex/+page.svelte +++ b/src/routes/mydex/+page.svelte @@ -27,6 +27,7 @@ let showOrigins = true; let showForms = true; + let drawerOpen = false; function toggleOrigins() { showOrigins = !showOrigins; @@ -152,135 +153,148 @@ {#if !localUser}

Please sign in

{:else} -
- - -
-
- {#if combinedData && combinedData.length > 0} - {#each combinedData as { pokedexEntry, catchRecord }} - - {/each} - {:else if failedToLoad} - {#if creatingRecords && totalRecordsCreated > 0} -

Processed {totalRecordsCreated} Pokédex entries so far...

-

Please be patient, this may take some time.

- {:else if creatingRecords} -

Processing...

-

Please be patient, this may take some time.

+
+ +
+ +
+
+ {#if combinedData && combinedData.length > 0} + {#each combinedData as { pokedexEntry, catchRecord }} + + {/each} + {:else if failedToLoad} + {#if creatingRecords && totalRecordsCreated > 0} +

Processed {totalRecordsCreated} Pokédex entries so far...

+

Please be patient, this may take some time.

+ {:else if creatingRecords} +

Processing...

+

Please be patient, this may take some time.

+ {:else} +

Failed to load

+

+ If you're seeing this, you probably haven't created your Pokédex data yet. Please do + so by clicking this button. +

+ + {/if} {:else} -

Failed to load

-

- If you're seeing this, you probably haven't created your Pokédex data yet. Please do - so by clicking this button. -

- +
+

Loading Pokédex

+ +
{/if} - {:else} -
-

Loading Pokédex

- -
- {/if} -
-
+
+
+
+
+ + +
{/if}