-
Notifications
You must be signed in to change notification settings - Fork 1
[FE-Feat] 에러페이지 마크업, 버튼 컴포넌트 다형성 리팩터링 #111
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
Merged
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
a5b9d2b
fix: 타이포 토큰값 변경
hamo-o 9a7a71c
feat: Button 컴포넌트 다형성 컴포넌트로 전환
hamo-o 67a5ae2
feat: 에러페이지 기본 마크업
hamo-o efab576
fix: 바뀐 Button 프롭명 적용
hamo-o 6a96267
fix: reset.css position fixed > absolute 변경 및 랜딩페이지 디자인 수정
hamo-o add8371
feat: 이미지 webp 변환, 에러페이지 마크업 마무리
hamo-o cb0a376
fix: Error > ErrorPage 이름 변경
hamo-o 7e3b97e
refactor: 이미지 alt 텍스트 추가
hamo-o File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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,40 @@ | ||
| import { Link } from '@tanstack/react-router'; | ||
|
|
||
| import Button from '@/components/Button'; | ||
| import { Flex } from '@/components/Flex'; | ||
| import { Text } from '@/components/Text'; | ||
| import { vars } from '@/theme/index.css'; | ||
|
|
||
| const ErrorPage = () => ( | ||
| <Flex | ||
| align='center' | ||
| direction='column' | ||
| gap={700} | ||
| height='100vh' | ||
| > | ||
| <img | ||
| alt='에러를 나타내는 이미지' | ||
| height={180} | ||
| src='/images/assets/error.webp' | ||
| width={180} | ||
| /> | ||
| <Flex | ||
| align='center' | ||
| direction='column' | ||
| gap={300} | ||
| > | ||
| <Text color={vars.color.Ref.Netural[800]} typo='h3'>유효하지 않은 링크입니다.</Text> | ||
| <Text color={vars.color.Ref.Netural[500]} typo='b2M'>링크가 삭제되거나 변경되었어요.</Text> | ||
| </Flex> | ||
| <Button | ||
| as={Link} | ||
| size='lg' | ||
| style='weak' | ||
| to='/' | ||
| > | ||
| 홈으로 | ||
| </Button> | ||
| </Flex> | ||
| ); | ||
|
|
||
| export default ErrorPage; | ||
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.