Skip to content

Commit

Permalink
Merge pull request #61 from MOVIEJOJO7/Feature/#53
Browse files Browse the repository at this point in the history
Feat: Error, NotFound page 퍼블리싱
  • Loading branch information
JitHoon authored Nov 15, 2023
2 parents 176e241 + ad6fe02 commit b8e8d12
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 10 deletions.
12 changes: 6 additions & 6 deletions app/error.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ export default function GlobalError({
}) {
return (
<html>
<body>
<h2>Something went wrong!</h2>
<button type="button" onClick={() => reset()}>
Try again
</button>
</body>
<div className="w-[668px] h-[1446px] bg-pink-300">
<div className="w-[524px] h-[365px] bg-white rounded-[67px]">
<h2>Something went wrong!</h2>
<a href="/error">다시 시도하기</a>
</div>
</div>
</html>
);
}
12 changes: 8 additions & 4 deletions app/not-found.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,14 @@ import React from 'react';

const NotFound = () => {
return (
<div>
<h1>NotFound</h1>
<a href="/users">다시 가기 버튼</a>
</div>
<html>
<div className="w-[668px] h-[1446px] bg-pink-300">
<div className="w-[524px] h-[365px] bg-white rounded-[67px]">
<h2>Not Found</h2>
<a href="/users">다시 가기 버튼</a>
</div>
</div>
</html>
);
};

Expand Down
5 changes: 5 additions & 0 deletions public/crying_cat.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b8e8d12

Please sign in to comment.