import React from 'react'; import { Link } from 'react-router-dom'; import { motion } from 'framer-motion'; import { ArrowRightIcon } from '@phosphor-icons/react'; const ProjectCard = ({ project, index, isActive, onHover = () => {} }) => { const content = ( <> {/* Active Indicator Line */}
{/* Index / Year */} {String(index + 1).padStart(2, '0')} {/* Title */}

{project.title}

{/* Arrow Interaction */}
); const className = 'group relative flex items-center justify-between border-b border-white/10 py-8 pr-12 transition-all duration-300'; return ( onHover(project)} className="relative mr-4 md:mr-12" > {project.redirect_url ? ( {content} ) : ( {content} )} ); }; export default ProjectCard;