/** * @file app/(home)/page.tsx * @description 서비스 메인 랜딩 페이지 * @remarks * - [레이어] Pages (Server Component) * - [역할] 비로그인 유저 유입, 브랜드 소개, 로그인/대시보드 유도 * - [구성요소] Header, Hero Section (Spline 3D), Feature Section (Bento Grid) * - [데이터 흐름] Server Auth Check -> Client Component Props */ import Link from "next/link"; import { Button } from "@/components/ui/button"; import { createClient } from "@/utils/supabase/server"; import { Header } from "@/features/layout/components/header"; import { AUTH_ROUTES } from "@/features/auth/constants"; import { SplineScene } from "@/features/home/components/spline-scene"; /** * 메인 페이지 컴포넌트 (비동기 서버 컴포넌트) * @returns Landing Page Elements * @see layout.tsx - RootLayout 내에서 렌더링 * @see spline-scene.tsx - 3D 인터랙션 */ export default async function HomePage() { // [Step 1] 서버 사이드 인증 상태 확인 const supabase = await createClient(); const { data: { user }, } = await supabase.auth.getUser(); return (
{/* Background Pattern */}
{/* Badge */}
The Future of Trading

투자의 미래를
자동화하세요

AutoTrade는 최첨단 알고리즘을 통해 24시간 암호화폐 시장을 분석합니다.
감정 없는 데이터 기반 투자로 안정적인 수익을 경험해보세요.

{user ? ( ) : ( )} {!user && ( )}
{/* Spline Scene - Centered & Wide */}
{/* Glow Effect */}
{/* Features Section - Bento Grid */}

강력한 기능,{" "} 직관적인 경험

성공적인 투자를 위해 필요한 모든 도구가 준비되어 있습니다.

{/* Feature 1 */}

실시간 모니터링

초당 수천 건의 트랜잭션을 실시간으로 분석합니다.
시장 변동성을 놓치지 않고 최적의 진입 시점을 포착하세요.

{/* Feature 2 (Tall) */}

알고리즘 트레이딩

24시간 멈추지 않는 자동 매매 시스템입니다.

{[ "추세 추종 전략", "변동성 돌파", "AI 예측 모델", "리스크 관리", ].map((item) => (
{item}
))}
{/* Feature 3 */}

스마트 포트폴리오

목표 수익률 달성 시 자동으로 이익을 실현하고, MDD를 최소화하여
시장이 하락할 때도 당신의 자산을 안전하게 지킵니다.

); }