Skip to content

🎥 Make videos programmatically with React

video apps

Jonny Burgerf63a97a8f9de
diff --git a/packages/promo-pages/src/components/homepage/VideoApps.tsx b/packages/promo-pages/src/components/homepage/VideoApps.tsx
index 9d5d667304..6b022c229c 100644
--- a/packages/promo-pages/src/components/homepage/VideoApps.tsx
+++ b/packages/promo-pages/src/components/homepage/VideoApps.tsx
@@ -1,28 +1,9 @@
import React, {useEffect, useState} from 'react';
import {BlueButton} from './layout/Button';
-import {PALETTE} from './layout/colors';
import {useColorMode} from './layout/use-color-mode';
import {Spacer} from './Spacer';
import {YouAreHere} from './YouAreHere';
-const panel: React.CSSProperties = {
- backgroundColor: 'var(--ifm-background-color)',
- border: '2px solid ' + PALETTE.BOX_STROKE,
- borderBottom: '4px solid ' + PALETTE.BOX_STROKE,
- padding: 10,
- borderRadius: 15,
- flex: 1,
- paddingTop: 30,
- paddingBottom: 10,
- minHeight: 500,
- display: 'flex',
- flexDirection: 'column',
-};
-
-const center: React.CSSProperties = {
- textAlign: 'center',
-};
-
const row: React.CSSProperties = {
display: 'flex',
flexDirection: 'row',
diff --git a/packages/studio-shared/src/package-info.ts b/packages/studio-shared/src/package-info.ts
index 06d73505fa..0eebd56fee 100644
--- a/packages/studio-shared/src/package-info.ts
+++ b/packages/studio-shared/src/package-info.ts
@@ -52,6 +52,7 @@ export const packages = [
'rive',
'shapes',
'skia',
+ 'promo-pages',
'streaming',
'serverless',
'studio-server',
@@ -147,6 +148,7 @@ export const descriptions: {[key in Pkgs]: string | null} = {
'openai-whisper': 'Work with the output of the OpenAI Whisper API',
'eslint-config-internal': "ESLint condig for Remotion's internal packages",
'example-videos': null,
+ 'promo-pages': null,
};
export const apiDocs: {[key in Pkgs]: string | null} = {
@@ -222,4 +224,5 @@ export const apiDocs: {[key in Pkgs]: string | null} = {
'eslint-config-internal': null,
compositor: null,
'example-videos': null,
+ 'promo-pages': null,
};