import React from "react"; import { motion } from "framer-motion"; import { CheckCircle } from "lucide-react"; interface Challenge { icon: React.ReactNode; title: string; description: string; } interface Technology { icon: React.ReactNode; label: string; } interface Highlight { text: string; } interface PortfolioChallengeSolutionProps { challengesTitle?: string; challenges: Challenge[]; solutionTitle?: string; technologyStack: Technology[]; highlights: Highlight[]; } const PortfolioChallengeSolution: React.FC = ({ challengesTitle = "Challenges & Constraints", challenges, solutionTitle = "Solution Architecture", technologyStack, highlights, }) => { return (
{/* Challenges */}

{challengesTitle}

{challenges.map((challenge, index) => (
{challenge.icon}

{challenge.title}

{challenge.description}

))}
{/* Solution Architecture */}

{solutionTitle}

Technology Stack

{technologyStack.map((tech, idx) => (
{tech.icon} {tech.label}
))}

Key Highlights

{highlights.map((item, idx) => (
{item.text}
))}
); }; export default PortfolioChallengeSolution;