Record your screen, ship a demo. Free and open-source, GPU-accelerated, no watermarks, no subscriptions. Windows, macOS, Linux. Actively maintained.
TypeScript cross-platformelectronffmpegopen-sourceproduct-demorustscreen-capturescreen-recorderscreen-recordingscreen-studioscreencastspeech-to-texttypescriptvideo-editingvideo-editorwaylandwgpuwhisper
docs: send the badge's no-clipboard fallback to the docs that show its prompt
EtienneLescote9c5ed99fb1f
diff --git a/website/src/pages/index.tsx b/website/src/pages/index.tsxindex 4973b6478..13041fd4f 100644--- a/website/src/pages/index.tsx+++ b/website/src/pages/index.tsx@@ -1,6 +1,7 @@import Head from "@docusaurus/Head";import Link from "@docusaurus/Link";import Translate, { translate } from "@docusaurus/Translate";+import useBaseUrl from "@docusaurus/useBaseUrl";import useDocusaurusContext from "@docusaurus/useDocusaurusContext";import Heading from "@theme/Heading";import Layout from "@theme/Layout";@@ -58,12 +59,13 @@ function CopyButton({ text }: { text: string }) {// Beside the download button: one click copies the demo prompt, and the label says where it goes.function AgentBadge() {- // Without a clipboard, the agent section below has the same kind of prompt to select by hand.+ // Without a clipboard, the AI editing docs show this same prompt to select by hand.+ const docs = useBaseUrl("/docs/ai-editing#letting-an-agent-make-the-whole-video");// Long enough to read the instruction that replaces the label.const [copied, copy] = useCopy(DEMO_PROMPT,() => {- window.location.hash = "coding-agents";+ window.location.assign(docs);},4000,);