Migrated pitch-deck from breakpilot-pwa to breakpilot-core. Container: bp-core-pitch-deck on port 3012. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
28 lines
630 B
TypeScript
28 lines
630 B
TypeScript
'use client'
|
|
|
|
import { motion } from 'framer-motion'
|
|
import { ReactNode } from 'react'
|
|
|
|
interface GradientTextProps {
|
|
children: ReactNode
|
|
className?: string
|
|
delay?: number
|
|
}
|
|
|
|
export default function GradientText({ children, className = '', delay = 0 }: GradientTextProps) {
|
|
return (
|
|
<motion.span
|
|
initial={{ opacity: 0, y: 10 }}
|
|
animate={{ opacity: 1, y: 0 }}
|
|
transition={{ duration: 0.6, delay }}
|
|
className={`
|
|
bg-gradient-to-r from-indigo-400 via-purple-400 to-blue-400
|
|
bg-clip-text text-transparent
|
|
${className}
|
|
`}
|
|
>
|
|
{children}
|
|
</motion.span>
|
|
)
|
|
}
|