diff --git a/src/app/page.tsx b/src/app/page.tsx index acaa4ac..b16110d 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -10,9 +10,46 @@ import ProductCardThree from '@/components/sections/product/ProductCardThree'; import SocialProofOne from '@/components/sections/socialProof/SocialProofOne'; import ContactCTA from '@/components/sections/contact/ContactCTA'; import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis'; -import { Award, Briefcase, Code2, Mail, Zap } from 'lucide-react'; +import { Award, Briefcase, Code2, Mail, Zap, Github, ExternalLink } from 'lucide-react'; +import { useState } from 'react'; + +interface ProjectDetails { + id: string; + name: string; + github?: string; + techStack: string[]; + outcomes: string[]; +} + +const projectDetailsMap: Record = { + "1": { + id: "1", name: "Real-Time Data Pipeline Optimization", github: "https://github.com", techStack: ["Apache Spark", "Microsoft Fabric", "Azure Data Factory", "Python"], + outcomes: ["35% pipeline performance improvement", "Enterprise-scale data processing", "Automated ETL orchestration"] + }, + "2": { + id: "2", name: "SMI-GNN Drug Interaction Prediction", github: "https://github.com", techStack: ["TensorFlow", "Graph Neural Networks", "Python", "PyTorch"], + outcomes: ["High-accuracy molecular interaction predictions", "Research publication ready", "Novel GNN architecture implementation"] + }, + "3": { + id: "3", name: "Advanced Analytics Dashboard", github: "https://github.com", techStack: ["Power BI", "React", "TypeScript", "Azure SQL"], + outcomes: ["Production-ready analytics platform", "Real-time data visualization", "100+ concurrent users support"] + } +}; export default function LandingPage() { + const [selectedProject, setSelectedProject] = useState(null); + + const handleProjectClick = (projectId: string) => { + const project = projectDetailsMap[projectId]; + if (project) { + setSelectedProject(project); + } + }; + + const handleCloseModal = () => { + setSelectedProject(null); + }; + return ( handleProjectClick("1") }, { - id: "2", name: "SMI-GNN Drug Interaction Prediction", price: "Research Focus", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AphEdZwP4PlHv0KCb4JmqyDqxO/molecular-structure-visualization-with-g-1773295366007-01f1dd8e.png", imageAlt: "Molecular graph neural network" + id: "2", name: "SMI-GNN Drug Interaction Prediction", price: "Research Focus", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AphEdZwP4PlHv0KCb4JmqyDqxO/molecular-structure-visualization-with-g-1773295366007-01f1dd8e.png", imageAlt: "Molecular graph neural network", onProductClick: () => handleProjectClick("2") }, { - id: "3", name: "Advanced Analytics Dashboard", price: "Production Ready", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AphEdZwP4PlHv0KCb4JmqyDqxO/modern-data-pipeline-dashboard-with-colo-1773295366417-e08aedfa.png", imageAlt: "Analytics dashboard interface" + id: "3", name: "Advanced Analytics Dashboard", price: "Production Ready", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AphEdZwP4PlHv0KCb4JmqyDqxO/modern-data-pipeline-dashboard-with-colo-1773295366417-e08aedfa.png", imageAlt: "Analytics dashboard interface", onProductClick: () => handleProjectClick("3") } ]} ariaLabel="Projects section" /> + + {selectedProject && ( +
+
e.stopPropagation()}> +
+
+

{selectedProject.name}

+ +
+ +
+

+ + GitHub Repository +

+ {selectedProject.github ? ( + + {selectedProject.github} + + + ) : ( +

GitHub link coming soon

+ )} +
+ +
+

Tech Stack

+
+ {selectedProject.techStack.map((tech, index) => ( + + {tech} + + ))} +
+
+ +
+

Key Outcomes

+
    + {selectedProject.outcomes.map((outcome, index) => ( +
  • + + {outcome} +
  • + ))} +
+
+ + +
+
+
+ )}