diff --git a/app/_components/Project/ImageCard.tsx b/app/_components/Project/ImageCard.tsx
new file mode 100644
index 0000000..a055523
--- /dev/null
+++ b/app/_components/Project/ImageCard.tsx
@@ -0,0 +1,99 @@
+"use client";
+
+import { TProject } from "@/app/types";
+import { cn } from "@/lib/utils";
+import { motion } from "framer-motion";
+import { ArrowUpRight, Github } from "lucide-react";
+import Image from "next/image";
+import Link from "next/link";
+import React from "react";
+
+export default function ImageCard({
+ isOdd,
+ project,
+}: {
+ isOdd: boolean;
+ project: TProject;
+}) {
+ const [activeCard, setActiveCard] = React.useState(false);
+
+ const handleMouseEnter = () => {
+ setActiveCard(true);
+ };
+
+ const handleMouseLeave = () => {
+ setActiveCard(false);
+ };
+
+ return (
+ <>
+ {project.linkToGH ? (
+
+
+
+
+
+
+
+
+ View on Github
+
+
+
+ Live Url Here
+
+
+
+
+ ) : (
+
+
+
+ )}
+ >
+ );
+}
diff --git a/app/_components/Project/ProjectCard.tsx b/app/_components/Project/ProjectCard.tsx
index 17b82a7..b46070d 100644
--- a/app/_components/Project/ProjectCard.tsx
+++ b/app/_components/Project/ProjectCard.tsx
@@ -2,9 +2,9 @@
import React from "react";
import Image from "next/image";
import TiltCard from "../Utils/TiltCard";
-import { cn } from "@/lib/utils";
import { TProject } from "../../types";
import Link from "next/link";
+import ImageCard from "./ImageCard";
const ProjectCard = ({
isOdd,
@@ -23,31 +23,9 @@ const ProjectCard = ({
export default ProjectCard;
-function ImageCard({ isOdd, project }: { isOdd: boolean; project: TProject }) {
- return (
-
-
-
- );
-}
-
function InfoCardWithTilt({ project }: { project: TProject }) {
return (
-
+