import "../link.css"; import { useState, useEffect } from "react"; import Image from "@/profile.avif"; import Timeline from "@/components/TimeLine"; import Contact from "@/components/Contact"; import Projects from "@/components/Projects"; import Seperator from "@/components/Seperator"; export function Page() { const [age, setAge] = useState(0); const [post, setPost] = useState({}); useEffect(() => { const scrollToHash = () => { const hash = window.location.hash.substring(1); if (hash) { const element = document.getElementById(hash); if (element) { setTimeout(() => { element.scrollIntoView({ behavior: "smooth" }); }, 100); } } }; scrollToHash(); }, []); useEffect(() => { // 나이 계산 const referenceDate = new Date(2010, 10, 8); const currentDate = new Date(); let calculatedAge = currentDate.getFullYear() - referenceDate.getFullYear(); if (currentDate < new Date(currentDate.getFullYear(), referenceDate.getMonth(), referenceDate.getDate())) { calculatedAge -= 1; } setAge(calculatedAge); }, []); useEffect(() => { // 블로그 데이터 가져오기 const fetchBlogData = async () => { try { const response = await fetch("https://api.imnya.ng/rss"); const data = await response.json(); if (data) { setPost(data[0] || {}); } } catch (error) { console.error("Error fetching posts:", error); } }; fetchBlogData(); }, []); return (

me@imnya.ng

항상 새로운 것을 찾고 삶을 더{" "} 간단명료하게 만들고 있는 학생 개발자{" "} 남현석입니다.

만든 것들은{" "} Two Hearts ,{" "} 오늘 인천상정중학교 ,{" "} Dynamic Kawaii {" "} 이런 것들이 있습니다.

프로필 이미지

{age}살의 어린 나이지만, 저는 항상{" "} 최적의 코드를 목표로 하며,
사용자 경험을 중심적으로 고민합니다.
또한 새로운 기술에 대한 관심이 높습니다.

초등학교 시절 운영체제에 흥미를 느껴 컴퓨터를 시작했고, 이후 프로그래밍에 관심을 갖게 되었습니다.
초등학교 4학년 때 Python으로 프로그래밍을 시작했으며, 현재는 TypeScript를 주로 사용합니다.
최근에는 정보보안 분야 중 웹 해킹에 관심이 많습니다.

기술 스택
{post.title && (

최근 블로그 글:{" "} {post.title}

)}
); }