Added beta flag to tui

This commit is contained in:
noah
2026-03-10 11:11:19 +01:00
parent cf489c4f02
commit c2988893db
3 changed files with 7 additions and 3 deletions
Binary file not shown.
+2 -2
View File
@@ -1001,13 +1001,13 @@ export default function LandingPage() {
transition={{ duration: 0.6 }} transition={{ duration: 0.6 }}
> >
<span className="inline-flex items-center gap-2 px-3.5 py-1.5 bg-purple/10 rounded-full font-mono text-[11px] font-semibold uppercase tracking-wider text-purple"> <span className="inline-flex items-center gap-2 px-3.5 py-1.5 bg-purple/10 rounded-full font-mono text-[11px] font-semibold uppercase tracking-wider text-purple">
Terminal Lovers Terminal Lovers (in early Alpha)
</span> </span>
<h2 className="font-serif font-extrabold text-[clamp(32px,5vw,48px)] leading-[1.1] tracking-tight text-text-dark"> <h2 className="font-serif font-extrabold text-[clamp(32px,5vw,48px)] leading-[1.1] tracking-tight text-text-dark">
Prefer the command line? Prefer the command line?
</h2> </h2>
<p className="text-[17px] text-text-mid leading-relaxed max-w-[520px]"> <p className="text-[17px] text-text-mid leading-relaxed max-w-[520px]">
A full interactive TUI. Navigate files, pick formats, and batch convert without leaving your terminal. A full interactive TUI. Navigate files, pick formats, and batch convert without leaving your terminal. (May not work)
</p> </p>
</motion.div> </motion.div>
+5 -1
View File
@@ -12,6 +12,7 @@ interface FileRowProps {
onRemove: (id: string) => void; onRemove: (id: string) => void;
onDownload: (file: UploadedFile) => void; onDownload: (file: UploadedFile) => void;
onPreview: (file: UploadedFile) => void; onPreview: (file: UploadedFile) => void;
onDeleteConverted: (id: string) => void;
} }
export function FileRow({ export function FileRow({
@@ -21,6 +22,7 @@ export function FileRow({
onRemove, onRemove,
onDownload, onDownload,
onPreview, onPreview,
onDeleteConverted,
}: FileRowProps) { }: FileRowProps) {
const color = CATEGORY_COLORS[file.category]; const color = CATEGORY_COLORS[file.category];
const icon = CATEGORY_ICONS[file.category]; const icon = CATEGORY_ICONS[file.category];
@@ -103,7 +105,7 @@ export function FileRow({
{/* Status / actions */} {/* Status / actions */}
<div className="w-[130px] flex items-center justify-end gap-1.5 flex-shrink-0 pr-1"> <div className="w-[130px] flex items-center justify-end gap-1.5 flex-shrink-0 pr-1">
<DesktopStatus file={file} color={color} onRemove={onRemove} onDownload={onDownload} onPreview={onPreview} /> <DesktopStatus file={file} color={color} onRemove={onRemove} onDownload={onDownload} onPreview={onPreview} onDeleteConverted={onDeleteConverted} />
</div> </div>
</div> </div>
@@ -182,12 +184,14 @@ function DesktopStatus({
onRemove, onRemove,
onDownload, onDownload,
onPreview, onPreview,
onDeleteConverted,
}: { }: {
file: UploadedFile; file: UploadedFile;
color: string; color: string;
onRemove: (id: string) => void; onRemove: (id: string) => void;
onDownload: (file: UploadedFile) => void; onDownload: (file: UploadedFile) => void;
onPreview: (file: UploadedFile) => void; onPreview: (file: UploadedFile) => void;
onDeleteConverted: (id: string) => void;
}) { }) {
return ( return (
<AnimatePresence mode="wait"> <AnimatePresence mode="wait">