)}
{/* Dimensions */}
{metadata.dimensions && (
-
+
{inputFormat?.category === 'video' ? (
-
+
) : (
-
+
)}
{metadata.dimensions}
@@ -310,7 +312,8 @@ export function FileUpload({
variant="outline"
onClick={handleClick}
disabled={disabled}
- className="w-full"
+ className="w-full rounded-xl"
+ size="lg"
>
Add More Files
@@ -324,17 +327,19 @@ export function FileUpload({
onDragLeave={handleDragLeave}
onDrop={handleDrop}
className={cn(
- 'border-2 border-dashed rounded-lg p-12 text-center cursor-pointer transition-colors',
- 'hover:border-primary hover:bg-primary/5',
+ 'border-2 border-dashed rounded-xl p-10 text-center cursor-pointer transition-all duration-300',
+ 'hover:border-primary/50 hover:bg-primary/5',
{
- 'border-primary bg-primary/10': isDragging,
- 'border-border bg-input': !isDragging,
+ 'border-primary bg-primary/10 scale-[0.98]': isDragging,
+ 'border-border bg-muted/30': !isDragging,
'opacity-50 cursor-not-allowed': disabled,
}
)}
>
-
-
+
+
+
+
Drop your files here or click to browse