$npx -y skills add remotion-dev/remotion --skill add-expertAdd a new expert to the Remotion experts page
| 1 | ## Steps |
| 2 | |
| 3 | 1. **Add the expert's photo** to both: |
| 4 | - `packages/docs/static/img/freelancers/<firstname>.png` |
| 5 | - `packages/promo-pages/public/img/freelancers/<firstname>.png` |
| 6 | |
| 7 | The image should be a square headshot (PNG format). Both paths must have the same file. |
| 8 | |
| 9 | 2. **Add an entry** to the `experts` array in `packages/promo-pages/src/components/experts/experts-data.tsx`: |
| 10 | |
| 11 | ```tsx |
| 12 | { |
| 13 | slug: 'firstname-lastname', |
| 14 | name: 'First Last', |
| 15 | image: '/img/freelancers/<firstname>.png', |
| 16 | website: 'https://example.com' | null, |
| 17 | x: 'twitter_handle' | null, |
| 18 | github: 'github_username' | null, |
| 19 | linkedin: 'in/linkedin-slug/' | null, |
| 20 | email: 'email@example.com' | null, |
| 21 | videocall: 'https://cal.com/...' | null, |
| 22 | since: new Date('YYYY-MM-DD').getTime(), |
| 23 | description: ( |
| 24 | <div> |
| 25 | A short description of the expert's work and specialties. |
| 26 | Links to projects can be included with <a> tags. |
| 27 | </div> |
| 28 | ), |
| 29 | }, |
| 30 | ``` |
| 31 | |
| 32 | - `since` should be set to today's date |
| 33 | - `slug` must be lowercase, hyphenated version of the name |
| 34 | - Set unused social fields to `null` |
| 35 | - The entry goes at the end of the `experts` array (before the closing `]`) |
| 36 | |
| 37 | 3. **Render the expert card** by running in `packages/docs`: |
| 38 | |
| 39 | ``` |
| 40 | bun render-cards |
| 41 | ``` |
| 42 | |
| 43 | This generates `packages/docs/static/generated/experts-<slug>.png`. Verify it says "Rendered experts-\<slug\>" (not "Existed"). |