// components/portfolio/PortfolioProjectDetails.tsx import { motion } from "framer-motion"; import { Badge } from "@/components/ui/badge"; import { Code, ShoppingCart, Calendar, Users, Smartphone } from "lucide-react"; interface Technology { name: string; icon: React.ReactNode; } interface ProjectDetails { technologies: Technology[]; industries: string[]; duration: string; teamSize: string; platforms: string[]; } interface PortfolioProjectDetailsProps { title?: string; description?: string; details: ProjectDetails; achievements?: Array<{ label: string; value: string; description: string; }>; } export const PortfolioProjectDetails = ({ title = "Project Details", description = "Detailed overview of the project including technologies, timeline, and team composition.", details, achievements = [] }: PortfolioProjectDetailsProps) => { return (
{/* Background Elements */}
{/* Section Header */}

{title}

{description}

{/* Project Meta Information Grid */} {/* Technologies & Industries Card */}
{/* Technologies */}

Technologies

{details.technologies.map((tech) => ( {tech.icon} {tech.name} ))}
{/* Industries */}

Industries

{details.industries.map((industry) => ( {industry} ))}
{/* Timeline & Team Card */}
{/* Duration */}

Project Timeline

{details.duration}

{/* Team */}

Team Composition

{details.teamSize}

{/* Platforms */}

Target Platforms

{details.platforms.map((platform) => ( {platform} ))}
{/* Key Achievements Section */} {achievements.length > 0 && (

Key Impact & Results

Measurable outcomes that demonstrate the project's success

{achievements.map((achievement, index) => ( {/* Card Background Gradient */}
{/* Content */}
{/* Value */}
{achievement.value}
{/* Label */}
{achievement.label}
{/* Description */}
{achievement.description}
{/* Hover Effect Line */}
))}
)}
); };