🎥 Make videos programmatically with React
add render server template icon
Igor Samokhovets2b23ac672646
diff --git a/packages/docs/src/components/IconForTemplate.tsx b/packages/docs/src/components/IconForTemplate.tsxindex bf9ae73dd4..6caa7a8b26 100644--- a/packages/docs/src/components/IconForTemplate.tsx+++ b/packages/docs/src/components/IconForTemplate.tsx@@ -8,6 +8,7 @@ import {MusicIcon} from './icons/music';import {NextIcon} from './icons/next';import {OverlayIcon} from './icons/overlay';import {RemixIcon} from './icons/remix';+import {RenderServerIcon} from './icons/render-server';import {SkiaIcon} from './icons/skia';import {Stargazer} from './icons/stargazer';import {StillIcon} from './icons/still';@@ -41,6 +42,10 @@ export const IconForTemplate: React.FC<{);}+ if (template.cliId === 'render-server') {+ return <RenderServerIcon style={{height: scale * 36}} />;+ }+if (template.cliId === 'javascript') {return (<JSIcondiff --git a/packages/docs/src/components/icons/render-server.tsx b/packages/docs/src/components/icons/render-server.tsxnew file mode 100644index 0000000000..7b027f2e8c--- /dev/null+++ b/packages/docs/src/components/icons/render-server.tsx@@ -0,0 +1,20 @@+import type {SVGProps} from 'react';+import React from 'react';++export const RenderServerIcon: React.FC<SVGProps<SVGSVGElement>> = (props) => {+ return (+ <svg+ {...props}+ xmlns="http://www.w3.org/2000/svg"+ viewBox="0 0 24 24"+ fill="none"+ stroke="currentColor"+ strokeWidth="1.5"+ strokeLinecap="round"+ strokeLinejoin="round"+ >+ <rect width="18" height="18" x="3" y="3" rx="2" />+ <path d="m10 8 4 4-4 4" />+ </svg>+ );+};