Skip to content

Commit

Permalink
Merge pull request #23 from ananjaemin/dev
Browse files Browse the repository at this point in the history
Dev
404 ํŽ˜์ด์ง€ ๋””์ž์ธ
  • Loading branch information
ananjaemin committed Nov 2, 2022
2 parents 09b8c44 + 8660a8b commit 3a39292
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 3a39292

Please sign in to comment.