diff --git a/src/app.css b/src/app.css index 443bde6..73ac6a3 100644 --- a/src/app.css +++ b/src/app.css @@ -18,6 +18,7 @@ --fg-muted: hsl(0, 0%, 50%); --fg-muted-alt: hsl(0, 0%, 75%); --fg-failure: hsl(0, 67%, 49%); + --transition: linear(0, 0.006, 0.025 2.8%, 0.101 6.1%, 0.539 18.9%, 0.721 25.3%, 0.849 31.5%, 0.937 38.1%, 0.968 41.8%, 0.991 45.7%, 1.006 50.1%, 1.015 55%, 1.017 63.9%, 1.001); } body { diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 2d88b5b..0a147fa 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -1,5 +1,6 @@
-

⁉️ about VERT

-

+

+ ⁉️ about VERT +

+

You know what sucks? File converters! They're usually riddled with ads, and take an ungodly amount of time to complete. So we made a better one!

-

+

VERT is a file converter that's open source, completely ad free, and much much faster than you're used to. All the converting is done on your device, which makes it both private and very speedy. And it of course has a beautiful UI! ✨

-

🖼️ supported formats

-

+

+ 🖼️ supported formats +

+

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!

-

🎨 credits

+

+ 🎨 credits +

- - nullptr's cat avatar -

@@ -61,3 +86,42 @@ >)

+ + diff --git a/src/routes/convert/+page.svelte b/src/routes/convert/+page.svelte index 4b6fa5a..3c7b0a8 100644 --- a/src/routes/convert/+page.svelte +++ b/src/routes/convert/+page.svelte @@ -24,7 +24,7 @@ onMount(() => { finisheds.forEach((_, i) => { - const duration = 750 + i * 50 - 32; + const duration = 575 + i * 50 - 32; setTimeout(() => { finisheds[i] = true; console.log(`finished ${i}`); @@ -240,7 +240,6 @@ easing: quintOut, blurMultiplier: 16, }} - style="--transition: ease-in-out;" >
@@ -382,8 +380,7 @@ } .initial-fade { - animation: initial-transition 750ms var(--delay) ease-out; - animation-timing-function: var(--transition); + animation: initial-transition 600ms var(--delay) var(--transition); opacity: 0; } @@ -393,7 +390,6 @@ } .finished-anim { - animation: finished-animation 750ms; - animation-timing-function: var(--transition); + animation: finished-animation 750ms var(--transition); }