"use client"; import { useCaseStudy } from "@/lib/hooks/useCaseStudy"; interface ProcessProps { slug: string; } const Process = ({ slug }: ProcessProps) => { const { caseStudy, loading } = useCaseStudy(slug); if (loading || !caseStudy || !caseStudy.process_steps || caseStudy.process_steps.length === 0) { return null; } const processSteps = caseStudy.process_steps; return (

Implementation Process

{caseStudy.excerpt || 'Our systematic approach ensures successful project delivery.'}

{processSteps.map((step, index) => (
{String(step.step_number).padStart(2, '0')}

{step.title}

{step.description}

{index < processSteps.length - 1 && (
)}
))}
); }; export default Process;