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>
This commit is contained in:
27
pitch-deck/components/ui/GradientText.tsx
Normal file
27
pitch-deck/components/ui/GradientText.tsx
Normal file
@@ -0,0 +1,27 @@
|
||||
'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>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user