diff --git a/src/components/image-converter.tsx b/src/components/image-converter.tsx index ff24327..1aa9b35 100644 --- a/src/components/image-converter.tsx +++ b/src/components/image-converter.tsx @@ -402,7 +402,123 @@ export function ImageConverter() { return (
-
+
+ + +
+

Upload Images

+
fileInputRef.current?.click()} + > +
+ +

Click or drag and drop to upload

+

PNG, JPG, WEBP supported

+
+ +
+
+
+
+ + {hasImages && ( + + +
+ Uploaded Images +
+ + + + + +

Remove all uploaded images.

+
+
+ + + + + +

Convert and download all images with the current settings.

+
+
+
+
+
+ +
+ {previewUrls.map((url, index) => { + const finalFilename = generateFinalFilename(index); + return ( +
+ {`Preview +
+ + handleFilenameChange(index, e.target.value)} + className="text-sm font-medium h-8 mt-1" + /> +

+ Final name: {finalFilename}.{format} +

+
+
+ + + + + +

Download this image

+
+
+ + + + + +

Remove this image

+
+
+
+
+ ); + })} +
+
+
+ )} +
+ +
@@ -767,122 +883,6 @@ export function ImageConverter() {
- -
- - -
-

Upload Images

-
fileInputRef.current?.click()} - > -
- -

Click or drag and drop to upload

-

PNG, JPG, WEBP supported

-
- -
-
-
-
- - {hasImages && ( - - -
- Uploaded Images -
- - - - - -

Remove all uploaded images.

-
-
- - - - - -

Convert and download all images with the current settings.

-
-
-
-
-
- -
- {previewUrls.map((url, index) => { - const finalFilename = generateFinalFilename(index); - return ( -
- {`Preview -
- - handleFilenameChange(index, e.target.value)} - className="text-sm font-medium h-8 mt-1" - /> -

- Final name: {finalFilename}.{format} -

-
-
- - - - - -

Download this image

-
-
- - - - - -

Remove this image

-
-
-
-
- ); - })} -
-
-
- )} -
);