mirror of https://github.com/VERT-sh/VERT.git
Merge branch 'main' of https://github.com/not-nullptr/unnamed-file-converter
This commit is contained in:
commit
cecc969e8c
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
}}
|
||||
|
|
Loading…
Reference in New Issue