feat: Add Facebook Reels with music and text overlay - Add ffmpeg.ts service for Docker FFmpeg API integration - Add jamendo.ts service for royalty-free music search - Add publishReel methods to facebook.ts - Add reels API routes (music search, AI text generation, create/preview) - Add new-reel.tsx frontend with 4-step workflow - Add 'reel' type to postTypeEnum - Update navigation with Nouveau Reel link

This commit is contained in:
Michael committed 2026-01-22 11:57:27 +01:00
1 parent 7b39b34afb
commit 3d494d4056
10 files changed
+2069 -60

No files matched your search

+7
View File
@@ -65,6 +65,12 @@ const Analytics = createResponsiveRoute(
() => import("@/pages/mobile/analytics")
);
// NewReel uses desktop version for now (mobile can be added later)
const NewReel = createResponsiveRoute(
() => import("@/pages/new-reel"),
() => import("@/pages/new-reel") // Uses same component for now
);
function ProtectedRoute({ component: Component, adminOnly = false }: { component: React.ComponentType; adminOnly?: boolean }) {
const [, setLocation] = useLocation();
@@ -114,6 +120,7 @@ function Router() {
<Route path="/login" component={Login} />
<Route path="/">{() => <ProtectedRoute component={Dashboard} />}</Route>
<Route path="/new">{() => <ProtectedRoute component={NewPost} />}</Route>
<Route path="/reel">{() => <ProtectedRoute component={NewReel} />}</Route>
<Route path="/calendar">{() => <ProtectedRoute component={Calendar} />}</Route>
<Route path="/media">{() => <ProtectedRoute component={Media} />}</Route>
<Route path="/image-editor">{() => <ProtectedRoute component={ImageEditor} />}</Route>