From e371e4b813fcf47e9367f5954f19e2ad711f996b Mon Sep 17 00:00:00 2001 From: Josh Creek <8179928+jcreek@users.noreply.github.com> Date: Sun, 14 Jul 2024 18:29:43 +0100 Subject: [PATCH] feat(*): Add prompts for contributing --- .../pokedex/PokedexEntryCatchRecord.svelte | 57 ++++++++++++++----- 1 file changed, 42 insertions(+), 15 deletions(-) diff --git a/src/lib/components/pokedex/PokedexEntryCatchRecord.svelte b/src/lib/components/pokedex/PokedexEntryCatchRecord.svelte index 72f896f..ae9d225 100644 --- a/src/lib/components/pokedex/PokedexEntryCatchRecord.svelte +++ b/src/lib/components/pokedex/PokedexEntryCatchRecord.svelte @@ -55,21 +55,15 @@ {/if} {#if pokedexEntry.evolutionInformation} -

Evolution Info: {pokedexEntry.evolutionInformation}

- {/if} - {#if pokedexEntry.catchInformation.length > 0} -

Catch Info:

- +

How to evolve: {pokedexEntry.evolutionInformation}

+ {:else} +

+ How to evolve: Currently missing - can you + help contribute? +

{/if} @@ -157,6 +151,39 @@ {/if} {/if} + {#if pokedexEntry.catchInformation.length > 0} +
+

Where to catch:

+ +

+ Missing a game? - can you + help contribute? +

+
+ {:else} +
+

+ Where to catch: Currently missing - can you + help contribute? +

+
+ {/if}