From 86b29fc612aed81466f44141a17f30f2e4bce701 Mon Sep 17 00:00:00 2001 From: Gabriel372 Date: Tue, 21 May 2024 09:47:53 -0300 Subject: [PATCH] update --- src/components/AboutMe.tsx | 4 +--- src/components/MyProjects.tsx | 6 ++---- src/components/Project.tsx | 4 ++-- src/types/Types.tsx | 1 + 4 files changed, 6 insertions(+), 9 deletions(-) diff --git a/src/components/AboutMe.tsx b/src/components/AboutMe.tsx index 10f7f28..e63d65d 100644 --- a/src/components/AboutMe.tsx +++ b/src/components/AboutMe.tsx @@ -14,8 +14,6 @@ const [CursorIsVisible,setCursorIsVisible] = useState(false) const {ThemeIsDark} = useContext(MyContext) as TstateTheme ; const ThemeForCursor = `${ThemeIsDark ? 'bg-gray-300' : 'bg-gray-600'}` - - useEffect(()=>{ const Interval = setInterval(()=>setCursorIsVisible((prev)=>!prev),700); return ()=> clearInterval(Interval) @@ -43,7 +41,7 @@ return (
- image + image
diff --git a/src/components/MyProjects.tsx b/src/components/MyProjects.tsx index ee5d0be..e3bd6d6 100644 --- a/src/components/MyProjects.tsx +++ b/src/components/MyProjects.tsx @@ -17,10 +17,8 @@ return (

Meus projetos

    -{ListProjects.map((item)=>( ))} -{/* */} -{/* */} - +{ListProjects.map((item,index)=>( +
  • ))}
diff --git a/src/components/Project.tsx b/src/components/Project.tsx index 8227eb6..13e239c 100644 --- a/src/components/Project.tsx +++ b/src/components/Project.tsx @@ -47,7 +47,7 @@ return '' } return ( -
  • +
    @@ -94,6 +94,6 @@ className=' bg-black text-white rounded-lg px-2 flex flex-row items-center py-2
    -
  • + ) } export default Project ; diff --git a/src/types/Types.tsx b/src/types/Types.tsx index a39694a..8f3ad22 100644 --- a/src/types/Types.tsx +++ b/src/types/Types.tsx @@ -29,6 +29,7 @@ linkRepository:string } export type TprojectReceived = { item:Tproject +// index:number }