File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed
Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change 1+ 'use client' ;
2+
3+ import { useRouter } from 'next/navigation' ;
4+ import LogoMain from '@/assets/svg/svg-logo-main.svg' ;
5+ import { Button } from '@/components/common/Button/Button' ;
6+ import { Header } from '@/components/common/Header' ;
7+ import { PageContainer } from '@/components/common/PageContainer' ;
8+ import { Sidebar } from '@/components/Sidebar' ;
9+
10+ export default function NotFound ( ) {
11+ const router = useRouter ( ) ;
12+
13+ return (
14+ < div className = "flex" >
15+ < Sidebar />
16+ < Header />
17+ < PageContainer header = { true } className = "flex-center" >
18+ < div className = "flex-center flex-col gap-15" >
19+ < LogoMain className = "w-90 animate-bounce" />
20+ < h1 className = "text-3xl-bold text-custom-gray-300" >
21+ 페이지를 찾을 수 없어요.
22+ </ h1 >
23+ < p className = "text-lg-medium text-custom-gray-100" >
24+ 뒤로 가거나 홈으로 이동해 보세요.
25+ </ p >
26+ < div className = "flex gap-8" >
27+ < Button
28+ primary = { true }
29+ size = "small"
30+ onClick = { ( ) => router . push ( '/dashboard' ) }
31+ >
32+ 홈으로 돌아가기
33+ </ Button >
34+ < Button primary = { false } size = "small" onClick = { ( ) => router . back ( ) } >
35+ 이전 페이지
36+ </ Button >
37+ </ div >
38+ </ div >
39+ </ PageContainer >
40+ </ div >
41+ ) ;
42+ }
You can’t perform that action at this time.
0 commit comments