caelum0x d56639a594
Some checks failed
build-images / web (push) Has been cancelled
vision2026-ci / Python SDK resource tests (push) Has been cancelled
build-images / api (push) Has been cancelled
build-images / worker-gpu (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (comfy-workflow-schema) (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (effects-core) (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (eventbus-types) (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (growth-analytics) (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (provider-adapter-kit) (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (publishing-connectors) (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (render-core) (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (shot-template-schema) (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (trends-schema) (push) Has been cancelled
vision2026-ci / Desktop engine crates (test + clippy + fmt) (push) Has been cancelled
codeql / Analyze (javascript-typescript) (push) Has been cancelled
codeql / Analyze (python) (push) Has been cancelled
perf / API hot-path micro-smoke (budgeted) (push) Has been cancelled
perf / Desktop engine crates (release build check) (push) Has been cancelled
vision2026-ci / API phase modules (ruff + pytest) (push) Has been cancelled
vision2026-ci / Alembic upgrade + drift check (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (caption-engine) (push) Has been cancelled
Menivor — open source release (MIT), free to use and fork
Paid, hosted product at menivor.com, now retired as a company project.
Fresh squashed history of the cleaned working tree (secret-scanned,
no .env, no customer data, no outreach logs). Built on
MoneyPrinterTurbo (MIT, harry0703) — see NOTICE.
2026-12-04 02:10:26 +03:00

67 lines
2.3 KiB
TypeScript

/**
* Capture hub — the on-ramp for getting footage into ReelForge. Import a screen
* recording / clip, or trim & export a completed reel. (Live camera capture is a
* later add — requires expo-camera.)
*/
import * as React from "react";
import { Pressable, ScrollView, StyleSheet, Text, View } from "react-native";
import { router } from "expo-router";
import { colors } from "@/components/me/theme";
import { Icon } from "@/components/ui/Icon";
const ENTRIES: { href: string; title: string; subtitle: string }[] = [
{
href: "/capture/screen-import",
title: "Import footage",
subtitle: "Upload a screen recording or clip to use in a template",
},
{
href: "/capture/trim",
title: "Trim & export",
subtitle: "Preview a reel, set in/out + speed, export the cut",
},
{
href: "/studio/templates",
title: "Start from a template",
subtitle: "One-tap viral formats — footage is auto-filled if you have none",
},
];
export default function CaptureHub() {
return (
<ScrollView style={styles.container} contentContainerStyle={styles.content}>
<Text style={styles.intro}>
Bring footage in, cut it, or start straight from a template.
</Text>
{ENTRIES.map((e) => (
<Pressable key={e.href} style={styles.link} onPress={() => router.push(e.href as never)}>
<View style={styles.body}>
<Text style={styles.title}>{e.title}</Text>
<Text style={styles.subtitle}>{e.subtitle}</Text>
</View>
<Icon name="chevron-forward" style={styles.chevron} />
</Pressable>
))}
<View style={styles.spacer} />
</ScrollView>
);
}
const styles = StyleSheet.create({
container: { flex: 1, backgroundColor: colors.bg },
content: { padding: 16 },
intro: { color: colors.textSecondary, fontSize: 14, marginBottom: 16 },
link: {
flexDirection: "row", alignItems: "center", justifyContent: "space-between",
backgroundColor: colors.card, borderColor: colors.border, borderWidth: 1,
borderRadius: 12, padding: 14, marginBottom: 10,
},
body: { flex: 1, paddingRight: 8 },
title: { color: colors.textPrimary, fontSize: 15, fontWeight: "600" },
subtitle: { color: colors.muted, fontSize: 12, marginTop: 2 },
chevron: { color: colors.muted, fontSize: 22 },
spacer: { height: 24 },
});