Skip to content
Open
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
19 changes: 10 additions & 9 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

47 changes: 47 additions & 0 deletions src/components/FAQ.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
import { JSX } from "react";

const faqQuestions = [
{
question: "Is my video uploaded anywhere?",
answer: "No, your video is not uploaded anywhere. They are processed locally on your machine."
},{
question:"What video formats are supported?",
answer:"Reframe supports a wide range of video formats including MP4, MOV, AVI, and WEBM. If your video is in a different format, you can convert it to one of the supported formats using free online converters or software.",
},
{
question:"Why is processing slow for large files?",
answer:"Large videos require more memory and processing power, which may slow down processing depending on your device.",
},
{
question:"Can I use this offline?",
answer:"Once loaded, Reframe works fully offline — your browser needs to download the FFmpeg engine (~30MB) the first time, but after that no internet connection is needed.",
}
]

const FAQ = (): JSX.Element => {
return (
<>
<div className="bg-[var(--surface)] rounded-xl shadow p-5 space-y-4 animate-fade-in border border-[var(--border)] transition-colors">
<details >
<summary className="text-xl text-[var(--text)] font-heading font-bold uppercase tracking-widest p-2 cursor-pointer rounded-md">
FAQ
</summary>
{faqQuestions.map((faq, index)=>{
return (
<details key= {index}>
<summary className="text-base text-[var(--text)] font-heading font-light mt-4 cursor-pointer p-2 rounded-md">
{faq.question}
</summary>
<p className="text-base text-[var(--text)] mt-2 ml-2 font-extralight p-2 rounded-md">
{faq.answer}
</p>
</details>
)
})}
</details>
</div>
</>
)
}

export default FAQ;
5 changes: 4 additions & 1 deletion src/components/VideoEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import ExportOverlay from "./ExportOverlay";
import DownloadResult from "./DownloadResult";
import ImageOverlay from "./ImageOverlay"
import { getPresetById } from "@/lib/presets";

import FAQ from "./FAQ";
import { cn } from "@/lib/utils";
import {
Layers, Crop, Scissors, RotateCw, Volume2, Type,
Expand Down Expand Up @@ -758,6 +758,9 @@ return () => {
</div>
</div>
</div>
<div className="max-w-6xl mx-auto px-4 pb-8 w-full border-[var(--border)]">
<FAQ />
</div>
</div>
);
}