diff --git a/src/lib/SvelteTooltip.svelte b/src/lib/SvelteTooltip.svelte new file mode 100644 index 0000000..73c968e --- /dev/null +++ b/src/lib/SvelteTooltip.svelte @@ -0,0 +1,91 @@ + + +
+ + + +
+ {#if tip} +
{@html tip}
+ {:else} + + {/if} +
+
+ + diff --git a/src/routes/index.svelte b/src/routes/index.svelte index 2f5e4a6..6223a52 100644 --- a/src/routes/index.svelte +++ b/src/routes/index.svelte @@ -7,6 +7,7 @@ import Avatar from "$lib/Avatar.svelte"; import SvelteMarkdown from "svelte-markdown"; import Link from "$lib/Link.svelte"; + import SvelteTooltip from "$lib/SvelteTooltip.svelte"; const renderers = { link: Link }; let onlyLead = true; @@ -160,13 +161,13 @@
Sponzoƙi
{#each $bundle.spec.partners.filter((p) => p.type === "sponsor") as p} -
+
{p.name}
@@ -177,20 +178,22 @@
{#each $bundle.spec.partners.filter((p) => p.type === "community") as p}
- + + +
{/each}
@@ -198,20 +201,22 @@
{#each $bundle.spec.partners.filter((p) => p.type === "medium") as p}
- + + +
{/each}