-
Notifications
You must be signed in to change notification settings - Fork 1
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 #261 from boostcampwm-2024/front/main
[FE] 브랜치 병합
- Loading branch information
Showing
106 changed files
with
1,712 additions
and
1,011 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
user-agent: * | ||
allow: / |
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 was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
import { FallbackProps } from 'react-error-boundary'; | ||
import logoPng from 'assets/logo.png'; | ||
import logoWebp from 'assets/logo.webp'; | ||
|
||
export default function GlobalErrorFallback({ error }: FallbackProps) { | ||
return ( | ||
<div className='flex flex-col items-center justify-center mt-40 text-gray-800'> | ||
<div className='flex items-center mb-6'> | ||
<picture> | ||
<source srcSet={logoWebp} type='image/webp' /> | ||
<img src={logoPng} alt='Logo' className='h-48' /> | ||
</picture> | ||
</div> | ||
<h1 className='mb-4 text-2xl font-bold'>오류가 발생했습니다!</h1> | ||
<p className='mb-6 text-lg text-center'> | ||
문제가 지속적으로 발생하면 관리자에게 문의해주세요. | ||
</p> | ||
<pre className='w-full max-w-lg p-4 mb-6 text-sm text-left bg-gray-200 rounded-md shadow-md'> | ||
{error.message} | ||
</pre> | ||
<div className='flex space-x-4'> | ||
<a | ||
href='/' | ||
className='px-6 py-2 font-medium text-white transition bg-blue-500 rounded-md shadow hover:bg-blue-600' | ||
> | ||
Home으로 돌아가기 | ||
</a> | ||
</div> | ||
</div> | ||
); | ||
} |
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
Oops, something went wrong.