Skip to content

🎥 Make videos programmatically with React

right click logo to see brand (nasty)

Jonny Burger5f21b515bc8e
diff --git a/packages/docs/docusaurus.config.js b/packages/docs/docusaurus.config.js
index 767d1ad495..34a33dabce 100644
--- a/packages/docs/docusaurus.config.js
+++ b/packages/docs/docusaurus.config.js
@@ -171,7 +171,7 @@ module.exports = {
},
{
label: "Brand",
- href: "https://github.com/remotion-dev/logo",
+ href: "https://remotion.dev/brand",
},
],
},
diff --git a/packages/docs/src/theme/Footer/index.tsx b/packages/docs/src/theme/Footer/index.tsx
index 98399dc99a..b2ddbea61f 100644
--- a/packages/docs/src/theme/Footer/index.tsx
+++ b/packages/docs/src/theme/Footer/index.tsx
@@ -5,6 +5,7 @@ import FooterLinks from "./Links";
const Footer = () => {
const { footer } = useThemeConfig();
+
if (!footer) {
return null;
}
@@ -19,3 +20,16 @@ const Footer = () => {
};
export default React.memo(Footer);
+
+// Right-click on the Remotion logo to get brand
+
+document.addEventListener("DOMContentLoaded", () => {
+ setTimeout(() => {
+ document
+ .querySelector(".navbar__logo")
+ .addEventListener("contextmenu", (e) => {
+ e.preventDefault();
+ window.open("https://remotion.dev/brand", "_blank");
+ });
+ }, 200);
+});
diff --git a/vercel.json b/vercel.json
index afc741355c..476235ebdc 100644
--- a/vercel.json
+++ b/vercel.json
@@ -114,6 +114,16 @@
"source": "/docs/player/api",
"destination": "/docs/player/player",
"permanent": true
+ },
+ {
+ "source": "/github",
+ "destination": "https://github.com/remotion-dev/remotion",
+ "permanent": false
+ },
+ {
+ "source": "/brand",
+ "destination": "https://github.com/remotion-dev/logo",
+ "permanent": false
}
]
}