From d1d654ebac2d51e3841675faeb56480e440f622f Mon Sep 17 00:00:00 2001
From: Wolfgang Müller
Date: Tue, 5 Mar 2024 18:08:09 +0100
Subject: Initial commit
---
frontend/src/lib/pills/AssociationPill.svelte | 30 ++++++++++++++++++++
frontend/src/lib/pills/ComicPills.svelte | 37 +++++++++++++++++++++++++
frontend/src/lib/pills/Pill.svelte | 40 +++++++++++++++++++++++++++
frontend/src/lib/pills/TagPill.svelte | 40 +++++++++++++++++++++++++++
4 files changed, 147 insertions(+)
create mode 100644 frontend/src/lib/pills/AssociationPill.svelte
create mode 100644 frontend/src/lib/pills/ComicPills.svelte
create mode 100644 frontend/src/lib/pills/Pill.svelte
create mode 100644 frontend/src/lib/pills/TagPill.svelte
(limited to 'frontend/src/lib/pills')
diff --git a/frontend/src/lib/pills/AssociationPill.svelte b/frontend/src/lib/pills/AssociationPill.svelte
new file mode 100644
index 0000000..85dbe39
--- /dev/null
+++ b/frontend/src/lib/pills/AssociationPill.svelte
@@ -0,0 +1,30 @@
+
+
+
+
+
+
+
diff --git a/frontend/src/lib/pills/ComicPills.svelte b/frontend/src/lib/pills/ComicPills.svelte
new file mode 100644
index 0000000..671bbf2
--- /dev/null
+++ b/frontend/src/lib/pills/ComicPills.svelte
@@ -0,0 +1,37 @@
+
+
+
+ {#if comic.artists.length || comic.circles.length}
+
+ {#each comic.artists as { name } (name)}
+
+ {/each}
+ {#each comic.circles as { name } (name)}
+
+ {/each}
+
+ {/if}
+ {#if comic.characters.length || comic.worlds.length}
+
+ {#each comic.worlds as { name } (name)}
+
+ {/each}
+ {#each comic.characters as { name } (name)}
+
+ {/each}
+
+ {/if}
+ {#if comic.tags.length}
+
+ {#each comic.tags as { name, description } (name)}
+
+ {/each}
+
+ {/if}
+
diff --git a/frontend/src/lib/pills/Pill.svelte b/frontend/src/lib/pills/Pill.svelte
new file mode 100644
index 0000000..7aa9670
--- /dev/null
+++ b/frontend/src/lib/pills/Pill.svelte
@@ -0,0 +1,40 @@
+
+
+
+
+
+
+ {name}
+
+
+
diff --git a/frontend/src/lib/pills/TagPill.svelte b/frontend/src/lib/pills/TagPill.svelte
new file mode 100644
index 0000000..60221bd
--- /dev/null
+++ b/frontend/src/lib/pills/TagPill.svelte
@@ -0,0 +1,40 @@
+
+
+
+
+
--
cgit v1.2.3-2-gb3c3