'use client' import { motion } from 'framer-motion' import { CommandCopyButton } from './command-copy-button' interface CommandCopyProps { name: string highlight?: boolean } export function Command({ name, highlight }: CommandCopyProps) { const command = `npx shadcn@latest add ${ process.env.NEXT_PUBLIC_VERCEL_TARGET_ENV === 'production' ? `https://supabase.com` : process.env.NEXT_PUBLIC_VERCEL_TARGET_ENV === 'preview' ? `https://${process.env.NEXT_PUBLIC_VERCEL_BRANCH_URL}` : 'http://localhost:3004' }${process.env.NEXT_PUBLIC_BASE_PATH ?? ''}/r/${name}.json` return ( <>