'use client' import { motion, AnimatePresence } from 'framer-motion' import { useState, useEffect } from 'react' import { Code, Network, Zap, Sparkles, Github } from 'lucide-react' import { TypewriterText } from './TypewriterText' const roles = [ { text: 'Software Engineer Lead', icon: Code }, { text: 'Infrastructure Architect', icon: Network }, { text: 'Distributed Systems Builder', icon: Zap }, { text: 'LLM Systems Optimizer', icon: Sparkles }, { text: 'Open Source Developer', icon: Github }, ] export function HeroBlobFlow() { const [index, setIndex] = useState(0) useEffect(() => { const interval = setInterval(() => { setIndex((prev) => (prev + 1) % roles.length) }, 2000) return () => clearInterval(interval) }, []) return (
{/* Background glow */}
{/* Avatar center */}
RL
{/* Typewriter text below avatar */} {/* Rotating role text */}
{(() => { const Icon = roles[index].icon return })()} {roles[index].text}
) }