-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat : email verify modal dev start * feat : verify modal ui * feat : register modal api && login api connect * feat : gh login 1. login for registerd user
- Loading branch information
Showing
24 changed files
with
778 additions
and
402 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,11 @@ | ||
.EmailVerifyModal .inputLabel { | ||
margin-bottom: 16px; | ||
} | ||
.EmailVerifyModal .infoBox { | ||
background-color: rgba(218, 218, 218, 0.33); | ||
padding: 4%; | ||
border-radius: 20px; | ||
margin-top: 40px; | ||
} | ||
.EmailVerifyModal .infoText { | ||
} |
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,57 @@ | ||
import React, { useContext, useState } from "react"; | ||
import { Button, Modal, Form } from "react-bootstrap"; | ||
import "./EmailVerifyModal.css"; | ||
import { BsDot } from "react-icons/bs"; | ||
|
||
export const EmailVerifyModal = ({ show, handleClose, checkNumber, setCheckNumber, CheckEmailMessageHandler }) => { | ||
return ( | ||
<Modal show={show} onHide={handleClose} className="EmailVerifyModal"> | ||
<Modal.Header closeButton> | ||
<Modal.Title>인증번호</Modal.Title> | ||
</Modal.Header> | ||
<Modal.Body> | ||
<Form> | ||
<Form.Group className=""> | ||
<Form.Label className="inputLabel">이메일로 인증번호 전송이 완료되었습니다!</Form.Label> | ||
<Form.Control maxLength={6} type="text" placeholder="인증코드 입력" value={checkNumber} onChange={(e) => setCheckNumber(e.target.value)} /> | ||
</Form.Group> | ||
</Form> | ||
<div className="infoBox"> | ||
<p style={{ color: "rgb(230,59,71)", fontWeight: 600 }}>인증번호 문자를 못 받으셨나요?</p> | ||
<div style={{ display: "flex" }}> | ||
<BsDot /> | ||
<p className="infoText"> | ||
입력하신 인증정보가 일치하지 않을 경우, 인증번호 문자 | ||
<br />는 발송되지 않습니다. | ||
</p> | ||
</div> | ||
<div style={{ display: "flex" }}> | ||
<BsDot /> | ||
<p className="infoText"> | ||
인증번호가 문자로 수신되지 않을 경우 정확한 정보로 재 | ||
<br /> 시도해 주시기 바랍니다. | ||
</p> | ||
</div> | ||
</div> | ||
</Modal.Body> | ||
<Modal.Footer> | ||
<Button | ||
variant="secondary" | ||
onClick={() => { | ||
handleClose(); | ||
}} | ||
> | ||
취소 | ||
</Button> | ||
<Button | ||
variant="primary" | ||
onClick={() => { | ||
CheckEmailMessageHandler(); | ||
}} | ||
> | ||
인증확인 | ||
</Button> | ||
</Modal.Footer> | ||
</Modal> | ||
); | ||
}; |
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 |
---|---|---|
@@ -1,39 +1,40 @@ | ||
.LeftTeamSection { | ||
display: flex; | ||
width: 100%; | ||
background-color: #e9e3f5; | ||
display: flex; | ||
width: 100%; | ||
height: 100%; | ||
background-color: #e9e3f5; | ||
} | ||
|
||
.LeftTeamSection .container { | ||
display: flex; | ||
margin: 4%; | ||
padding: 4%; | ||
flex-direction: column; | ||
align-items: center; | ||
width: 200px; | ||
height: fit-content; | ||
border-radius: 50px; | ||
background-color: white; | ||
box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px; | ||
display: flex; | ||
margin: 4%; | ||
padding: 4%; | ||
flex-direction: column; | ||
align-items: center; | ||
width: 200px; | ||
height: fit-content; | ||
border-radius: 50px; | ||
background-color: white; | ||
box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px; | ||
} | ||
|
||
.LeftTeamSection .all-button, | ||
.LeftTeamSection .private-button { | ||
width: 100px; | ||
margin-top: 10px; | ||
width: 100px; | ||
margin-top: 10px; | ||
} | ||
|
||
.LeftTeamSection .teams { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: flex-start; | ||
margin-top: 20px; | ||
display: flex; | ||
flex-direction: column; | ||
align-items: flex-start; | ||
margin-top: 20px; | ||
} | ||
|
||
.LeftTeamSection .teams-title { | ||
} | ||
|
||
.LeftTeamSection .teams Button { | ||
margin-top: 10px; | ||
width: 100px; | ||
margin-top: 10px; | ||
width: 100px; | ||
} |
Oops, something went wrong.