import React from 'react'; import { motion } from 'framer-motion'; import WorkflowBuilder from '../workflow/WorkflowBuilder'; interface HeroSectionProps { onSubmit: (workflowText: string) => void; isRunning: boolean; } const EXAMPLE_WORKFLOWS = [ { title: 'E-commerce Operations Chaos', flow: 'Orders come from Shopify → Team manually updates inventory in Excel → Slack message sent to warehouse → Warehouse updates delivery status manually → Customer support manually handles delays', }, { title: 'Hospital Approval Workflow', flow: 'Patient fills intake form → Reception manually verifies insurance → Doctor manually reviews reports → Lab sends PDF reports by email → Admin manually updates billing', }, { title: 'Hiring Workflow Mess', flow: 'Resume comes from LinkedIn → HR manually shortlists candidates → Interview scheduling via WhatsApp → Feedback collected in Google Sheets → Offer approval delayed manually', }, { title: 'Startup Support Workflow', flow: 'Customer submits issue → Support team checks CRM manually → Engineering gets pinged in Slack → Fix status tracked in Notion → Customer gets manual update email', }, ]; const containerVariants = { hidden: {}, visible: { transition: { staggerChildren: 0.14, }, }, }; const fadeUp = { hidden: { opacity: 0, y: 30, }, visible: { opacity: 1, y: 0, transition: { duration: 0.7, ease: 'easeOut', }, }, }; export default function HeroSection({ onSubmit, isRunning, }: HeroSectionProps) { return (
{/* EYEBROW */}
WORKFLOW REDESIGN ENGINE
{/* TITLE */}

SYSTEM FORGE

Messy Workflow → AI-Native Architecture
{/* TAGLINE */} Transform approvals, spreadsheets, manual handoffs, broken operations, and disconnected systems into scalable production-grade AI workflows powered by{' '} AMD-accelerated Qwen models . {/* AGENT FLOW */} {[ { num: '01', title: 'ARCHITECT', color: '#00D4FF', }, { num: '02', title: 'CRITIC', color: '#FFB800', }, { num: '03', title: 'REFINER', color: '#00FF9C', }, ].map((item, index) => (
{item.num}
{item.title}
{index < 2 && (
)}
))}
{/* WORKFLOW BUILDER */} onSubmit(steps.join(' → ')) } isRunning={isRunning} onWorkflowSelect={() => { }} onWorkflowChange={() => { }} /> {/* EXAMPLE WORKFLOWS */}
EXAMPLE_MESSY_WORKFLOWS
{EXAMPLE_WORKFLOWS.map((item, index) => (
{item.title}
{item.flow}
))}
); }