15 | {/* Background */}
16 |
17 |
18 |
19 |
20 | {/* ProductList */}
21 |
22 |
23 |
24 |
25 |
26 |
27 | {/* ProductDetails */}
28 | {products.map((product, index) => (
29 |
35 |
36 |
37 |
38 |
39 | ))}
40 |
41 | )
42 | }
43 |
--------------------------------------------------------------------------------
/src/Video.tsx:
--------------------------------------------------------------------------------
1 | import { Composition } from 'remotion'
2 |
3 | import { ProductHuntToday } from './ProductHuntToday'
4 |
5 | export const RemotionVideo = () => {
6 | return (
7 | <>
8 |
6 |
7 |
11 | Top 5 on Product Hunt yesterday
12 |
13 |
14 | {formatInTimeZone(
15 | new Date(date),
16 | 'America/Los_Angeles',
17 | 'MMMM d, yyyy'
18 | )}
19 |
20 |
21 |
22 | @ProductHunToday
23 |
24 |
25 | )
26 | }
27 |
--------------------------------------------------------------------------------
/src/components/ContentWrapper.tsx:
--------------------------------------------------------------------------------
1 | export const ContentWrapper = ({ children }) => {
2 | return (
3 |