Create polished demo videos without editing skills. Mac/Windows/Linux
settings cleanup
Siddharthd738d2a23e82
diff --git a/public/wallpapers/wallpaper16.jpg b/public/wallpapers/wallpaper16.jpgindex c20d458e..1f9efcea 100644Binary files a/public/wallpapers/wallpaper16.jpg and b/public/wallpapers/wallpaper16.jpg differdiff --git a/public/wallpapers/wallpaper17.jpg b/public/wallpapers/wallpaper17.jpgindex 2270347f..d7188a47 100644Binary files a/public/wallpapers/wallpaper17.jpg and b/public/wallpapers/wallpaper17.jpg differdiff --git a/public/wallpapers/wallpaper18.jpg b/public/wallpapers/wallpaper18.jpgindex 1f9efcea..9976c8ce 100644Binary files a/public/wallpapers/wallpaper18.jpg and b/public/wallpapers/wallpaper18.jpg differdiff --git a/public/wallpapers/wallpaper19.jpg b/public/wallpapers/wallpaper19.jpgdeleted file mode 100644index 9976c8ce..00000000Binary files a/public/wallpapers/wallpaper19.jpg and /dev/null differdiff --git a/public/wallpapers/wallpaper20.jpg b/public/wallpapers/wallpaper20.jpgdeleted file mode 100644index d7188a47..00000000Binary files a/public/wallpapers/wallpaper20.jpg and /dev/null differdiff --git a/src/components/video-editor/KeyboardShortcutsHelp.tsx b/src/components/video-editor/KeyboardShortcutsHelp.tsxindex 221d9ebf..b4cd2e47 100644--- a/src/components/video-editor/KeyboardShortcutsHelp.tsx+++ b/src/components/video-editor/KeyboardShortcutsHelp.tsx@@ -15,6 +15,10 @@ export function KeyboardShortcutsHelp() {<span className="text-slate-400">Add Keyframe</span><kbd className="px-1 py-0.5 bg-white/5 border border-white/10 rounded text-[#34B27B] font-mono">F</kbd></div>+ <div className="flex items-center justify-between">+ <span className="text-slate-400">Add Trim</span>+ <kbd className="px-1 py-0.5 bg-white/5 border border-white/10 rounded text-[#34B27B] font-mono">T</kbd>+ </div><div className="flex items-center justify-between"><span className="text-slate-400">Delete Selected</span><kbd className="px-1 py-0.5 bg-white/5 border border-white/10 rounded text-[#34B27B] font-mono">⌘ + D</kbd>diff --git a/src/components/video-editor/SettingsPanel.tsx b/src/components/video-editor/SettingsPanel.tsxindex 6ceefdbf..e378cab0 100644--- a/src/components/video-editor/SettingsPanel.tsx+++ b/src/components/video-editor/SettingsPanel.tsx@@ -15,7 +15,7 @@ import type { ZoomDepth, CropRegion } from "./types";import { CropControl } from "./CropControl";import { KeyboardShortcutsHelp } from "./KeyboardShortcutsHelp";-const WALLPAPER_COUNT = 20;+const WALLPAPER_COUNT = 18;const WALLPAPER_RELATIVE = Array.from({ length: WALLPAPER_COUNT }, (_, i) => `wallpapers/wallpaper${i + 1}.jpg`);const GRADIENTS = ["linear-gradient( 111.6deg, rgba(114,167,232,1) 9.4%, rgba(253,129,82,1) 43.9%, rgba(253,129,82,1) 54.8%, rgba(249,202,86,1) 86.3% )",@@ -209,19 +209,13 @@ export function SettingsPanel({ selected, onWallpaperChange, selectedZoomDepth,<div className="mb-6"><div className="grid grid-cols-2 gap-3">- {/* Drop Shadow Slider */}- <div className="p-3 rounded-xl bg-white/5 border border-white/5 space-y-2">- <div className="flex items-center justify-between">- <div className="text-xs font-medium text-slate-200">Shadow</div>- <span className="text-[10px] text-slate-400 font-mono">{Math.round(shadowIntensity * 100)}%</span>- </div>- <Slider- value={[shadowIntensity]}- onValueChange={(values) => onShadowChange?.(values[0])}- min={0}- max={1}- step={0.01}- className="w-full [&_[role=slider]]:bg-[#34B27B] [&_[role=slider]]:border-[#34B27B]"+ {/* Motion Blur Switch */}+ <div className="flex items-center justify-between p-3 rounded-xl bg-white/5 border border-white/5">+ <div className="text-xs font-medium text-slate-200">Motion Blur</div>+ <Switch+ checked={motionBlurEnabled}+ onCheckedChange={onMotionBlurChange}+ className="data-[state=checked]:bg-[#34B27B]"/></div>{/* Blur Background Switch */}@@ -238,13 +232,19 @@ export function SettingsPanel({ selected, onWallpaperChange, selectedZoomDepth,<div className="mb-6"><div className="grid grid-cols-2 gap-3">- {/* Motion Blur Switch */}- <div className="flex items-center justify-between p-3 rounded-xl bg-white/5 border border-white/5">- <div className="text-xs font-medium text-slate-200">Motion Blur</div>- <Switch- checked={motionBlurEnabled}- onCheckedChange={onMotionBlurChange}- className="data-[state=checked]:bg-[#34B27B]"+ {/* Drop Shadow Slider */}+ <div className="p-3 rounded-xl bg-white/5 border border-white/5 space-y-2">+ <div className="flex items-center justify-between">+ <div className="text-xs font-medium text-slate-200">Shadow</div>+ <span className="text-[10px] text-slate-400 font-mono">{Math.round(shadowIntensity * 100)}%</span>+ </div>+ <Slider+ value={[shadowIntensity]}+ onValueChange={(values) => onShadowChange?.(values[0])}+ min={0}+ max={1}+ step={0.01}+ className="w-full [&_[role=slider]]:bg-[#34B27B] [&_[role=slider]]:border-[#34B27B]"/></div>{/* Corner Roundness Slider */}diff --git a/src/components/video-editor/VideoEditor.tsx b/src/components/video-editor/VideoEditor.tsxindex c748910c..a4506e63 100644--- a/src/components/video-editor/VideoEditor.tsx+++ b/src/components/video-editor/VideoEditor.tsx@@ -24,7 +24,7 @@ import {} from "./types";import { VideoExporter, type ExportProgress } from "@/lib/exporter";-const WALLPAPER_COUNT = 20;+const WALLPAPER_COUNT = 18;const WALLPAPER_PATHS = Array.from({ length: WALLPAPER_COUNT }, (_, i) => `/wallpapers/wallpaper${i + 1}.jpg`);export default function VideoEditor() {