"use client" import { ExternalLink, Github, Star } from "lucide-react" import Link from "next/link" import { useDataStore } from "@/lib/data-store" export function Projects() { const { projects } = useDataStore() const featuredProject = projects.find((p) => p.featured) const otherProjects = projects.filter((p) => !p.featured) return (
{/* Section label */}

Projects

{/* Content */}
{/* Featured project */} {featuredProject && (
Featured

{featuredProject.name}

{featuredProject.role}

{featuredProject.websiteUrl && ( Visit site )}

{featuredProject.description}

{featuredProject.highlights && featuredProject.highlights.length > 0 && (

Key contributions

    {featuredProject.highlights.map((highlight, i) => (
  • {highlight}
  • ))}
)}
{featuredProject.stack.map((tech) => ( {tech} ))}
)} {/* Other projects */} {otherProjects.length > 0 && (

Other projects

{otherProjects.map((project) => (

{project.name}

{project.description}

{project.stack.map((tech) => ( {tech} ))}
{project.githubUrl && ( )}
))}
)}
) }