🎥 Make videos programmatically with React
nice
JonnyBurgeraf5a3144817f
diff --git a/packages/promo-pages/src/components/icons/music.tsx b/packages/promo-pages/src/components/icons/music.tsxindex 0718619e76..13c450b5c7 100644--- a/packages/promo-pages/src/components/icons/music.tsx+++ b/packages/promo-pages/src/components/icons/music.tsx@@ -3,7 +3,10 @@ import type {SVGProps} from 'react';export const MusicIcon: React.FC<SVGProps<SVGSVGElement>> = (props) => {return (<svg {...props} xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">- <path d="M499.1 6.3c8.1 6 12.9 15.6 12.9 25.7l0 72 0 264c0 44.2-43 80-96 80s-96-35.8-96-80s43-80 96-80c11.2 0 22 1.6 32 4.6L448 147 192 223.8 192 432c0 44.2-43 80-96 80s-96-35.8-96-80s43-80 96-80c11.2 0 22 1.6 32 4.6L128 200l0-72c0-14.1 9.3-26.6 22.8-30.7l320-96c9.7-2.9 20.2-1.1 28.3 5z" />+ <path+ fill="currentColor"+ d="M499.1 6.3c8.1 6 12.9 15.6 12.9 25.7l0 72 0 264c0 44.2-43 80-96 80s-96-35.8-96-80s43-80 96-80c11.2 0 22 1.6 32 4.6L448 147 192 223.8 192 432c0 44.2-43 80-96 80s-96-35.8-96-80s43-80 96-80c11.2 0 22 1.6 32 4.6L128 200l0-72c0-14.1 9.3-26.6 22.8-30.7l320-96c9.7-2.9 20.2-1.1 28.3 5z"+ /></svg>);};diff --git a/packages/promo-pages/src/components/templates.tsx b/packages/promo-pages/src/components/templates.tsxindex c55b996796..bc506e8caf 100644--- a/packages/promo-pages/src/components/templates.tsx+++ b/packages/promo-pages/src/components/templates.tsx@@ -25,7 +25,7 @@ const Item: React.FC<{dangerouslySetInnerHTML={{__html: description,}}- className="text-sm mt-2.5 text-gray-500 mb-2.5"+ className="text-sm mt-2.5 text-gray-500 dark:text-gray-200 mb-2.5"/></div></div>@@ -41,7 +41,7 @@ export const Templates: React.FC = () => {<br />template</h1>- <p className="text-center mb-[50px]">+ <p className="text-center mb-[50px] font-brand">Jumpstart your project with a template that fits your usecase.</p><h3>Free templates</h3>@@ -53,7 +53,10 @@ export const Templates: React.FC = () => {href={`/templates/${template.cliId}`}className="no-underline">- <Button className="items-start justify-start text-left p-3.5 flex flex-col relative cursor-pointer text-[var(--text-color)] no-underline h-full w-full">+ <Button+ depth={0.5}+ className="items-start justify-start text-left p-3.5 flex flex-col relative cursor-pointer text-[var(--text-color)] no-underline h-full w-full"+ ><Itemlabel={template.homePageLabel}description={template.description}@@ -74,7 +77,10 @@ export const Templates: React.FC = () => {className="no-underline"href={`https://www.remotion.pro/editor-starter`}>- <Button className="text-left p-3.5 flex flex-col relative cursor-pointer text-[var(--text-color)] no-underline h-full w-full">+ <Button+ depth={0.5}+ className="text-left p-3.5 flex flex-col relative cursor-pointer text-[var(--text-color)] no-underline h-full w-full"+ ><Itemlabel={'Editor Starter'}description={'A boilerplate for starting your own video editor'}@@ -93,7 +99,10 @@ export const Templates: React.FC = () => {className="no-underline"href={`https://www.remotion.pro/mapbox-globe`}>- <Button className="text-left p-3.5 flex flex-col relative cursor-pointer text-[var(--text-color)] no-underline h-full w-full">+ <Button+ depth={0.5}+ className="text-left p-3.5 flex flex-col relative cursor-pointer text-[var(--text-color)] no-underline h-full w-full"+ ><Itemlabel={'Mapbox Globe'}description={'A rotateable and zoomeable 3D Globe'}@@ -115,7 +124,10 @@ export const Templates: React.FC = () => {className="no-underline"href={`https://www.remotion.pro/watercolor-map`}>- <Button className="text-left p-3.5 flex flex-col relative cursor-pointer text-[var(--text-color)] no-underline h-full w-full">+ <Button+ depth={0.5}+ className="text-left p-3.5 flex flex-col relative cursor-pointer text-[var(--text-color)] no-underline h-full w-full"+ ><Itemlabel={'Watercolor Map'}description={'A beautiful 2D map for travel videos'}@@ -134,7 +146,10 @@ export const Templates: React.FC = () => {className="no-underline"href={`https://www.remotion.pro/timeline`}>- <Button className="text-left p-3.5 flex flex-col relative cursor-pointer text-[var(--text-color)] no-underline h-full">+ <Button+ depth={0.5}+ className="text-left p-3.5 flex flex-col relative cursor-pointer text-[var(--text-color)] no-underline h-full"+ ><Itemlabel={'<Timeline />'}description={@@ -152,8 +167,8 @@ export const Templates: React.FC = () => {</div><br />- <p className="text-center text-gray-500">- {"Couldn't"} find what you need? Check out the list of{' '}+ <p className="text-center text-gray-500 font-brand text-sm">+ {"Couldn't"} find what you need? Find more in the list of{' '}<a href={'/docs/resources'}>Resources</a>.</p></div>