diff --git a/src/app.html b/src/app.html index 75e8a49..fea703d 100644 --- a/src/app.html +++ b/src/app.html @@ -1,53 +1,53 @@ - - - - - - - - - - - - - - %sveltekit.head% - - - -
%sveltekit.body%
- - + + + + + + + + + + + + + + %sveltekit.head% + + + +
%sveltekit.body%
+ + diff --git a/src/lib/components/functional/FormatDropdown.svelte b/src/lib/components/functional/FormatDropdown.svelte index 7f6ce32..6643aee 100644 --- a/src/lib/components/functional/FormatDropdown.svelte +++ b/src/lib/components/functional/FormatDropdown.svelte @@ -58,7 +58,8 @@ if (!file) return; file.conversionSettings.imageSequence = imageSequence; file.conversionSettings.imageSequenceFPS = imageSequenceFPS; - file.conversionSettings.imageSequenceTransparency = imageSequenceTransparency; + file.conversionSettings.imageSequenceTransparency = + imageSequenceTransparency; }); const normalize = (str: string) => str.replace(/^\./, "").toLowerCase(); diff --git a/src/lib/components/functional/Uploader.svelte b/src/lib/components/functional/Uploader.svelte index 664aec8..86e9f5c 100644 --- a/src/lib/components/functional/Uploader.svelte +++ b/src/lib/components/functional/Uploader.svelte @@ -75,7 +75,7 @@

{m["upload.uploader.text"]({ - action: m["upload.uploader.convert"]() + action: m["upload.uploader.convert"](), })}

diff --git a/src/lib/components/functional/popups/ServerUploadWarning.svelte b/src/lib/components/functional/popups/ServerUploadWarning.svelte index 86957a4..6b62496 100644 --- a/src/lib/components/functional/popups/ServerUploadWarning.svelte +++ b/src/lib/components/functional/popups/ServerUploadWarning.svelte @@ -19,8 +19,8 @@

{m["convert.external_warning.text"]({ - filename: toast.additional.filename, - })} + filename: toast.additional.filename, + })}

diff --git a/src/lib/components/layout/Footer.svelte b/src/lib/components/layout/Footer.svelte index 9ca0efc..02ef6bd 100644 --- a/src/lib/components/layout/Footer.svelte +++ b/src/lib/components/layout/Footer.svelte @@ -37,10 +37,7 @@ {m["footer.discord_server"]()}

- + {m["footer.privacy_policy"]()} {#if commitHash} diff --git a/src/lib/components/layout/Navbar/Base.svelte b/src/lib/components/layout/Navbar/Base.svelte index ae2750f..f0ee2d3 100644 --- a/src/lib/components/layout/Navbar/Base.svelte +++ b/src/lib/components/layout/Navbar/Base.svelte @@ -1,212 +1,212 @@ - - -{#snippet link(item: (typeof items)[0], index: number)} - {@const Icon = item.icon} - -
- {#key item.name} -
-
- - {#if item.badge} -
- {#key item.badge} -
- {item.badge} -
- {/key} -
- {/if} -
- -
- {/key} -
-
-{/snippet} - -
- - {@const linkRect = linkRects.at(selectedIndex) || linkRects[0]} - {#if linkRect && isInitialized} -
- {/if} - - {#each items as item, i (item.url)} - {@render link(item, i)} - {/each} - - - - -
-
+ + +{#snippet link(item: (typeof items)[0], index: number)} + {@const Icon = item.icon} + +
+ {#key item.name} +
+
+ + {#if item.badge} +
+ {#key item.badge} +
+ {item.badge} +
+ {/key} +
+ {/if} +
+ +
+ {/key} +
+
+{/snippet} + +
+ + {@const linkRect = linkRects.at(selectedIndex) || linkRects[0]} + {#if linkRect && isInitialized} +
+ {/if} + + {#each items as item, i (item.url)} + {@render link(item, i)} + {/each} + + + + +
+
diff --git a/src/lib/converters/converter.svelte.ts b/src/lib/converters/converter.svelte.ts index 76a2315..dc35583 100644 --- a/src/lib/converters/converter.svelte.ts +++ b/src/lib/converters/converter.svelte.ts @@ -6,7 +6,12 @@ import type { SettingDefinition, } from "$lib/types/conversion-settings"; -export type WorkerStatus = "not-ready" | "downloading" | "ready" | "partially-ready" | "error"; +export type WorkerStatus = + | "not-ready" + | "downloading" + | "ready" + | "partially-ready" + | "error"; export class FormatInfo { public name: string; @@ -56,7 +61,9 @@ export class Converter { * Can be overridden per converter for format-specific settings. * @param input The input file. */ - public async getAvailableSettings(input?: VertFile): Promise { + public async getAvailableSettings( + input?: VertFile, + ): Promise { return []; } @@ -64,7 +71,9 @@ export class Converter { * Get default settings for a conversion. * @param input The input file. */ - public async getDefaultSettings(input?: VertFile): Promise { + public async getDefaultSettings( + input?: VertFile, + ): Promise { const defaults: ConversionSettings = {}; const settings = await this.getAvailableSettings(input); settings.forEach((setting) => { diff --git a/src/lib/converters/ffmpeg/ffmpeg.animated.ts b/src/lib/converters/ffmpeg/ffmpeg.animated.ts index c743d73..dbb5cbc 100644 --- a/src/lib/converters/ffmpeg/ffmpeg.animated.ts +++ b/src/lib/converters/ffmpeg/ffmpeg.animated.ts @@ -1,4 +1,7 @@ -import { toArgs, animatedImageFormats } from "$lib/converters/ffmpeg/ffmpeg.codecs"; +import { + toArgs, + animatedImageFormats, +} from "$lib/converters/ffmpeg/ffmpeg.codecs"; import type { ConversionSettings } from "$lib/types/conversion-settings"; import { videoFormats } from "../vertd/vertd.svelte"; diff --git a/src/lib/converters/index.ts b/src/lib/converters/index.ts index 0358bb4..f55ad7f 100644 --- a/src/lib/converters/index.ts +++ b/src/lib/converters/index.ts @@ -27,7 +27,7 @@ export const converterCategories = { video: ["mediabunny", "vertd"], audio: ["ffmpeg"], doc: ["pandoc"], -} +}; export function getConverterByFormat(format: string) { for (const converter of converters) { diff --git a/src/lib/sections/about/Resources.svelte b/src/lib/sections/about/Resources.svelte index 958894b..e0cdfd9 100644 --- a/src/lib/sections/about/Resources.svelte +++ b/src/lib/sections/about/Resources.svelte @@ -1,6 +1,10 @@