"use client"; import Link from "next/link"; import { useState } from "react"; // 이미지 상수 const logoImage = "http://localhost:3845/assets/89fda8e949171025b1232bae70fc9d442e4e70c8.png"; const chevronIcon = "/chevron.svg"; const heroImage = "http://localhost:3845/assets/02d8c5116625dec34c335abdf02727a333ee1e42.png"; const lineIcon = "http://localhost:3845/assets/2fbce31172577fb51bb8028f779906af08a2aef0.svg"; // 과목 이미지들 const courseImages = [ "http://localhost:3845/assets/dbcdb3a62893cc1bbf618aaa03d3991209730907.png", "http://localhost:3845/assets/926321498bba6094d98b0306e038328654b5e72c.png", "http://localhost:3845/assets/27a46837f82b972822bc9dc0c568d32bf2ff368a.png", "http://localhost:3845/assets/603bee236c3ff989d503608d3ebe12eea354fefb.png", "http://localhost:3845/assets/b7e4617653e0115d927ad34a0c2e4e7be0cbb3df.png", ]; const courses = [ { title: "원자로 운전 및 계통", image: courseImages[0], hasNew: true }, { title: "방사선 안전", image: courseImages[1], hasNew: true }, { title: "핵 연료", image: courseImages[2], hasNew: true }, { title: "방사선 안전", image: courseImages[3], hasNew: false }, { title: "방사성 폐기물", image: courseImages[4], hasNew: false }, ]; export default function Home() { const [isMobileMenuOpen, setIsMobileMenuOpen] = useState(false); const [isUserMenuOpen, setIsUserMenuOpen] = useState(false); const [isCourseExpanded, setIsCourseExpanded] = useState(false); const [isMoreExpanded, setIsMoreExpanded] = useState(false); const [isNoticeExpanded, setIsNoticeExpanded] = useState(false); return (
{/* 헤더 */}
{/* 로고/메뉴 그룹 */}
{/* Company 로고 */}
XR LMS Logo

XR LMS

{/* 네비게이션 메뉴 */}
{/* 사용자 메뉴 그룹 */}
{/* 모바일 메뉴 */} {isMobileMenuOpen && (
)}
{/* 메인 콘텐츠 영역 - Hero 배너 + 사이드바 */}
{/* Hero 배너 */}
Hero Banner

미래 에너지, 안전의 길을 열다

지속 가능한 내일을 만들어가는 여정, 지금 시작하세요.

{/* 사이드바 */}
{/* 나의 수강현황 */}

나의 수강현황

{[ { value: "4", label: "수강중" }, { value: "12", label: "수강 완료" }, { value: "8", label: "학습 제출" }, { value: "4", label: "수료증" }, ].map((stat, idx) => (

{stat.value}

{stat.label}

))}
{/* 최근 수강 과목 */}

최근 수강 과목

원자로 운전 및 계통
2. 원자로 냉각재 계통 (RCS) 및 열수력

진도율: 40%

{/* 전체 과목 리스트 */}

전체 과목

4

{courses.map((course, idx) => (
{course.title}
{course.hasNew && (

N

)}
{course.title}

영상 44개 · 총 12시간 56분

))}
{/* 공지사항 */}

공지사항

{[ { category: "점검", title: "방사선 폐기 VR 실습 서버 정기점검 안내", date: "2025. 12. 12. (화)" }, { category: "점검", title: "방사선 폐기 VR 실습 서버 정기점검 안내", date: "2025. 12. 12. (화)" }, { category: "점검", title: "방사선 폐기 VR 실습 서버 정기점검 안내", date: "2025. 12. 12. (화)" }, ].map((notice, idx) => (

{notice.category}

{notice.title}

{notice.date}

))}
{/* 푸터 */}
); }