-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Refactor/#47 classification
- Loading branch information
Showing
11 changed files
with
249 additions
and
71 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import React from "react"; | ||
import Classification from "@/components/auth/signup/classification"; | ||
|
||
const Page = () => { | ||
return ( | ||
<Classification/> | ||
); | ||
}; | ||
|
||
export default Page; |
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,25 @@ | ||
import React from "react"; | ||
import * as S from "./style"; | ||
import TextField from "src/components/common/textField"; | ||
import useInfo from "@/hooks/auth/signup/useInfo"; | ||
|
||
const Classification = () => { | ||
const { ...hooks } = useInfo(); | ||
|
||
return ( | ||
<S.Main> | ||
<S.SignUpInfolWrap> | ||
<S.DearLogo>DEAR.</S.DearLogo> | ||
<S.VerifyWrap> | ||
|
||
</S.VerifyWrap> | ||
<S.ButtonWrap> | ||
<S.BackButton onClick={()=>window.history.back()}>이전</S.BackButton> | ||
<S.NextButton onClick={hooks.onSignup}>완료</S.NextButton> | ||
</S.ButtonWrap> | ||
</S.SignUpInfolWrap> | ||
</S.Main> | ||
); | ||
}; | ||
|
||
export default Classification; |
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,146 @@ | ||
import styled from "styled-components"; | ||
|
||
export const Main = styled.div` | ||
width: 100vw; | ||
height: 100vh; | ||
background: var(--Gray100, #f4f5f9); | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
align-self: center; | ||
`; | ||
|
||
export const SignUpInfolWrap = styled.div` | ||
min-width: 400px; | ||
min-height: 500px; | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: space-around; | ||
align-items: center; | ||
padding: 30px; | ||
border-radius: var(--Large, 12px); | ||
background: var(--White, #fff); | ||
box-shadow: 4px 4px 8px 0px var(--Gray300, #e6e6e6); | ||
`; | ||
|
||
export const DearLogo = styled.h1` | ||
color: var(--Black, #000); | ||
font-family: Assistant; | ||
font-size: 4rem; | ||
font-style: normal; | ||
font-weight: 800; | ||
`; | ||
|
||
export const VerifyWrap = styled.div` | ||
width: 100%; | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
align-items: center; | ||
gap: 60px; | ||
`; | ||
|
||
export const Input = styled.input` | ||
width: 340px; | ||
height: 50px; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
border-bottom: 1px solid #d1d1d1; | ||
color: var(--Gray500, #000); | ||
font-family: Akshar; | ||
font-size: 1rem; | ||
font-style: normal; | ||
font-weight: 400; | ||
line-height: normal; | ||
margin-bottom: 2wvh; | ||
&:focus { | ||
outline: none; | ||
} | ||
`; | ||
|
||
export const VerifyButton = styled.button` | ||
width: 180px; | ||
height: 45px; | ||
display: flex; | ||
align-items: center; | ||
align-self: center; | ||
justify-content: center; | ||
gap: 10px; | ||
border-radius: 10px; | ||
background: var(--primary-400, #1d2d44); | ||
color: #fff; | ||
cursor: pointer; | ||
&:focus { | ||
outline: none; | ||
} | ||
`; | ||
|
||
export const ButtonWrap = styled.div` | ||
width: 485px; | ||
height: 45px; | ||
display: flex; | ||
align-items: center; | ||
align-self: center; | ||
justify-content: center; | ||
gap: 10px; | ||
`; | ||
|
||
export const BackButton = styled.button` | ||
display: flex; | ||
width: 85px; | ||
height: 50px; | ||
padding: 11px 24px; | ||
justify-content: center; | ||
align-items: center; | ||
gap: 10px; | ||
border-radius: 10px; | ||
background: var(--Primary800, #ebefff); | ||
cursor: pointer; | ||
&:focus { | ||
outline: none; | ||
} | ||
`; | ||
|
||
export const NextButton = styled.button` | ||
display: flex; | ||
width: 240px; | ||
height: 50px; | ||
padding: var(--Large, 12px) 16px; | ||
justify-content: center; | ||
align-items: center; | ||
gap: 10px; | ||
border-radius: 10px; | ||
background: var(--primary-400, #1d2d44); | ||
color: #fff; | ||
cursor: pointer; | ||
&:focus { | ||
outline: none; | ||
} | ||
&:disabled { | ||
background: var(--Primary800, #ebefff); | ||
} | ||
`; |
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.