diff --git a/app/page.tsx b/app/page.tsx index cd8c797..6ac80dc 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -118,12 +118,17 @@ const Portfolio = () => { 'Python for Data Science, AI & Development' ]; - const scrollToSection = (sectionId) => { + const scrollToSection = (sectionId: string) => { document.getElementById(sectionId)?.scrollIntoView({ behavior: 'smooth' }); setActiveSection(sectionId); }; - const ProjectGallery = ({ project, onClose }) => ( + type Project = typeof projects[number]; + interface ProjectGalleryProps { + project: Project; + onClose: () => void; + } + const ProjectGallery: React.FC = ({ project, onClose }) => (