Skip to content

🎥 Make videos programmatically with React

website fixes

Jonny Burger606f168e5338
diff --git a/packages/create-video/src/templates.ts b/packages/create-video/src/templates.ts
index a096f65561..388cbb0146 100644
--- a/packages/create-video/src/templates.ts
+++ b/packages/create-video/src/templates.ts
@@ -195,7 +195,7 @@ export const FEATURED_TEMPLATES: Template[] = [
contributedBy: null,
},
{
- homePageLabel: 'Prompt to Motion graphics',
+ homePageLabel: 'Prompt to Motion Graphics',
shortName: 'Prompt to Motion Graphics (Next.js)',
org: 'remotion-dev',
repoName: 'template-prompt-to-motion-graphics',
diff --git a/packages/docs/sidebars.ts b/packages/docs/sidebars.ts
index f8208b1548..7255b6f5ee 100644
--- a/packages/docs/sidebars.ts
+++ b/packages/docs/sidebars.ts
@@ -1118,6 +1118,7 @@ const sidebars: SidebarsConfig = {
{
type: 'category',
label: 'WebCodecs',
+ className: 'deprecated-item',
link: {
type: 'doc',
id: 'webcodecs/index',
diff --git a/packages/docs/src/css/custom.css b/packages/docs/src/css/custom.css
index f4a44e467f..f42f2f91ce 100644
--- a/packages/docs/src/css/custom.css
+++ b/packages/docs/src/css/custom.css
@@ -199,6 +199,21 @@ code {
transform: none !important;
}
+.deprecated-item > div > a::after,
+.deprecated-item > a::after {
+ content: 'Deprecated';
+ font-size: 12px;
+ opacity: 0.4;
+ border: 1px solid;
+ padding-left: 4px;
+ padding-right: 4px;
+ padding-top: 1px;
+ padding-bottom: 1px;
+ margin-left: 6px;
+ border-radius: 4px;
+ transform: none !important;
+}
+
.wip-item > div > a::after,
.wip-item > a::after {
content: 'Coming Soon';
diff --git a/packages/promo-pages/src/components/templates.tsx b/packages/promo-pages/src/components/templates.tsx
index b0c91af6be..15a2629637 100644
--- a/packages/promo-pages/src/components/templates.tsx
+++ b/packages/promo-pages/src/components/templates.tsx
@@ -55,7 +55,7 @@ export const Templates: React.FC = () => {
>
<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"
+ 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 items-start"
>
<Item
label={template.homePageLabel}
@@ -79,7 +79,7 @@ export const Templates: React.FC = () => {
>
<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"
+ className="text-left p-3.5 flex flex-col relative cursor-pointer text-[var(--text-color)] no-underline h-full w-full items-start"
>
<Item
label={'Editor Starter'}
@@ -101,7 +101,7 @@ export const Templates: React.FC = () => {
>
<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"
+ className="text-left p-3.5 flex flex-col relative cursor-pointer text-[var(--text-color)] no-underline h-full w-full items-start"
>
<Item
label={'Mapbox Globe'}
@@ -126,7 +126,7 @@ export const Templates: React.FC = () => {
>
<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"
+ className="text-left p-3.5 flex flex-col relative cursor-pointer text-[var(--text-color)] no-underline h-full w-full items-start"
>
<Item
label={'Watercolor Map'}
@@ -148,7 +148,7 @@ export const Templates: React.FC = () => {
>
<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"
+ className="text-left p-3.5 flex flex-col relative cursor-pointer text-[var(--text-color)] no-underline h-full w-full items-start"
>
<Item
label={'<Timeline />'}