diff --git a/components/converter/ConversionHistory.tsx b/components/converter/ConversionHistory.tsx index f751133..9da2736 100644 --- a/components/converter/ConversionHistory.tsx +++ b/components/converter/ConversionHistory.tsx @@ -71,99 +71,103 @@ export function ConversionHistory() { if (history.length === 0) { return ( - - - - - Conversion History - - Your recent conversions will appear here - - -
- -

No conversion history yet

-

Convert some files to see them here

-
-
-
- ); - } - - return ( - - -
-
+
+ + Conversion History - - Recent conversions ({history.length} item{history.length > 1 ? 's' : ''}) - -
- -
- - -
- {history.map((item) => ( -
-
-
- {/* File conversion info */} -
- - {item.inputFileName} - - - - {item.outputFileName} - -
- - {/* Format conversion */} -
- - {item.inputFormat} - - - - {item.outputFormat} - - - {formatFileSize(item.fileSize)} -
- - {/* Timestamp */} -
- - {formatTimestamp(item.timestamp)} -
-
- - {/* Remove button */} - -
+ Your recent conversions will appear here + + +
+ +

No conversion history yet

+

Convert some files to see them here

- ))} -
- - + + +
+ ); + } + + return ( +
+ + +
+
+ + + Conversion History + + + Recent conversions ({history.length} item{history.length > 1 ? 's' : ''}) + +
+ +
+
+ +
+ {history.map((item) => ( +
+
+
+ {/* File conversion info */} +
+ + {item.inputFileName} + + + + {item.outputFileName} + +
+ + {/* Format conversion */} +
+ + {item.inputFormat} + + + + {item.outputFormat} + + + {formatFileSize(item.fileSize)} +
+ + {/* Timestamp */} +
+ + {formatTimestamp(item.timestamp)} +
+
+ + {/* Remove button */} + +
+
+ ))} +
+
+
+
); }