-
Notifications
You must be signed in to change notification settings - Fork 35
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 #211 from Jaeheon96/React-손재헌-sprint7
[손재헌] sprint7
- Loading branch information
Showing
31 changed files
with
985 additions
and
91 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
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,16 @@ | ||
import styles from "./ErrorScreen.module.css"; | ||
import pandaIsConfused from "../assets/Img_inquiry_empty.png" | ||
|
||
function ErrorScreen({ error }) { | ||
|
||
return ( | ||
<div className={styles.errorComponent}> | ||
<img src={pandaIsConfused} alt="열일하는 판다" /> | ||
{error.message | ||
? <span className={styles.errorMessage}>{error.message}</span> | ||
: <span className={styles.errorMessage}>요청을 수행하는데 오류가 발생했습니다.</span>} | ||
</div> | ||
) | ||
} | ||
|
||
export default ErrorScreen; |
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,14 @@ | ||
.errorComponent { | ||
width: 100%; | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
align-items: center; | ||
margin-bottom: 1.5rem; | ||
|
||
.errorMessage { | ||
font-size: 1rem; | ||
font-weight: 400; | ||
color: var(--gray400); | ||
} | ||
} |
Oops, something went wrong.