Files
saju-web/app/compatibility/page.tsx
gahusb 08d6f71fd1 feat: 사주 웹사이트 핵심 기능 구현
- 사주팔자 계산 라이브러리 구현 (천간, 지지, 십성, 십이운성)
- 사주 결과 페이지 구현 (사주팔자 표 및 해석)
- 오늘의 운세 페이지 구현 (일일 운세, 행운의 요소)
- 궁합 보기 기능 구현 (두 사람 입력 폼)
- 궁합 결과 페이지 구현 (종합 점수, 세부 분석)
- 페이지 간 네비게이션 연결

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-11 23:36:22 +09:00

101 lines
4.4 KiB
TypeScript

import Link from 'next/link';
import CompatibilityForm from '../components/CompatibilityForm';
export default function CompatibilityPage() {
return (
<div className="min-h-screen bg-gradient-to-br from-pink-50 via-purple-50 to-indigo-50">
{/* Navigation */}
<nav className="bg-white/80 backdrop-blur-md border-b border-gray-200 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">
<Link href="/" className="text-2xl font-bold bg-gradient-to-r from-pink-600 to-purple-600 bg-clip-text text-transparent">
🔮
</Link>
<Link
href="/"
className="text-gray-700 hover:text-pink-600 transition font-medium"
>
</Link>
</div>
</div>
</nav>
{/* Hero Section */}
<section className="pt-20 pb-32 px-4">
<div className="max-w-4xl mx-auto text-center mb-12">
<div className="inline-block mb-6 px-6 py-2 bg-white/50 backdrop-blur-sm rounded-full text-pink-700 font-semibold border border-pink-200">
</div>
<h1 className="text-5xl md:text-7xl font-bold text-gray-900 mb-6 leading-tight">
💕 <span className="bg-gradient-to-r from-pink-600 to-purple-600 bg-clip-text text-transparent"></span>
</h1>
<p className="text-xl text-gray-600 mb-12 max-w-2xl mx-auto">
.
, , .
</p>
</div>
{/* Input Form */}
<div className="max-w-6xl mx-auto">
<CompatibilityForm />
</div>
</section>
{/* 궁합 정보 */}
<section className="py-20 px-4 bg-white">
<div className="max-w-6xl mx-auto">
<div className="text-center mb-16">
<h2 className="text-4xl font-bold text-gray-900 mb-4">?</h2>
<p className="text-xl text-gray-600"> </p>
</div>
<div className="grid md:grid-cols-3 gap-8">
<div className="text-center p-6 rounded-2xl hover:bg-pink-50 transition">
<div className="text-5xl mb-4">💑</div>
<h3 className="text-xl font-bold text-gray-900 mb-3"> </h3>
<p className="text-gray-600">
.
</p>
</div>
<div className="text-center p-6 rounded-2xl hover:bg-purple-50 transition">
<div className="text-5xl mb-4">💍</div>
<h3 className="text-xl font-bold text-gray-900 mb-3"> </h3>
<p className="text-gray-600">
.
</p>
</div>
<div className="text-center p-6 rounded-2xl hover:bg-indigo-50 transition">
<div className="text-5xl mb-4">🤝</div>
<h3 className="text-xl font-bold text-gray-900 mb-3"> </h3>
<p className="text-gray-600">
.
</p>
</div>
</div>
</div>
</section>
{/* Footer */}
<footer className="bg-gray-900 text-white py-12 px-4">
<div className="max-w-7xl mx-auto text-center">
<div className="text-2xl font-bold mb-4 bg-gradient-to-r from-pink-400 to-purple-400 bg-clip-text text-transparent">
🔮
</div>
<p className="text-gray-400 mb-6">
</p>
<div className="text-sm text-gray-500">
<p>문의: bgg8988@gmail.com | <a href="https://jaengseung-made.com" target="_blank" rel="noopener noreferrer" className="hover:text-pink-400"></a></p>
<p className="mt-2">&copy; 2025 . All rights reserved.</p>
</div>
</div>
</footer>
</div>
);
}