Files
breakpilot-core/pitch-deck/components/ui/GradientText.tsx
Benjamin Boenisch f2a24d7341 feat: add pitch-deck service to core infrastructure
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>
2026-02-14 19:44:27 +01:00

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>
)
}