'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() // Order: 0=Homelab, 1=Poimen Memory, 2=Poimen Workflow, 3=RBC, 4=AWS const projects = t.projects.items.map((item, index) => ({ ...item, id: ['project-homelab', 'project-poimen-memory', 'project-poimen-workflow', 'project-rbc', 'project-aws'][index], status: index === 3 ? 'completed' as const : index <= 2 ? 'building' as const : 'live' as const, media: index === 3 ? { type: 'image' as const, url: '/rbc-images.jpeg' } : index === 4 ? { type: 'video' as const, url: 'https://www.youtube.com/watch?v=wdJ5DN15jus' } : undefined, videoUrl: '#', articleUrl: index === 4 ? 'https://lnkd.in/p/gm2PZkWw' : '#', ciRepos: index === 0 ? [ { label: 'portfolio', repo: 'rock/riotpiao.com', forgejoBase: 'https://forgejo.riotpiao.com/rock/riotpiao.com' }, { label: 'homelab-frontend', repo: 'rock/homelab-frontend', forgejoBase: 'https://forgejo.riotpiao.com/rock/homelab-frontend' }, { label: 'kmsvc', repo: 'rock/kmsvc-manage', forgejoBase: 'https://forgejo.riotpiao.com/rock/kmsvc-manage' }, ] : index === 1 ? [ { label: 'poimen-mem', repo: 'rock/poimen-memory', forgejoBase: 'https://forgejo.riotpiao.com/rock/poimen-memory' }, ] : index === 2 ? [ { label: 'poimen-wf', repo: 'rock/poimen-workflows', forgejoBase: 'https://forgejo.riotpiao.com/rock/poimen-workflows' }, ] : undefined, })) 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}

)}
) }