diff --git a/src/components/Home/About.tsx b/src/components/Home/About.tsx index 47c1aac..4f20537 100644 --- a/src/components/Home/About.tsx +++ b/src/components/Home/About.tsx @@ -1,5 +1,4 @@ import { useEffect, useState } from "react"; -import { Card, CardContent, CardHeader } from "../ui/card"; export default function About() { const [time, setTime] = useState(""); diff --git a/src/components/Home/AboutOld.tsx b/src/components/Home/AboutOld.tsx deleted file mode 100644 index 58b6f2a..0000000 --- a/src/components/Home/AboutOld.tsx +++ /dev/null @@ -1,43 +0,0 @@ -import { useEffect, useState } from "react"; - -export default function About() { - const [posts, setPosts] = useState([]); - - useEffect(() => { - fetch("https://api.imnya.ng/rss", { - method: "GET", - headers: { - "Content-Type": "application/json" - } - }) - .then(response => response.json()) - .then(data => { - if (data) { - setPosts(data.slice(0, 3)); - } else { - console.error("Error: data is undefined"); - } - }) - .catch(error => console.error("Error fetching posts:", error)); - }, []); - - return ( -
-
-

πŸ€” About

-

μ•ˆλ…•ν•˜μ„Έμš”! μ €λŠ” μ•”λƒ₯μ΄λΌλŠ” μ΄λ¦„μœΌλ‘œ ν™œλ™ν•˜κ³  μžˆλŠ” 학생 개발자 λ‚¨ν˜„μ„μž…λ‹ˆλ‹€.

-

With Sqlare, TEAM. ORYGON:IX

-
-
- 졜근 λΈ”λ‘œκ·Έ κΈ€ -
    - {posts.map((post, index) => ( -
  • - {post.title} -
  • - ))} -
-
-
- ); -} \ No newline at end of file diff --git a/src/components/Home/Top.tsx b/src/components/Home/Top.tsx index c4880bd..5c45f48 100644 --- a/src/components/Home/Top.tsx +++ b/src/components/Home/Top.tsx @@ -1,5 +1,6 @@ import { useState } from "react"; import "../../index.css"; +import Image from "@/profile.avif"; export default function Top() { const [mousePos, setMousePos] = useState({ x: 50, y: 50 }); @@ -49,7 +50,7 @@ export default function Top() { onWheel={handleWheel} >