From 4333943afc82ca227c174692bb1531a429e3a42e Mon Sep 17 00:00:00 2001 From: eksqtr Date: Fri, 30 Aug 2024 20:41:27 +0800 Subject: [PATCH] reverting to img element instead of using next image component due to compatibility issues regarding github direct image url --- src/components/projectsection/project.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/projectsection/project.tsx b/src/components/projectsection/project.tsx index c51797d..b121aa9 100644 --- a/src/components/projectsection/project.tsx +++ b/src/components/projectsection/project.tsx @@ -1,6 +1,6 @@ import { useState, RefObject, useEffect } from 'react'; import { MdOpenInNew } from 'react-icons/md'; -import Image from 'next/image'; +// import Image from 'next/image'; type ProjectProps = { sectionRef: RefObject; @@ -69,7 +69,7 @@ const ProjectsSection = (props: ProjectProps) => { }, []); return ( -
+

Projects

@@ -84,7 +84,7 @@ const ProjectsSection = (props: ProjectProps) => { onClick={() => handleCardClick(index)} >
- {project.title} { ×
- {projects[activeIndex].title}