diff --git a/src/routes/instances/+page.svelte b/src/routes/instances/+page.svelte index 8f2f71e..5c23998 100644 --- a/src/routes/instances/+page.svelte +++ b/src/routes/instances/+page.svelte @@ -1,7 +1,8 @@ @@ -21,24 +22,19 @@ {#each group.data as item} - -
-
- Instance link -
- - -
-
- Project website -
- + + + {#if item.us} + + {/if} + + {#if item.backup} + + {/if} {/each} @@ -65,11 +61,4 @@ flex-wrap: wrap; gap: 2rem; } - - .withText { - display: flex; - align-items: center; - gap: 4px; - font-size: medium; - } diff --git a/src/routes/instances/InstanceLink.svelte b/src/routes/instances/InstanceLink.svelte new file mode 100644 index 0000000..d983487 --- /dev/null +++ b/src/routes/instances/InstanceLink.svelte @@ -0,0 +1,31 @@ + + + +
+
+ + {#if type === "main"} + Visit + {:else if type === "us"} + US + {:else if type === "backup"} + Backup + {/if} + +
+ + + \ No newline at end of file