Skip to content

UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.

fix: update docs copy instructions

Dillion Vermad077cb2edd46
diff --git a/apps/www/components/docs-copy-page.tsx b/apps/www/components/docs-copy-page.tsx
index 4ce3735e..fbd9ac93 100644
--- a/apps/www/components/docs-copy-page.tsx
+++ b/apps/www/components/docs-copy-page.tsx
@@ -60,23 +60,6 @@ export function DocsCopyPage({ page, url }: { page: string; url: string }) {
</a>
)
},
- v0: (url: string) => (
- <a
- href={getPromptUrl("https://v0.dev", url)}
- target="_blank"
- rel="noopener noreferrer"
- >
- <svg
- xmlns="http://www.w3.org/2000/svg"
- fill="currentColor"
- viewBox="0 0 147 70"
- className="size-4.5 -translate-x-px"
- >
- <path d="M56 50.203V14h14v46.156C70 65.593 65.593 70 60.156 70c-2.596 0-5.158-1-7-2.843L0 14h19.797L56 50.203ZM147 56h-14V23.953L100.953 56H133v14H96.687C85.814 70 77 61.186 77 50.312V14h14v32.156L123.156 14H91V0h36.312C138.186 0 147 8.814 147 19.688V56Z" />
- </svg>
- <span className="-translate-x-[2px]">Open in v0</span>
- </a>
- ),
chatgpt: (url: string) => (
<a
href={getPromptUrl("https://chatgpt.com", url)}
@@ -107,6 +90,23 @@ export function DocsCopyPage({ page, url }: { page: string; url: string }) {
Open in Claude
</a>
),
+ v0: (url: string) => (
+ <a
+ href={getPromptUrl("https://v0.dev", url)}
+ target="_blank"
+ rel="noopener noreferrer"
+ >
+ <svg
+ xmlns="http://www.w3.org/2000/svg"
+ fill="currentColor"
+ viewBox="0 0 147 70"
+ className="size-4.5 -translate-x-px"
+ >
+ <path d="M56 50.203V14h14v46.156C70 65.593 65.593 70 60.156 70c-2.596 0-5.158-1-7-2.843L0 14h19.797L56 50.203ZM147 56h-14V23.953L100.953 56H133v14H96.687C85.814 70 77 61.186 77 50.312V14h14v32.156L123.156 14H91V0h36.312C138.186 0 147 8.814 147 19.688V56Z" />
+ </svg>
+ <span className="-translate-x-[2px]">Open in v0</span>
+ </a>
+ ),
}
return (
<Popover>