임시커밋
This commit is contained in:
@@ -5,12 +5,12 @@
|
||||
|
||||
import { redirect } from "next/navigation";
|
||||
import { createClient } from "@/utils/supabase/server";
|
||||
import { DashboardContainer } from "@/features/dashboard/components/DashboardContainer";
|
||||
|
||||
/**
|
||||
* 대시보드 페이지
|
||||
* @returns DashboardContainer UI
|
||||
* @see features/dashboard/components/DashboardContainer.tsx 클라이언트 상호작용(검색/시세/차트)은 해당 컴포넌트가 담당합니다.
|
||||
* 대시보드 페이지 (향후 확장용)
|
||||
* @returns 빈 대시보드 안내 UI
|
||||
* @see app/(main)/trade/page.tsx 트레이딩 기능은 `/trade` 경로에서 제공합니다.
|
||||
* @see app/(main)/settings/page.tsx KIS 인증 설정은 `/settings` 경로에서 제공합니다.
|
||||
*/
|
||||
export default async function DashboardPage() {
|
||||
// 상태 정의: 서버에서 세션을 먼저 확인해 비로그인 접근을 차단합니다.
|
||||
@@ -21,5 +21,17 @@ export default async function DashboardPage() {
|
||||
|
||||
if (!user) redirect("/login");
|
||||
|
||||
return <DashboardContainer />;
|
||||
return (
|
||||
<section className="mx-auto flex h-full w-full max-w-5xl flex-col justify-center p-6">
|
||||
{/* ========== DASHBOARD PLACEHOLDER ========== */}
|
||||
<div className="rounded-2xl border border-brand-200 bg-background p-8 shadow-sm dark:border-brand-800/45 dark:bg-brand-900/14">
|
||||
<h1 className="text-2xl font-semibold tracking-tight text-foreground">
|
||||
대시보드
|
||||
</h1>
|
||||
<p className="mt-2 text-sm text-muted-foreground">
|
||||
이 페이지는 향후 포트폴리오 요약과 리포트 기능을 위한 확장 영역입니다.
|
||||
</p>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user