Skip to content

🎥 Make videos programmatically with React

update icons

Jonny Burger07a9bde936d0
diff --git a/packages/create-video/src/pkg-managers.ts b/packages/create-video/src/pkg-managers.ts
index f22a53816a..7b5fc2b510 100644
--- a/packages/create-video/src/pkg-managers.ts
+++ b/packages/create-video/src/pkg-managers.ts
@@ -156,7 +156,7 @@ export const getDevCommand = (manager: PackageManager, template: Template) => {
if (
template.cliId === 'react-router' ||
template.cliId === 'next' ||
- template.cliId === 'next-tailwind' ||
+ template.cliId === 'next-no-tailwind' ||
template.cliId === 'next-pages-dir'
) {
return `${getRunCommand(manager)} dev`;
diff --git a/packages/create-video/src/templates.ts b/packages/create-video/src/templates.ts
index de92524c51..ace1fb68e5 100644
--- a/packages/create-video/src/templates.ts
+++ b/packages/create-video/src/templates.ts
@@ -28,7 +28,7 @@ export type Template = {
| 'javascript'
| 'blank'
| 'next'
- | 'next-tailwind'
+ | 'next-no-tailwind'
| 'next-pages-dir'
| 'react-router'
| 'three'
@@ -142,12 +142,12 @@ export const FEATURED_TEMPLATES: Template[] = [
longerDescription:
'A template for rendering videos on-demand using Vercel Sandbox. Spawns ephemeral Linux VMs to render videos and stores them in Vercel Blob storage.',
cliId: 'vercel' as const,
- promoBanner: {
- width: 655,
+ promoVideo: {
+ width: 1280,
height: 720,
- src: '/img/vercel-sandbox-template.png',
+ muxId: 'RufnZIJZh6L1MAaeG02jnXuM9pK96tNuHRxmXHbWqCBI',
},
- type: 'image' as const,
+ type: 'video' as const,
defaultBranch: 'main',
featuredOnHomePage: null,
previewURL: null,
diff --git a/packages/docs/src/components/IconForTemplate.tsx b/packages/docs/src/components/IconForTemplate.tsx
index 66ed7d1b9d..57a9012860 100644
--- a/packages/docs/src/components/IconForTemplate.tsx
+++ b/packages/docs/src/components/IconForTemplate.tsx
@@ -150,7 +150,7 @@ export const IconForTemplate: React.FC<{
if (
template.cliId === 'next' ||
- template.cliId === 'next-tailwind' ||
+ template.cliId === 'next-no-tailwind' ||
template.cliId === 'next-pages-dir'
) {
return <NextIcon style={{height: scale * 36}} />;
diff --git a/packages/promo-pages/src/components/homepage/IconForTemplate.tsx b/packages/promo-pages/src/components/homepage/IconForTemplate.tsx
index a67e81891c..7f58221b50 100644
--- a/packages/promo-pages/src/components/homepage/IconForTemplate.tsx
+++ b/packages/promo-pages/src/components/homepage/IconForTemplate.tsx
@@ -150,7 +150,7 @@ export const IconForTemplate: React.FC<{
if (
template.cliId === 'next' ||
- template.cliId === 'next-tailwind' ||
+ template.cliId === 'next-no-tailwind' ||
template.cliId === 'next-pages-dir'
) {
return <NextIcon style={{height: scale * 36}} />;