diff --git a/src/app/components/ProjectCard.jsx b/src/app/components/ProjectCard.jsx index adbf7349..9006181f 100644 --- a/src/app/components/ProjectCard.jsx +++ b/src/app/components/ProjectCard.jsx @@ -10,18 +10,18 @@ const ProjectCard = ({ imgUrl, title, description, gitUrl, previewUrl }) => { style={{ background: `url(${imgUrl})`, backgroundSize: "cover" }} >
- - - } + {previewUrl && - + }
diff --git a/src/app/components/ProjectsSection.jsx b/src/app/components/ProjectsSection.jsx index 772ede66..f9d2159b 100644 --- a/src/app/components/ProjectsSection.jsx +++ b/src/app/components/ProjectsSection.jsx @@ -11,8 +11,8 @@ const projectsData = [ description: "Project 1 description", image: "/images/projects/1.png", tag: ["All", "Web"], - gitUrl: "/", - previewUrl: "/", + gitUrl: "", + previewUrl: "", }, { id: 2, @@ -20,8 +20,8 @@ const projectsData = [ description: "Project 2 description", image: "/images/projects/2.png", tag: ["All", "Web"], - gitUrl: "/", - previewUrl: "/", + gitUrl: "", + previewUrl: "", }, { id: 3, @@ -29,8 +29,8 @@ const projectsData = [ description: "Project 3 description", image: "/images/projects/3.png", tag: ["All", "Web"], - gitUrl: "/", - previewUrl: "/", + gitUrl: "", + previewUrl: "", }, { id: 4, @@ -38,8 +38,8 @@ const projectsData = [ description: "Project 4 description", image: "/images/projects/4.png", tag: ["All", "Mobile"], - gitUrl: "/", - previewUrl: "/", + gitUrl: "", + previewUrl: "", }, { id: 5, @@ -47,8 +47,8 @@ const projectsData = [ description: "Authentication and CRUD operations", image: "/images/projects/5.png", tag: ["All", "Web"], - gitUrl: "/", - previewUrl: "/", + gitUrl: "", + previewUrl: "", }, { id: 6, @@ -56,8 +56,8 @@ const projectsData = [ description: "Project 5 description", image: "/images/projects/6.png", tag: ["All", "Web"], - gitUrl: "/", - previewUrl: "/", + gitUrl: "", + previewUrl: "", }, ];