import { SectionHeading } from '@/components/ui/SectionHeading' import { Link } from "react-router" import { motion } from "motion/react" import { Badge } from "@/components/ui/Badge" import { projects } from "@/data/projects" import { InView } from "@/components/ui/InView" const MotionLink = motion.create(Link) const categoryLabels: Record = { "software-engineering": "Software Engineering", logistics: "Logistics", "ai-ml": "AI / ML", "computer-vision": "Computer Vision", architecture: "Architecture", experiment: "Experiment", } export function Projects() { const featured = projects.filter((p) => p.featured).slice(0, 4) return ( View All →
{featured.map((project, i) => (

{project.title}

{categoryLabels[project.category] || project.category}

{project.summary}

{project.technologies.slice(0, 4).map((tech) => ( {tech} ))}
{project.metrics && project.metrics.length > 0 && (
{project.metrics.map((m) => ( {m} ))}
)} View Details →
))}
) }