-
Notifications
You must be signed in to change notification settings - Fork 2
[Feature] 에러 컴포넌트 ui 완성 #108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -1,3 +1,21 @@ | ||||||||||||||
| import Button from '@/components/common/Button'; | ||||||||||||||
|
|
||||||||||||||
| import AlertCircle from '@/assets/icons/alert-circle_Fill.svg?react'; | ||||||||||||||
|
|
||||||||||||||
| export default function Error() { | ||||||||||||||
| return <div />; | ||||||||||||||
| return ( | ||||||||||||||
| <> | ||||||||||||||
| <div className="flex flex-col items-center justify-center bg-white py-[100px] min-h-screen px-4"> | ||||||||||||||
| <AlertCircle className="w-[130px] h-[130px] mb-[80px] text-default-gray-500" /> | ||||||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧹 Nitpick (assertive) 접근성: 데코레이티브 아이콘은 스크린리더에서 숨기기 경고 아이콘이 정보 전달용 텍스트를 따로 제공하는 경우, 아이콘 자체는 스크린리더에서 숨기는 것이 좋습니다. - <AlertCircle className="w-[130px] h-[130px] mb-[80px] text-default-gray-500" />
+ <AlertCircle aria-hidden="true" focusable="false" className="w-[130px] h-[130px] mb-[80px] text-default-gray-500" />📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||||||
| <h1 className="text-3xl mb-[32px] text-default-gray-700 font-bold">서비스 이용에 불편을 드려 죄송합니다</h1> | ||||||||||||||
| <p className="text-l text-default-gray-500 text-center mb-[160px]"> | ||||||||||||||
| 요청하신 페이지를 찾을 수 없습니다 <br /> 경로가 잘못되었거나, 인터넷 연결이 불안정할 수 있습니다 | ||||||||||||||
| </p> | ||||||||||||||
yujin5959 marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||||||||||
|
|
||||||||||||||
| <Button onClick={() => window.history.back()} size={'big-16'} variant={'mint'}> | ||||||||||||||
| 이전 페이지로 돌아가기 | ||||||||||||||
| </Button> | ||||||||||||||
| </div> | ||||||||||||||
| </> | ||||||||||||||
| ); | ||||||||||||||
| } | ||||||||||||||
Uh oh!
There was an error while loading. Please reload this page.