Skip to content

🎥 Make videos programmatically with React

add editor starter section to the homepage

Igor Samokhovets812882ff0dc8
diff --git a/packages/docs/static/img/editor-starter-demo.jpg b/packages/docs/static/img/editor-starter-demo.jpg
new file mode 100644
index 0000000000..876d829b40
Binary files /dev/null and b/packages/docs/static/img/editor-starter-demo.jpg differ
diff --git a/packages/promo-pages/src/components/Homepage.tsx b/packages/promo-pages/src/components/Homepage.tsx
index 0ba00d6559..0b2c7545c5 100644
--- a/packages/promo-pages/src/components/Homepage.tsx
+++ b/packages/promo-pages/src/components/Homepage.tsx
@@ -4,6 +4,7 @@ import React from 'react';
import {BackgroundAnimation} from './homepage/BackgroundAnimation';
import CommunityStats from './homepage/CommunityStats';
import {Demo} from './homepage/Demo';
+import EditorStarterSection from './homepage/EditorStarterSection';
import EvaluateRemotionSection from './homepage/EvaluateRemotion';
import {IfYouKnowReact} from './homepage/IfYouKnowReact';
import type {ColorMode} from './homepage/layout/use-color-mode';
@@ -49,6 +50,10 @@ export const NewLanding: React.FC<{
<br />
<br />
<br />
+ <EditorStarterSection />
+ <br />
+ <br />
+ <br />
<SectionTitle>Pricing</SectionTitle>
<Pricing />
<TrustedByBanner />
diff --git a/packages/promo-pages/src/components/homepage/EditorStarterSection.tsx b/packages/promo-pages/src/components/homepage/EditorStarterSection.tsx
new file mode 100644
index 0000000000..9ee13914eb
--- /dev/null
+++ b/packages/promo-pages/src/components/homepage/EditorStarterSection.tsx
@@ -0,0 +1,81 @@
+import React from 'react';
+
+import {SectionTitle} from './VideoAppsTitle';
+import {BlueButton, ClearButton} from './layout/Button';
+
+const EditorStarterSection: React.FC = () => {
+ return (
+ <div>
+ <SectionTitle>Build your own video editor</SectionTitle>
+ <br />
+ <div className={'card flex p-0 overflow-hidden'}>
+ <div className={'flex-1 flex flex-col lg:flex-row justify-center'}>
+ <div
+ className={
+ 'w-full max-w-[500px] aspect-square relative overflow-hidden bg-[#eee]'
+ }
+ >
+ <img
+ src={'/img/editor-starter-demo.jpg'}
+ alt="Remotion Editor Starter"
+ className={
+ 'absolute left-0 top-0 w-full h-full object-cover object-top rounded-sm rounded-tr-none rounded-br-none'
+ }
+ />
+ </div>
+ <div className={'p-6 flex-1 flex flex-col h-full'}>
+ <div className="text-4xl font-bold fontbrand mt-0">
+ Editor Starter
+ </div>
+ <div className="text-muted mt-4 text-base fontbrand">
+ Add to existing project or start from scratch. A comprehensive
+ template that includes everything you need to create custom video
+ editing applications with React and TypeScript.
+ </div>
+ <div className="h-5" />
+ <div className="flex gap-2 items-center">
+ <a
+ href="https://www.remotion.pro/editor-starter?ref=remotion.dev"
+ target="_blank"
+ >
+ <BlueButton size="sm" loading={false}>
+ Start building
+ </BlueButton>
+ </a>
+ <a
+ href="https://editor-starter.remotion.dev?ref=remotion.dev"
+ target="_blank"
+ >
+ <ClearButton size="sm" loading={false}>
+ Demo
+ </ClearButton>
+ </a>
+ </div>
+ <br />
+ </div>
+ </div>
+ </div>
+ <div
+ style={{
+ marginTop: '1rem',
+ justifyContent: 'center',
+ display: 'flex',
+ }}
+ >
+ <div
+ style={{
+ fontFamily: 'GTPlanar',
+ }}
+ >
+ Start building your video editor today. Check out the{' '}
+ <a href="/docs/editor-starter" className="bluelink">
+ documentation
+ </a>
+ .
+ </div>
+ </div>
+ </div>
+ );
+};
+
+export default EditorStarterSection;