Skip to content

Commit

Permalink
임시 페이지 노출 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
ars-ki-00 committed Jul 7, 2024
1 parent 0f11e90 commit 4f65dca
Showing 1 changed file with 35 additions and 36 deletions.
71 changes: 35 additions & 36 deletions src/pages/verify/index.tsx
Original file line number Diff line number Diff line change
@@ -1,29 +1,28 @@
// import { MailVerifyImpl } from '@/pageImpl/mailVerifyImpl';
import styled from '@emotion/styled';

import SvgTimetableOn from '@/components/atoms/Icons/SvgTimetableOn';
import { SvgWaffleCat } from '@/components/atoms/Icons/SvgWaffleCat';
import { Title01, Title02 } from '@/components/atoms/Typography';
import { AppBar } from '@/components/molecules/AppBar';
import { MailVerifyImpl } from '@/pageImpl/mailVerifyImpl';
// import styled from '@emotion/styled';
// import SvgTimetableOn from '@/components/atoms/Icons/SvgTimetableOn';
// import { SvgWaffleCat } from '@/components/atoms/Icons/SvgWaffleCat';
// import { Title01, Title02 } from '@/components/atoms/Typography';
// import { AppBar } from '@/components/molecules/AppBar';
import { withGetServerSideProps } from '@/utils/withGetServersideProps';

export default function Verify() {
return (
<>
<AppBar left={<SvgTimetableOn height={30} width={30} />}>
<Title01 style={{ marginLeft: 12 }}>강의평</Title01>
</AppBar>
<Container>
<Title02 style={{ marginBottom: 40, textAlign: 'center' }}>
<br />
페이지를 찾을 수 없습니다
</Title02>
<SvgWaffleCat />
<OurName>@wafflestudio</OurName>
</Container>
</>
);
// return <MailVerifyImpl />;
// return (
// <>
// <AppBar left={<SvgTimetableOn height={30} width={30} />}>
// <Title01 style={{ marginLeft: 12 }}>강의평</Title01>
// </AppBar>
// <Container>
// <Title02 style={{ marginBottom: 40, textAlign: 'center' }}>
// <br />
// 페이지를 찾을 수 없습니다
// </Title02>
// <SvgWaffleCat />
// <OurName>@wafflestudio</OurName>
// </Container>
// </>
// );
return <MailVerifyImpl />;
}

export const getServerSideProps = withGetServerSideProps(
Expand All @@ -33,17 +32,17 @@ export const getServerSideProps = withGetServerSideProps(
{ emailVerification: 'not-verified' },
);

const Container = styled.div`
width: 100%;
height: 85vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
`;
// const Container = styled.div`
// width: 100%;
// height: 85vh;
// display: flex;
// flex-direction: column;
// align-items: center;
// justify-content: center;
// `;

const OurName = styled.div`
font-family: AppleSDGothicNeo;
font-size: 9px;
margin-top: 25px;
`;
// const OurName = styled.div`
// font-family: AppleSDGothicNeo;
// font-size: 9px;
// margin-top: 25px;
// `;

0 comments on commit 4f65dca

Please sign in to comment.