'use client' import { motion } from 'framer-motion' import { useState } from 'react' import { X } from 'lucide-react' import { ProjectShowcase } from '@/components/ProjectShowcase' import { HeroBlobFlow } from '@/components/HeroBlobFlow' import { InteractiveTerminal } from '@/components/InteractiveTerminal' import { ExperienceTimeline } from '@/components/ExperienceTimeline' import { useLanguage } from '@/lib/LanguageContext' export default function Home() { const [bioModalOpen, setBioModalOpen] = useState(false) const { t } = useLanguage() const projects = t.projects.items.map((item, index) => ({ ...item, id: index === 1 ? 'project-rbc' : undefined, status: index === 1 ? 'completed' as const : index === 5 ? 'building' as const : 'live' as const, media: index === 0 ? { type: 'video' as const, url: 'https://www.youtube.com/watch?v=wdJ5DN15jus' } : index === 1 ? { type: 'image' as const, url: '/rbc-images.jpeg' } : undefined, videoUrl: index === 5 ? 'https://github.com/rockliang/go-flink' : '#', articleUrl: index === 0 ? 'https://lnkd.in/p/gm2PZkWw' : '#', })) return (
{/* Hero */}
{/* Avatar with flowing outcomes */} {/* Description */}

{t.hero.title}

{t.hero.subtitle}

{t.hero.description}

💡 {t.hero.terminalHint} Cmd+K {t.hero.terminalHintSuffix}
{/* Experience Timeline */} {/* Features Grid */}

{t.projects.title}

{t.projects.subtitle}

{projects.map((project) => ( ))}
{/* Footer */} {/* Interactive Terminal */} {/* Bio Modal */} {bioModalOpen && ( setBioModalOpen(false)} > e.stopPropagation()} className="bg-white dark:bg-gray-900 rounded-lg shadow-2xl max-w-2xl w-full max-h-96 overflow-y-auto" > {/* Header */}

{t.bio.title}

{/* Content */}

{t.bio.intro}

{t.bio.expertise.title}

{t.bio.expertise.content}

{t.bio.highlights.title}

    {t.bio.highlights.items.map((item, i) => (
  • • {item}
  • ))}

{t.bio.educationTitle}

{t.bio.educationContent}

{t.bio.currentFocus}

)}
) }