This commit is contained in:
Realmy 2024-11-12 21:29:00 +01:00
commit cecc969e8c
2 changed files with 6 additions and 4 deletions

View File

@ -55,8 +55,8 @@
</h2>
<p class="mt-6 text-transition" style="--delay: {4 * multiplier}ms">
As of right now, VERT only supports image conversion of most popular
formats. Don't worry though, as we'll add support for more formats in
the future!
formats. Don't worry though, as we'll add more options and support for
more formats in the future!
</p>
<h2

View File

@ -8,7 +8,6 @@
import { ArrowRight, XIcon } from "lucide-svelte";
import { onMount } from "svelte";
import { quintOut } from "svelte/easing";
import { downloadZip } from "client-zip";
const reversed = $derived(files.files.slice().reverse());
@ -144,6 +143,7 @@
a.remove();
return;
}
const { downloadZip } = await import("client-zip");
const blob = await downloadZip(dlFiles, "converted.zip").blob();
const url = URL.createObjectURL(blob);
const a = document.createElement("a");
@ -323,7 +323,9 @@
<Dropdown
options={converter.supportedFormats}
bind:selected={files
.conversionTypes[i]}
.conversionTypes[
files.files.length - 1 - i
]}
onselect={() => {
file.result = null;
}}