import { motion } from "framer-motion"; import { useRef } from "react"; import { ArrowRight, FileText, Users, CheckCircle, Rocket, Search, Code, Palette, Monitor, } from "lucide-react"; import { Button } from "./ui/button"; import { Badge } from "./ui/badge"; import { useNavigate } from "react-router-dom"; const steps = [ { id: "step-1", title: "1. Define Scope", description: "We start by gathering project data and requirements, defining the project goals, creating technical documentation, and aligning these with the client’s expectations.", visual: { type: "icon_or_doc_mockup", style: "minimal_ui", }, }, { id: "step-2", title: "2. Design UI/UX", description: "Using Figma, our designers craft user-centric interfaces that feature clickable flows, visual systems, and detailed wireframes for work across all screens.", tags: [ { label: "Wireframes", color: "#6366F1" }, { label: "Prototyping", color: "#10B981" }, { label: "UI System", color: "#F59E0B" }, ], }, { id: "step-3", title: "3. Development with Agile Sprints", description: "Using Agile sprints, we turn designs into production-ready code that supports continuous integration and weekly builds.", tags: [ { label: "Frontend", color: "#3B82F6" }, { label: "Backend", color: "#0EA5E9" }, { label: "APIs", color: "#8B5CF6" }, ], }, { id: "step-4", title: "4. Testing, Launch, and Scale", description: "Once we are through with QA and UAT, we launch the app. Then we monitor, iterate, and scale the app to grow alongside your user base and demand.", chat_simulation: [ { from: "You", text: "Are we ready to go live?" }, { from: "Team", text: "Yes! Final tests passed 🚀" }, ], }, ]; // Chat simulation component - Compact version const ChatSimulation = ({ messages, }: { messages: Array<{ from: string; text: string }>; }) => { return (
{messages.map((message, index) => (
{message.from}
{message.text}
))}
); }; // Document mockup component - Compact version const DocumentMockup = () => { return (
{/* Header */}
Project Scope
Draft v1.2
{/* Document sections */}
Requirements Research
); }; // Process step card component const ProcessCard = ({ step, index, }: { step: (typeof steps)[0]; index: number; }) => { const cardRef = useRef(null); const renderContent = () => { if (step.visual?.type === "icon_or_doc_mockup") { return ; } if (step.chat_simulation) { return ; } if (step.tags) { return (
{step.tags.map((tag, tagIndex) => ( {tag.label} ))}
); } return null; }; return (
{/* Header */}
{step.title} {step.description}
{/* Content */} {renderContent()}
); }; export const ProcessSection = () => { const titleRef = useRef(null); const navigate = useNavigate(); return (
{/* Title Section */}
From Ideation to Implementation:{" "} How We Convert Ideas Into Market-Ready Products As a mobile app development company in the USA, we turn the vision you have for your app into reality through expert planning, innovative design, and intuitive engineering.
{/* Cards Grid */}
{steps.map((step, index) => ( ))}
{/* Bottom CTA */}
); };