diff --git a/public/imgs/free.webp b/public/imgs/free.webp new file mode 100644 index 0000000..03b0860 Binary files /dev/null and b/public/imgs/free.webp differ diff --git a/public/imgs/one.webp b/public/imgs/one.webp new file mode 100644 index 0000000..78dab9a Binary files /dev/null and b/public/imgs/one.webp differ diff --git a/public/imgs/reaction.webp b/public/imgs/reaction.webp new file mode 100644 index 0000000..e30eeee Binary files /dev/null and b/public/imgs/reaction.webp differ diff --git a/public/imgs/three.webp b/public/imgs/three.webp new file mode 100644 index 0000000..83a01d7 Binary files /dev/null and b/public/imgs/three.webp differ diff --git a/public/imgs/two.webp b/public/imgs/two.webp new file mode 100644 index 0000000..0c7b977 Binary files /dev/null and b/public/imgs/two.webp differ diff --git a/src/Card.svelte b/src/Card.svelte index b5ec928..7a64d9f 100644 --- a/src/Card.svelte +++ b/src/Card.svelte @@ -1,6 +1,16 @@ @@ -60,15 +82,23 @@
{#each tags as tag} -
{tag}
+ {#if tag.toLowerCase() == "uncommon" } +
{tag}
+ {:else if tag.toLowerCase() == "rare" } +
{tag}
+ {:else if tag.toLowerCase() == "unique" } +
{tag}
+ {:else} +
{tag}
+ {/if} {/each}

- {@html DOMPurify.sanitize(attributes)} + {@html pf_filter(DOMPurify.sanitize(attributes))}

- {@html DOMPurify.sanitize(description)} + {@html pf_filter(DOMPurify.sanitize(description))}