// components/PortfolioDevelopmentProcess.tsx import { motion } from "framer-motion"; import { ReactNode } from "react"; interface Phase { icon: ReactNode; phase: string; duration: string; description: string; } interface PortfolioDevelopmentProcessProps { title: string; subtitle: string; phases: Phase[]; } export function PortfolioDevelopmentProcess({ title, subtitle, phases, }: PortfolioDevelopmentProcessProps) { return (
{/* Section Heading */}

{title}

{subtitle}

{/* Phases Grid */}
{phases.map((phase, index) => (
{phase.icon}

{phase.phase}

{phase.duration}

{phase.description}

{/* Connector Line */} {index < phases.length - 1 && (
)} ))}
); }