AI Resource Pro / portrait-video / src / Root.tsx
| 1 | import React from "react"; |
| 2 | import { Composition } from "remotion"; |
| 3 | import { PortraitVideo } from "./PortraitVideo"; |
| 4 | |
| 5 | const STORIES = [ |
| 6 | { |
| 7 | title: "Pentagon Nearly Cuts Off Anthropic", |
| 8 | category: "AI SAFETY", |
| 9 | categoryColor: "#FF6B6B", |
| 10 | bgFile: "2026-02-19-portrait-story-1-bg-slow.mp4", |
| 11 | clipFile: "2026-02-19-portrait-story-1-clip-slow.mp4", |
| 12 | audioFile: "audio-reels-story1.mp3", |
| 13 | captionsFile: "captions-story1-remotion.json", |
| 14 | durationInFrames: 191, |
| 15 | bullets: [], |
| 16 | }, |
| 17 | { |
| 18 | title: "Grok 4.20 Beta Matches GPT-5", |
| 19 | category: "AI COMPETITION", |
| 20 | categoryColor: "#FFA94D", |
| 21 | bgFile: "2026-02-19-portrait-story-2-bg-slow.mp4", |
| 22 | clipFile: "2026-02-19-portrait-story-2-clip-slow.mp4", |
| 23 | audioFile: "audio-reels-story2.mp3", |
| 24 | captionsFile: "captions-story2-remotion.json", |
| 25 | durationInFrames: 359, |
| 26 | bullets: [], |
| 27 | }, |
| 28 | { |
| 29 | title: "Gemini 3.1 Leaks in Dev Communities", |
| 30 | category: "AI AGI", |
| 31 | categoryColor: "#845EF7", |
| 32 | bgFile: "2026-02-19-portrait-story-3-bg-slow.mp4", |
| 33 | clipFile: "2026-02-19-portrait-story-3-clip-slow.mp4", |
| 34 | audioFile: "audio-reels-story3.mp3", |
| 35 | captionsFile: "captions-story3-remotion.json", |
| 36 | durationInFrames: 181, |
| 37 | bullets: [], |
| 38 | }, |
| 39 | { |
| 40 | title: "China, Iran, Russia Using Gemini for Cyberattacks", |
| 41 | category: "AI SAFETY", |
| 42 | categoryColor: "#FF6B6B", |
| 43 | bgFile: "2026-02-19-portrait-story-4-bg-slow.mp4", |
| 44 | clipFile: "2026-02-19-portrait-story-4-clip-slow.mp4", |
| 45 | audioFile: "audio-reels-story4.mp3", |
| 46 | captionsFile: "captions-story4-remotion.json", |
| 47 | durationInFrames: 333, |
| 48 | bullets: [], |
| 49 | }, |
| 50 | { |
| 51 | title: "Anthropic Bans Third-Party OAuth Tokens", |
| 52 | category: "AI DEVELOPMENT", |
| 53 | categoryColor: "#43ACE9", |
| 54 | bgFile: "2026-02-19-portrait-story-5-bg-slow.mp4", |
| 55 | clipFile: "2026-02-19-portrait-story-5-clip-slow.mp4", |
| 56 | audioFile: "audio-reels-story5.mp3", |
| 57 | captionsFile: "captions-story5-remotion.json", |
| 58 | durationInFrames: 364, |
| 59 | bullets: [], |
| 60 | }, |
| 61 | ]; |
| 62 | |
| 63 | export const Root: React.FC = () => { |
| 64 | return ( |
| 65 | <Composition |
| 66 | id="PortraitDaily" |
| 67 | component={PortraitVideo as React.ComponentType} |
| 68 | durationInFrames={1677} |
| 69 | fps={30} |
| 70 | width={1080} |
| 71 | height={1920} |
| 72 | defaultProps={{ |
| 73 | stories: STORIES, |
| 74 | date: "February 19, 2026", |
| 75 | }} |
| 76 | /> |
| 77 | ); |
| 78 | }; |