diff --git a/frontend/src/App.svelte b/frontend/src/App.svelte index 4cfc5bb..bf35ad8 100644 --- a/frontend/src/App.svelte +++ b/frontend/src/App.svelte @@ -1,27 +1,67 @@ -
-

PNG Editor

- - - -
- - -
- -
- -
- - {#if fit === "cover"} +
+ +
- +

PNGer

+

Modern PNG Editor & Resizer

- {/if} + +
-
- - {quality} +
+ +
+

Upload & Transform

+ + +
+ + + {#if file} +
+ {file.name} + + ({formatFileSize(file.size)}) + + +
+ {/if} +
+ + +
+

Dimensions

+
+
+ + +
+
+ + +
+
+
+ + +
+ + +
+ + + {#if fit === "cover"} +
+ + +
+ {/if} + + +
+
+ + {quality}% +
+ +
+ + +
+ + +
+ + + {#if error} +

+ {error} +

+ {/if} + + + +
+ + +
+

Live Preview

+ + {#if !file} +
+
+

🖼️

+

Upload an image to see live preview

+
+
+ {:else if showPreview} +
+ +
+ +
+

Original

+
+ Original +
+
+

+ {formatFileSize(originalSize)} +

+
+
+ + +
+

Preview

+
+ Preview +
+
+

+ {formatFileSize(previewSize)} +

+
+
+
+ + + {#if savings} +
+

+ {savings.formatted} +

+
+ {/if} +
+ {:else} +
+
+
+ {/if} +
- -
- -
- - {#if error} -

{error}

- {/if} - - -
- - \ No newline at end of file + \ No newline at end of file