Skip to content

Commit 7af9cd5

Browse files
authored
[Feature] 에러 컴포넌트 ui 완성
[Feature] 에러 컴포넌트 ui 완성
2 parents 0aa9d78 + 4935883 commit 7af9cd5

1 file changed

Lines changed: 19 additions & 1 deletion

File tree

src/pages/common/Error.tsx

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
import Button from '@/components/common/Button';
2+
3+
import AlertCircle from '@/assets/icons/alert-circle_Fill.svg?react';
4+
15
export default function Error() {
2-
return <div />;
6+
return (
7+
<>
8+
<div className="flex flex-col items-center justify-center bg-white py-[100px] min-h-screen px-4">
9+
<AlertCircle className="w-[130px] h-[130px] mb-[80px] text-default-gray-500" />
10+
<h1 className="text-3xl mb-[32px] text-default-gray-700 font-bold">서비스 이용에 불편을 드려 죄송합니다</h1>
11+
<p className="text-l text-default-gray-500 text-center mb-[160px]">
12+
요청하신 페이지를 찾을 수 없습니다 <br /> 경로가 잘못되었거나, 인터넷 연결이 불안정할 수 있습니다
13+
</p>
14+
15+
<Button onClick={() => window.history.back()} size={'big-16'} variant={'mint'}>
16+
이전 페이지로 돌아가기
17+
</Button>
18+
</div>
19+
</>
20+
);
321
}

0 commit comments

Comments
 (0)