import { motion } from 'framer-motion' import { ExternalLink } from 'lucide-react' import { useScrollReveal } from '@/hooks/useScrollReveal' import type { Project as ProjectType } from '@/types' const projectsData: ProjectType[] = [ { title: 'PharMetrics', description: 'Real-time medicines expenditure dashboard providing actionable analytics for NHS decision-makers.', link: 'https://medicines.charlwood.xyz/', }, { title: 'Patient Pathway Analysis', description: 'Data-driven analysis of patient pathways to identify optimisation opportunities and improve clinical outcomes.', }, { title: 'Blueteq Generator', description: 'Automation tool reducing high-cost drug approval processing time by 70%, saving 200+ hours annually.', }, { title: 'NMS Video', description: 'Educational video resource supporting New Medicine Service consultations, improving patient engagement.', }, ] const ProjectCard = ({ project, delay, isVisible, }: { project: ProjectType delay: number isVisible: boolean }) => { return (

{project.title}

{project.description}

{project.link && ( Visit Project )} ) } export function Projects() { const [sectionRef, isVisible] = useScrollReveal({ threshold: 0.1, }) return (
Projects
{projectsData.map((project, index) => ( ))}
) }