/**
* @file app/(home)/page.tsx
* @description 서비스 메인 랜딩 페이지(Server Component)
*/
import Link from "next/link";
import { ArrowRight, BarChart3, ShieldCheck, Sparkles, Zap } from "lucide-react";
import { Header } from "@/features/layout/components/header";
import { AUTH_ROUTES } from "@/features/auth/constants";
import { Button } from "@/components/ui/button";
import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card";
import ShaderBackground from "@/components/ui/shader-background";
import { createClient } from "@/utils/supabase/server";
/**
* 홈 메인 랜딩 페이지
* @returns 랜딩 UI
* @see features/layout/components/header.tsx blendWithBackground 모드 헤더를 함께 사용
*/
export default async function HomePage() {
// [로그인 상태 조회] 사용자 유무에 따라 CTA 링크를 분기합니다.
const supabase = await createClient();
const {
data: { user },
} = await supabase.auth.getUser();
return (
{/* ========== SHADER BACKGROUND SECTION ========== */}
{/* ========== HERO SECTION ========== */}
Shader Background Landing
데이터로 판단하고
자동으로 실행합니다
실시간 시세 확인, 전략 점검, 주문 연결까지 한 화면에서 이어지는 자동매매 환경을
제공합니다. 복잡한 설정은 줄이고 실행 속도는 높였습니다.
{/* [분기 렌더] 로그인 사용자는 대시보드, 비로그인 사용자는 가입/로그인 동선을 노출합니다. */}
{user ? (
) : (
<>
>
)}
{/* ========== FEATURE SECTION ========== */}
실시간 데이터 가시화
시세 변화와 거래 흐름을 빠르게 확인할 수 있게 핵심 정보만 선별해 보여줍니다.
전략 실행 속도 최적화
필요한 단계만 남긴 단순한 흐름으로 전략 테스트와 실행 전환 시간을 줄였습니다.
명확한 리스크 관리
자동매매에서 중요한 손실 한도와 조건을 먼저 정의하고 일관되게 적용할 수 있습니다.
{/* ========== CTA SECTION ========== */}
준비되면 바로 시작하세요
AutoTrade에서 전략을 실행해 보세요
);
}