-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: 회원가입 ui 완성 * chore: @mui/material 설치 * fix: img import ts 오류 해결
- Loading branch information
Showing
9 changed files
with
145 additions
and
42 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,10 @@ | ||
import styled from '@emotion/styled'; | ||
|
||
export const SignupPage = styled.div` | ||
width: 100vw; | ||
height: 100vh; | ||
display: flex; | ||
flex-direction; column; | ||
justify-content: center; | ||
align-items: center; | ||
`; |
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,12 @@ | ||
'use client'; | ||
|
||
import SignupSection from '@/components/signup/index'; | ||
import * as S from './SignupPage.styled'; | ||
|
||
export default function Signup() { | ||
return ( | ||
<S.SignupPage> | ||
<SignupSection /> | ||
</S.SignupPage> | ||
); | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import styled from '@emotion/styled'; | ||
|
||
export const SignupSection = styled.div` | ||
width: 450px; | ||
height: 500px; | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: space-around; | ||
align-items: center; | ||
`; | ||
|
||
export const SignupInputDiv = styled.div` | ||
width: 300px; | ||
`; | ||
|
||
export const SignupTitle = styled.p` | ||
width: 350px; | ||
font-size: 15px; | ||
`; | ||
|
||
export const SignupLogo = styled.img` | ||
width: 200px; | ||
cursor: pointer; | ||
`; |
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,65 @@ | ||
'use client'; | ||
|
||
import Button from '@mui/material/Button'; | ||
import TextField from '@mui/material/TextField'; | ||
import logo from '@/assets/images/sumtimeLogo.png'; | ||
import * as S from './Signup.styled'; | ||
|
||
function SignupSection() { | ||
// const [validation, setValidation] = useState(true); | ||
|
||
return ( | ||
<S.SignupSection> | ||
<S.SignupLogo src={logo.src} alt="logo" /> | ||
|
||
<S.SignupInputDiv> | ||
<TextField | ||
// error={!validation} | ||
fullWidth | ||
id="outlined-error-helper-text" | ||
label="email" | ||
// helperText={validation ? '' : '올바른 형식의 이메일을 입력해주세요'} | ||
variant="standard" | ||
type="email" | ||
/> | ||
</S.SignupInputDiv> | ||
<S.SignupInputDiv> | ||
<TextField | ||
// error={!validation} | ||
fullWidth | ||
id="outlined-error-helper-text" | ||
label="비밀번호" | ||
// helperText={validation ? '' : '올바른 형식의 비밀번호를 입력해주세요'} | ||
variant="standard" | ||
type="password" | ||
/> | ||
</S.SignupInputDiv> | ||
<S.SignupInputDiv> | ||
<TextField | ||
// error={!validation} | ||
fullWidth | ||
id="outlined-error-helper-text" | ||
label="비밀번호 확인" | ||
// helperText={validation ? '' : '비밀번호가 일치하지 않습니다'} | ||
variant="standard" | ||
type="password" | ||
/> | ||
</S.SignupInputDiv> | ||
<S.SignupInputDiv> | ||
<TextField | ||
// error={!validation} | ||
fullWidth | ||
id="outlined-error-helper-text" | ||
label="닉네임" | ||
// helperText={validation ? '' : '0자 이내만 입력 가능합니다'} | ||
variant="standard" | ||
type="text" | ||
/> | ||
</S.SignupInputDiv> | ||
|
||
<Button variant="outlined">회원가입</Button> | ||
</S.SignupSection> | ||
); | ||
} | ||
|
||
export default SignupSection; |
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,3 @@ | ||
declare module '*.png'; | ||
declare module '*.jpg'; | ||
declare module '*.jpeg'; |
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