From 858b659b52838854c0a0370fe9b72153d8c59110 Mon Sep 17 00:00:00 2001 From: Murtadha Date: Mon, 15 Jul 2024 13:15:28 -0400 Subject: [PATCH] Move ProjectCard to Projects as one entity, Add projectModal feature --- src/App.jsx | 16 ++++ src/components/projects/Projects.jsx | 30 +++++++ src/components/projects/Projects.module.css | 28 ++++++ .../projects/projectCard/ProjectCard.jsx | 16 ++++ .../projectCard/ProjectCard.module.css | 38 ++++++++ .../projects/projectModal/ProjectModal.jsx | 60 +++++++++++++ .../projectModal/ProjectModal.module.css | 90 +++++++++++++++++++ version.txt | 2 +- 8 files changed, 279 insertions(+), 1 deletion(-) create mode 100644 src/components/projects/projectCard/ProjectCard.jsx create mode 100644 src/components/projects/projectCard/ProjectCard.module.css create mode 100644 src/components/projects/projectModal/ProjectModal.jsx create mode 100644 src/components/projects/projectModal/ProjectModal.module.css diff --git a/src/App.jsx b/src/App.jsx index 2841958..f937fb7 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -7,6 +7,7 @@ import Hero from "./components/hero/Hero"; // import Experience from "./components/experience/Experience"; import InfoSection from "./components/info/InfoSection"; import Separator from "./components/separater/Separater"; +import Projects from "./components/projects/Projects"; import styles from "./App.module.css"; @@ -109,6 +110,20 @@ const experienceData = [ }, ]; +const projectsData = [ + { + id: 1, + title: "Project 1", + images: ["/path/to/project1-image1.jpg", "/path/to/project1-image2.jpg"], + description: "A brief description of Project 1.", + technologies: ["React", "Node.js", "MongoDB"], + features: ["User authentication", "Real-time data updates", "Responsive design"], + githubLink: "https://github.com/yourusername/project1", + liveLink: "https://project1-demo.com", + }, + // Add more projects... +]; + function App() { return (
@@ -131,6 +146,7 @@ function App() { + {/* Add more sections as needed */}