Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/app/components/ProjectCard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@ const ProjectCard = ({ imgUrl, title, description, gitUrl, previewUrl }) => {
style={{ background: `url(${imgUrl})`, backgroundSize: "cover" }}
>
<div className="overlay items-center justify-center absolute top-0 left-0 w-full h-full bg-[#181818] bg-opacity-0 hidden group-hover:flex group-hover:bg-opacity-80 transition-all duration-500 ">
<Link
{gitUrl && <Link
href={gitUrl}
className="h-14 w-14 mr-2 border-2 relative rounded-full border-[#ADB7BE] hover:border-white group/link"
>
<CodeBracketIcon className="h-10 w-10 text-[#ADB7BE] absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 cursor-pointer group-hover/link:text-white" />
</Link>
<Link
</Link>}
{previewUrl && <Link
href={previewUrl}
className="h-14 w-14 border-2 relative rounded-full border-[#ADB7BE] hover:border-white group/link"
>
<EyeIcon className="h-10 w-10 text-[#ADB7BE] absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 cursor-pointer group-hover/link:text-white" />
</Link>
</Link>}
</div>
</div>
<div className="text-white rounded-b-xl mt-3 bg-[#181818]py-6 px-4">
Expand Down
24 changes: 12 additions & 12 deletions src/app/components/ProjectsSection.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,53 +11,53 @@ const projectsData = [
description: "Project 1 description",
image: "/images/projects/1.png",
tag: ["All", "Web"],
gitUrl: "/",
previewUrl: "/",
gitUrl: "",
previewUrl: "",
},
{
id: 2,
title: "Potography Portfolio Website",
description: "Project 2 description",
image: "/images/projects/2.png",
tag: ["All", "Web"],
gitUrl: "/",
previewUrl: "/",
gitUrl: "",
previewUrl: "",
},
{
id: 3,
title: "E-commerce Application",
description: "Project 3 description",
image: "/images/projects/3.png",
tag: ["All", "Web"],
gitUrl: "/",
previewUrl: "/",
gitUrl: "",
previewUrl: "",
},
{
id: 4,
title: "Food Ordering Application",
description: "Project 4 description",
image: "/images/projects/4.png",
tag: ["All", "Mobile"],
gitUrl: "/",
previewUrl: "/",
gitUrl: "",
previewUrl: "",
},
{
id: 5,
title: "React Firebase Template",
description: "Authentication and CRUD operations",
image: "/images/projects/5.png",
tag: ["All", "Web"],
gitUrl: "/",
previewUrl: "/",
gitUrl: "",
previewUrl: "",
},
{
id: 6,
title: "Full-stack Roadmap",
description: "Project 5 description",
image: "/images/projects/6.png",
tag: ["All", "Web"],
gitUrl: "/",
previewUrl: "/",
gitUrl: "",
previewUrl: "",
},
];

Expand Down