-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix : 모달 닫힘 버튼 수정 * feat : 에러 페이지 설정 * style : 공유 컴포넌트 반응형 * env : 의존성 설치 * style : 차트 반응형 * style : 로그인 반응형 * style : 마이 페이지 반응형 * env : 배포 환경에서 콘솔 제거
- Loading branch information
Showing
26 changed files
with
298 additions
and
89 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,17 @@ | ||
import type { Meta, StoryObj } from '@storybook/react'; | ||
|
||
import ErrorPage from './ErrorPage'; | ||
|
||
const meta: Meta<typeof ErrorPage> = { | ||
component: ErrorPage, | ||
title: 'ErrorPage', | ||
tags: ['autodocs'], | ||
argTypes: {}, | ||
}; | ||
export default meta; | ||
|
||
type Story = StoryObj<typeof ErrorPage>; | ||
|
||
export const Default: Story = { | ||
args: {}, | ||
}; |
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,41 @@ | ||
import styled from 'styled-components'; | ||
|
||
export const ErrorPageStyled = styled.div` | ||
max-width: 960px; | ||
width: 90%; | ||
margin: auto; | ||
display: flex; | ||
flex-direction: column; | ||
@media (max-width: 768px) { | ||
max-width: 100%; | ||
padding: 0 20px; | ||
} | ||
`; | ||
|
||
export const ErrorImage = styled.img` | ||
object-fit: cover; | ||
margin: auto; | ||
width: 100%; | ||
@media (max-width: 768px) { | ||
width: 80%; | ||
} | ||
`; | ||
|
||
export const ErrorTilte = styled.h2` | ||
text-align: center; | ||
font-size: 50px; | ||
a { | ||
text-decoration: none; | ||
color: black; | ||
} | ||
@media (max-width: 768px) { | ||
font-size: 36px; | ||
} | ||
@media (max-width: 480px) { | ||
font-size: 28px; | ||
} | ||
`; |
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,20 @@ | ||
import React from 'react'; | ||
import cat from '@/shared/assets/cuteCat.gif'; | ||
import { ErrorPageStyled, ErrorTilte, ErrorImage } from './ErrorPage.styled'; | ||
import Margin from '@/shared/ui/Margin/Margin'; | ||
import Title from '@/shared/ui/Title/Title'; | ||
import { Link } from 'react-router-dom'; | ||
|
||
const ErrorPage = () => { | ||
return ( | ||
<ErrorPageStyled> | ||
<Margin top={160} /> | ||
<ErrorImage src={`${cat}`} alt="logo" /> | ||
<ErrorTilte> | ||
<Link to="/">404 Error Please Click Here </Link> | ||
</ErrorTilte> | ||
</ErrorPageStyled> | ||
); | ||
}; | ||
|
||
export default ErrorPage; |
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.
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
Oops, something went wrong.