Skip to content

Commit

Permalink
Merge pull request #31 from makchamakers/taepyeong/error-page-link
Browse files Browse the repository at this point in the history
홈페이지 이동 링크 추가
  • Loading branch information
sunaerocket authored Oct 23, 2023
2 parents 985224b + d0e8bfb commit dea163b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/app/not-found.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
'use client';
import Image from 'next/image';
import Link from 'next/link';
import styled from 'styled-components';

export default function NotFoundPage() {
Expand All @@ -9,7 +10,9 @@ export default function NotFoundPage() {
<SubTitle>404</SubTitle>
<Message>길을 잃어버렸어요!</Message>
<Image src="/crying.png" width={110} height={96} alt="crying character" />
<Button>홈으로 돌아가기</Button>
<Link href="/">
<Button>홈으로 돌아가기</Button>
</Link>
<Footer>Copyright ⓒ MAKCHAMAKERS Co., LTD. All rights Reserved.</Footer>
</Container>
);
Expand Down Expand Up @@ -66,6 +69,7 @@ const Button = styled.button`
border-radius: 14px;
border: none;
box-shadow: none;
cursor: pointer;
`;

const Footer = styled.footer`
Expand Down

0 comments on commit dea163b

Please sign in to comment.