"use client"; import { projects } from "@/lib/data"; import Image from "next/image"; import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, } from "@/components/ui/card"; import { Badge } from "@/components/ui/badge"; import { Button } from "@/components/ui/button"; import { Github, BarChart, Presentation } from "lucide-react"; const getProjectIcon = (id: number) => { switch (id) { case 1: return ; case 2: return ; default: return null; } }; const projectImages: { [key: number]: { src: string; alt: string, hint: string } } = { 1: { src: "https://raw.githubusercontent.com/sameerbanchhor-git/assets/main/Customer%20Churn%20Prediction.png", alt: "Customer Churn Prediction project visual", hint: "churn prediction" }, 2: { src: "https://raw.githubusercontent.com/sameerbanchhor-git/assets/main/Real-Time%20Sentiment%20Analysis.jpg", alt: "Real-Time Sentiment Analysis project visual", hint: "sentiment analysis" }, }; export function Projects() { return (

My Projects

Here are some of the projects I've worked on to apply and showcase my skills in data science.

{projects.map((project) => ( {getProjectIcon(project.id)}
{project.title} {project.outcomes}

{project.description}

Methodologies:

{project.methodologies.map((method) => ( {method} ))}
{projectImages[project.id] && ( {projectImages[project.id].alt} )}
))}
); }