-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #112 from TEAM-SYLUV/develop
Develop
- Loading branch information
Showing
13 changed files
with
686 additions
and
307 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
import ButtonModal from "components/Common/ButtonModal"; | ||
import { useNavigate } from "react-router-dom"; | ||
import styled from "styled-components"; | ||
|
||
const ErrorPage = () => { | ||
const navigate = useNavigate(); | ||
return ( | ||
<Wrapper> | ||
<ButtonModal | ||
title="문제가 발생했습니다" | ||
subText="서비스 개선을 위해 노력하겠습니다" | ||
left="홈으로" | ||
right="피드백하기" | ||
onLeftClick={() => navigate("/", { replace: true })} | ||
onRightClick={() => navigate("/feedback", { replace: true })} | ||
/> | ||
</Wrapper> | ||
); | ||
}; | ||
|
||
export default ErrorPage; | ||
|
||
const Wrapper = styled.div` | ||
height: 100dvh; | ||
width: 480px; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
@media (max-width: 480px) { | ||
width: 100dvw; | ||
} | ||
`; |
Oops, something went wrong.