Skip to content

Commit

Permalink
Merge pull request #22 from ananjaemin/17-404오류-page-제작
Browse files Browse the repository at this point in the history
feat: NotFound Page 디자인
  • Loading branch information
ananjaemin committed Nov 2, 2022
2 parents 8253d8a + 41e7ec5 commit 8660a8b
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 2 deletions.
7 changes: 6 additions & 1 deletion src/pages/notfound/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,9 @@ import React from 'react';

import * as S from './styled';

export const NotFoundPage: React.FC = () => <S.NotFoundPage>404</S.NotFoundPage>;
export const NotFoundPage: React.FC = () => (
<S.NotFoundPageContainer>
<S.NotFoundText>404</S.NotFoundText>
<S.NotFoundSubText>Error 404 Not Found</S.NotFoundSubText>
</S.NotFoundPageContainer>
);
18 changes: 17 additions & 1 deletion src/pages/notfound/styled.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
import styled from '@emotion/styled';

export const NotFoundPage = styled.div``;
export const NotFoundPageContainer = styled.div`
display: flex;
flex-direction: column;
align-items: center;
`;

export const NotFoundText = styled.div`
font-size: 18rem;
font-weight: 700;
margin: 0.5rem;
`;

export const NotFoundSubText = styled.div`
font-size: 3rem;
font-weight: 700;
margin: 0.5rem;
`;

0 comments on commit 8660a8b

Please sign in to comment.