50 lines
1.6 KiB
TypeScript
50 lines
1.6 KiB
TypeScript
|
|
"use client";
|
||
|
|
|
||
|
|
import { Card, CardContent } from "@/components/ui/card";
|
||
|
|
import { Badge } from "@/components/ui/badge";
|
||
|
|
import { Button } from "@/components/ui/button";
|
||
|
|
import { RefreshCw } from "lucide-react";
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 메인 페이지 컴포넌트
|
||
|
|
* 대시보드 내용만 포함
|
||
|
|
*/
|
||
|
|
export default function MainPage() {
|
||
|
|
return (
|
||
|
|
<div className="space-y-6">
|
||
|
|
{/* Header */}
|
||
|
|
<div className="flex items-center justify-between">
|
||
|
|
<div>
|
||
|
|
<h1 className="text-3xl font-bold">대시보드</h1>
|
||
|
|
<p className="text-muted-foreground">PLM 시스템의 주요 현황을 확인하세요</p>
|
||
|
|
</div>
|
||
|
|
<Button
|
||
|
|
variant="outline"
|
||
|
|
onClick={() => {
|
||
|
|
console.log("refresh");
|
||
|
|
}}
|
||
|
|
>
|
||
|
|
<RefreshCw className="mr-2 h-4 w-4" />
|
||
|
|
새로고침
|
||
|
|
</Button>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
{/* 메인 컨텐츠 */}
|
||
|
|
{/* Welcome Message */}
|
||
|
|
<Card>
|
||
|
|
<CardContent className="pt-6">
|
||
|
|
<div className="space-y-6 text-center">
|
||
|
|
<h3 className="text-lg font-semibold">PLM 솔루션에 오신 것을 환영합니다!</h3>
|
||
|
|
<p className="text-muted-foreground">제품 수명 주기 관리 시스템을 통해 효율적인 업무를 시작하세요.</p>
|
||
|
|
<div className="flex justify-center space-x-2">
|
||
|
|
<Badge variant="secondary">Spring Boot</Badge>
|
||
|
|
<Badge variant="secondary">Next.js</Badge>
|
||
|
|
<Badge variant="secondary">Shadcn/ui</Badge>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</CardContent>
|
||
|
|
</Card>
|
||
|
|
</div>
|
||
|
|
);
|
||
|
|
}
|