From 8886308c56223f04df535a065234414a6deb11ba Mon Sep 17 00:00:00 2001 From: Maksymilian Date: Fri, 23 Sep 2022 09:44:56 +0200 Subject: Initial commit, v1.0.0 --- src/routes/Home.svelte | 195 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 195 insertions(+) create mode 100644 src/routes/Home.svelte (limited to 'src/routes/Home.svelte') diff --git a/src/routes/Home.svelte b/src/routes/Home.svelte new file mode 100644 index 0000000..8092ee1 --- /dev/null +++ b/src/routes/Home.svelte @@ -0,0 +1,195 @@ + + +
+
+
+

+ I ❤️ SERIES +

+

+ List of pokemons +

+

+ Data is taken from pokeapi.co, so they are the one to blame for any + errors +

+
+
+ + +
+
+ {#await getPokemons()} +

Downolading pokemons

+ {:then pokemons} + {#each filterPokemons(pokemons, pokemonName) as pokemon} +
+ {pokemon.name} image +

{pokemon.name}

+
+ {/each} + {/await} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
-- cgit v1.3.1