diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index b06befa..6f3a69f 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -1,12 +1,11 @@
@@ -62,9 +78,9 @@

- All image, audio, and document processing is done on your device. - Videos are converted on our lightning-fast servers. No file - size limit, no ads, and completely open source. + All image, audio, and document processing is done on your + device. Videos are converted on our lightning-fast servers. + No file size limit, no ads, and completely open source.

@@ -119,7 +135,31 @@

Supported formats: - {s.formats} + {#each s.formats.split(", ") as format, index} + {@const isPartial = format.endsWith("*")} + {@const formatName = isPartial + ? format.slice(0, -1) + : format} + {#if isPartial} + + + {formatName}*{index < + s.formats.split(", ").length - 1 + ? ", " + : ""} + + + {:else} + + {formatName}{index < + s.formats.split(", ").length - 1 + ? ", " + : ""} + + {/if} + {/each}