Skip to content

Create professional demos and 3D mockups in seconds, directly in your browser

feat: update file input accept types in Hero component for broader video format support

CristianOlivera18718a4bacb29
diff --git a/app/components/ui/editor/FeedbackWidget.tsx b/app/components/ui/editor/FeedbackWidget.tsx
index df52c7c..4d09406 100644
--- a/app/components/ui/editor/FeedbackWidget.tsx
+++ b/app/components/ui/editor/FeedbackWidget.tsx
@@ -264,10 +264,10 @@ export function FeedbackWidget() {
<TooltipAction label={t("tooltip")}>
<button
onClick={() => setIsOpen(true)}
- className="flex items-center justify-center w-10 h-10 rounded-full bg-muted hover:bg-muted border border-border text-foreground hover:text-foreground transition-all duration-200 shrink-0 shadow-foreground/20 shadow-lg hover:scale-105 active:scale-95"
+ className="flex items-center justify-center size-13 rounded-full bg-muted hover:bg-muted border border-border text-foreground hover:text-foreground transition-all duration-200 shrink-0 shadow-foreground/20 shadow-lg hover:scale-105 active:scale-95"
aria-label={t("tooltip")}
>
- <Icon icon="solar:chat-round-dots-bold" className="size-6" aria-hidden="true" />
+ <Icon icon="solar:chat-round-dots-bold" className="size-8" aria-hidden="true" />
</button>
</TooltipAction>
diff --git a/app/components/ui/home/Hero.tsx b/app/components/ui/home/Hero.tsx
index 0ab411d..7d146ed 100644
--- a/app/components/ui/home/Hero.tsx
+++ b/app/components/ui/home/Hero.tsx
@@ -192,7 +192,7 @@ export default function Hero({ onVideoUpload, onPhotoUpload }: HeroProps) {
<input
ref={videoInputRef}
type="file"
- accept="video/mp4,video/webm,video/quicktime,video/x-matroska"
+ accept="video/mp4,video/webm,video/quicktime,video/x-matroska,.mp4,.webm,.mov,.mkv"
className="hidden"
onChange={handleVideoFileChange}
aria-label={t("uploadButton")}