/** * @file app/(home)/page.tsx * @description 서비스 메인 랜딩 페이지(Server Component) */ import Link from "next/link"; import { ArrowRight, Sparkles } from "lucide-react"; import { Header } from "@/features/layout/components/header"; import { AUTH_ROUTES } from "@/features/auth/constants"; import { Button } from "@/components/ui/button"; import ShaderBackground from "@/components/ui/shader-background"; import { createClient } from "@/utils/supabase/server"; import { AnimatedBrandTone } from "@/components/ui/animated-brand-tone"; interface StartStep { step: string; title: string; description: string; } const START_STEPS: StartStep[] = [ { step: "01", title: "1분이면 충분해요", description: "복잡한 서류나 방문 없이, 쓰던 계좌 그대로 안전하게 연결할 수 있어요.", }, { step: "02", title: "내 스타일대로 골라보세요", description: "공격적인 투자부터 안정적인 관리까지, 나에게 딱 맞는 전략이 준비되어 있어요.", }, { step: "03", title: "이제 일상을 즐기세요", description: "차트는 JOORIN-E가 하루 종일 보고 있을게요. 마음 편히 본업에 집중하세요.", }, ]; /** * 홈 메인 랜딩 페이지 * @returns 랜딩 UI */ export default async function HomePage() { const supabase = await createClient(); const { data: { user }, } = await supabase.auth.getUser(); const primaryCtaHref = user ? AUTH_ROUTES.DASHBOARD : AUTH_ROUTES.SIGNUP; const primaryCtaLabel = user ? "시작하기" : "지금 무료로 시작하기"; return (
{/* ========== BACKGROUND ========== */}
); }