홈페이제

This commit is contained in:
2025-10-29 21:51:24 +09:00
parent b2103a73e6
commit 679bc77403

View File

@@ -1,9 +1,160 @@
import Image from "next/image";
import Link from "next/link";
export default function Home() {
return (
<div className="h-screen- bg-red-500">
homepage
<div className="min-h-screen bg-white">
{/* 헤더 */}
<header className="bg-white shadow-sm sticky top-0 z-50">
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div className="flex justify-between items-center h-16">
<div className="flex items-center">
<h1 className="text-2xl font-bold text-blue-600">XR LMS</h1>
</div>
<nav className="hidden md:flex space-x-8">
<Link href="#" className="text-gray-700 hover:text-blue-600 transition"></Link>
<Link href="#" className="text-gray-700 hover:text-blue-600 transition"></Link>
<Link href="#" className="text-gray-700 hover:text-blue-600 transition"></Link>
<Link href="#" className="text-gray-700 hover:text-blue-600 transition"></Link>
</nav>
<div className="flex items-center space-x-4">
<Link
href="/login"
className="px-4 py-2 bg-blue-500 text-white rounded-md hover:bg-blue-600 transition"
>
</Link>
</div>
</div>
</div>
</header>
{/* 히어로 섹션 */}
<section className="bg-gradient-to-r from-blue-600 to-purple-600 text-white py-20">
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 text-center">
<h2 className="text-5xl font-bold mb-6">
XR
</h2>
<p className="text-xl mb-8 text-blue-100">
</p>
<div className="flex justify-center space-x-4">
<Link
href="/login"
className="px-8 py-3 bg-white text-blue-600 rounded-lg font-semibold hover:bg-gray-100 transition"
>
</Link>
<button className="px-8 py-3 bg-transparent border-2 border-white text-white rounded-lg font-semibold hover:bg-white hover:text-blue-600 transition">
</button>
</div>
</div>
</section>
{/* 주요 기능 */}
<section className="py-20 bg-gray-50">
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<h3 className="text-3xl font-bold text-center mb-12"> </h3>
<div className="grid md:grid-cols-3 gap-8">
<div className="bg-white p-6 rounded-lg shadow-md hover:shadow-lg transition">
<div className="w-12 h-12 bg-blue-100 rounded-lg flex items-center justify-center mb-4">
<svg className="w-6 h-6 text-blue-600" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M12 6.253v13m0-13C10.832 5.477 9.246 5 7.5 5S4.168 5.477 3 6.253v13C4.168 18.477 5.754 18 7.5 18s3.332.477 4.5 1.253m0-13C13.168 5.477 14.754 5 16.5 5c1.747 0 3.332.477 4.5 1.253v13C19.832 18.477 18.247 18 16.5 18c-1.746 0-3.332.477-4.5 1.253" />
</svg>
</div>
<h4 className="text-xl font-semibold mb-2"> </h4>
<p className="text-gray-600">
XR
</p>
</div>
<div className="bg-white p-6 rounded-lg shadow-md hover:shadow-lg transition">
<div className="w-12 h-12 bg-purple-100 rounded-lg flex items-center justify-center mb-4">
<svg className="w-6 h-6 text-purple-600" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M17 20h5v-2a3 3 0 00-5.356-1.857M17 20H7m10 0v-2c0-.656-.126-1.283-.356-1.857M7 20H2v-2a3 3 0 015.356-1.857M7 20v-2c0-.656.126-1.283.356-1.857m0 0a5.002 5.002 0 019.288 0M15 7a3 3 0 11-6 0 3 3 0 016 0zm6 3a2 2 0 11-4 0 2 2 0 014 0zM7 10a2 2 0 11-4 0 2 2 0 014 0z" />
</svg>
</div>
<h4 className="text-xl font-semibold mb-2"></h4>
<p className="text-gray-600">
</p>
</div>
<div className="bg-white p-6 rounded-lg shadow-md hover:shadow-lg transition">
<div className="w-12 h-12 bg-green-100 rounded-lg flex items-center justify-center mb-4">
<svg className="w-6 h-6 text-green-600" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M9 19v-6a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2a2 2 0 002-2zm0 0V9a2 2 0 012-2h2a2 2 0 012 2v10m-6 0a2 2 0 002 2h2a2 2 0 002-2m0 0V5a2 2 0 012-2h2a2 2 0 012 2v14a2 2 0 01-2 2h-2a2 2 0 01-2-2z" />
</svg>
</div>
<h4 className="text-xl font-semibold mb-2"> </h4>
<p className="text-gray-600">
</p>
</div>
</div>
</div>
</section>
{/* 인기 강의 */}
<section className="py-20">
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<h3 className="text-3xl font-bold text-center mb-12"> </h3>
<div className="grid md:grid-cols-4 gap-6">
{[1, 2, 3, 4].map((item) => (
<div key={item} className="bg-white rounded-lg shadow-md overflow-hidden hover:shadow-lg transition cursor-pointer">
<div className="h-48 bg-gradient-to-br from-blue-400 to-purple-500"></div>
<div className="p-4">
<h4 className="font-semibold mb-2">XR {item}</h4>
<p className="text-sm text-gray-600 mb-2"> {item * 10} </p>
<div className="flex items-center justify-between">
<span className="text-blue-600 font-semibold"></span>
<span className="text-yellow-500"> 4.{item + 5}</span>
</div>
</div>
</div>
))}
</div>
</div>
</section>
{/* 푸터 */}
<footer className="bg-gray-900 text-white py-12">
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div className="grid md:grid-cols-4 gap-8">
<div>
<h4 className="text-xl font-bold mb-4">XR LMS</h4>
<p className="text-gray-400 text-sm">
</p>
</div>
<div>
<h5 className="font-semibold mb-4"></h5>
<ul className="space-y-2 text-sm text-gray-400">
<li><Link href="#" className="hover:text-white transition"> </Link></li>
<li><Link href="#" className="hover:text-white transition"></Link></li>
<li><Link href="#" className="hover:text-white transition"> </Link></li>
</ul>
</div>
<div>
<h5 className="font-semibold mb-4"></h5>
<ul className="space-y-2 text-sm text-gray-400">
<li><Link href="#" className="hover:text-white transition"></Link></li>
<li><Link href="#" className="hover:text-white transition">FAQ</Link></li>
<li><Link href="#" className="hover:text-white transition"></Link></li>
</ul>
</div>
<div>
<h5 className="font-semibold mb-4"></h5>
<ul className="space-y-2 text-sm text-gray-400">
<li><Link href="#" className="hover:text-white transition"></Link></li>
<li><Link href="#" className="hover:text-white transition"></Link></li>
<li><Link href="#" className="hover:text-white transition"></Link></li>
</ul>
</div>
</div>
<div className="mt-8 pt-8 border-t border-gray-800 text-center text-sm text-gray-400">
© 2024 XR LMS. All rights reserved.
</div>
</div>
</footer>
</div>
);
}