Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions src/app/create/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ function CreatePageInner() {
const [prompt, setPrompt] = useState(TEMPLATE_PROMPTS[templateName] || "");
const [fps, setFps] = useState([24]);
const [quality, setQuality] = useState([80]);
const [videoFile, setVideoFile] = useState<File | null>(null);
const [videoUrl, setVideoUrl] = useState<string | null>(null);
const [isGenerating, setIsGenerating] = useState(false);
const [isExtracting, setIsExtracting] = useState(false);
const [progress, setProgress] = useState(0);
Expand Down Expand Up @@ -88,8 +86,6 @@ function CreatePageInner() {
};

const handleUpload = async (file: File) => {
setVideoFile(file);
setVideoUrl(URL.createObjectURL(file));
setStep(2);
setIsExtracting(true);
setProgress(20);
Expand Down Expand Up @@ -137,7 +133,10 @@ function CreatePageInner() {
</div>
<span className="font-semibold">ScrollCraft</span>
</div>
<div className="w-16" />
<div className="flex items-center gap-4">
<Link href="/presets" className="text-sm text-muted-foreground hover:text-foreground transition-colors">Presets</Link>
<Link href="/pricing" className="text-sm text-muted-foreground hover:text-foreground transition-colors">Pricing</Link>
</div>
</div>

{/* Steps */}
Expand Down
Loading
Loading