Skip to content

🎥 Make videos programmatically with React

cleanup

JonnyBurgere681049f8263
diff --git a/packages/docs/src/components/icons/editor.tsx b/packages/docs/src/components/icons/editor.tsx
index a1b9fb5962..e2b629ae5b 100644
--- a/packages/docs/src/components/icons/editor.tsx
+++ b/packages/docs/src/components/icons/editor.tsx
@@ -16,7 +16,7 @@ export const EditorIcon: React.FC<SVGProps<SVGSVGElement>> = (props) => {
height="52"
rx="15"
stroke="currentColor"
- strokeWidth="8"
+ strokeWidth="16"
/>
<rect
x="195"
@@ -25,7 +25,7 @@ export const EditorIcon: React.FC<SVGProps<SVGSVGElement>> = (props) => {
height="52"
rx="15"
stroke="currentColor"
- strokeWidth="8"
+ strokeWidth="16"
/>
<rect
x="4"
@@ -34,7 +34,7 @@ export const EditorIcon: React.FC<SVGProps<SVGSVGElement>> = (props) => {
height="52"
rx="15"
stroke="currentColor"
- strokeWidth="8"
+ strokeWidth="16"
/>
<rect
x="195"
@@ -43,12 +43,12 @@ export const EditorIcon: React.FC<SVGProps<SVGSVGElement>> = (props) => {
height="52"
rx="15"
stroke="currentColor"
- strokeWidth="8"
+ strokeWidth="16"
/>
- <path d="M55 222H196" stroke="currentColor" strokeWidth="8" />
- <path d="M30 60L30 191" stroke="currentColor" strokeWidth="8" />
- <path d="M221 60V191" stroke="currentColor" strokeWidth="8" />
- <path d="M55 30H196" stroke="currentColor" strokeWidth="8" />
+ <path d="M55 222H196" stroke="currentColor" strokeWidth="16" />
+ <path d="M30 60L30 191" stroke="currentColor" strokeWidth="16" />
+ <path d="M221 60V191" stroke="currentColor" strokeWidth="16" />
+ <path d="M55 30H196" stroke="currentColor" strokeWidth="16" />
</svg>
);
};
diff --git a/packages/docs/src/pages/templates/index.tsx b/packages/docs/src/pages/templates/index.tsx
index 9b50c9e018..a8defca891 100644
--- a/packages/docs/src/pages/templates/index.tsx
+++ b/packages/docs/src/pages/templates/index.tsx
@@ -127,6 +127,24 @@ export default () => {
<br />
<h3>Paid templates</h3>
<div className={styles.grid}>
+ <Link
+ key={'editor-starter'}
+ className={styles.item}
+ style={outer}
+ to={`https://www.remotion.pro/editor-starter`}
+ >
+ <Item
+ label={'Editor Starter'}
+ description={'Professional Remotion Editor Starter Template'}
+ >
+ <EditorIcon
+ style={{
+ height: 0.7 * 32,
+ overflow: 'visible',
+ }}
+ />
+ </Item>{' '}
+ </Link>
<Link
key={'mapbox-globe'}
className={styles.item}
@@ -137,7 +155,10 @@ export default () => {
label={'Mapbox Globe'}
description={'A rotateable and zoomeable 3D Globe'}
>
- <svg style={{height: 0.7 * 36}} viewBox="0 0 512 512">
+ <svg
+ style={{height: 0.7 * 36, overflow: 'visible'}}
+ viewBox="0 0 512 512"
+ >
<path
fill="currentcolor"
d="M256 464c7.4 0 27-7.2 47.6-48.4c8.8-17.7 16.4-39.2 22-63.6H186.4c5.6 24.4 13.2 45.9 22 63.6C229 456.8 248.6 464 256 464zM178.5 304h155c1.6-15.3 2.5-31.4 2.5-48s-.9-32.7-2.5-48h-155c-1.6 15.3-2.5 31.4-2.5 48s.9 32.7 2.5 48zm7.9-144H325.6c-5.6-24.4-13.2-45.9-22-63.6C283 55.2 263.4 48 256 48s-27 7.2-47.6 48.4c-8.8 17.7-16.4 39.2-22 63.6zm195.3 48c1.5 15.5 2.2 31.6 2.2 48s-.8 32.5-2.2 48h76.7c3.6-15.4 5.6-31.5 5.6-48s-1.9-32.6-5.6-48H381.8zm58.8-48c-21.4-41.1-56.1-74.1-98.4-93.4c14.1 25.6 25.3 57.5 32.6 93.4h65.9zm-303.3 0c7.3-35.9 18.5-67.7 32.6-93.4c-42.3 19.3-77 52.3-98.4 93.4h65.9zM53.6 208c-3.6 15.4-5.6 31.5-5.6 48s1.9 32.6 5.6 48h76.7c-1.5-15.5-2.2-31.6-2.2-48s.8-32.5 2.2-48H53.6zM342.1 445.4c42.3-19.3 77-52.3 98.4-93.4H374.7c-7.3 35.9-18.5 67.7-32.6 93.4zm-172.2 0c-14.1-25.6-25.3-57.5-32.6-93.4H71.4c21.4 41.1 56.1 74.1 98.4 93.4zM256 512A256 256 0 1 1 256 0a256 256 0 1 1 0 512z"
@@ -158,6 +179,7 @@ export default () => {
<SkiaIcon
style={{
height: 0.7 * 32,
+ overflow: 'visible',
}}
/>
</Item>
@@ -181,23 +203,6 @@ export default () => {
/>
</Item>
</Link>
- <Link
- key={'editor-starter'}
- className={styles.item}
- style={outer}
- to={`https://www.remotion.pro/editor-starter`}
- >
- <Item
- label={'Editor Starter'}
- description={'Professional Remotion Editor Starter Template'}
- >
- <EditorIcon
- style={{
- height: 0.7 * 32,
- }}
- />
- </Item>
- </Link>
</div>
<br />