import React, { useState } from 'react' import '../App.css' import { Form, Button, Row, Col, Card } from 'react-bootstrap'; import { LoginWithKakao } from '../utils/Oauth'; function SignupComp() { const cardstyled = { margin: 'auto', padding: '1em', display: 'flex', justifyContent: 'center', width: '100%', borderWidth: '3px', borderRadius: '20px', borderColor: 'rgb(110, 189, 142)', color: '#04AB70' } const inboxstyled = { display: 'flex', flexDirection: 'column', maxWidth: '80%', justifyContent: 'center', margin: 'auto', padding: '1rem' } const initValues = { email: '', name: '' } const [formValues, setFormValues] = useState(initValues) const [validated, setValidated] = useState(false) function handleChange(event) { const { name, value } = event.target setFormValues({ ...formValues, [name]: value }) } function handleSubmit(event) { const form = event.currentTarget; console.log('formValues', formValues); console.log('formValues.values', Object.values(formValues)[0].length); // console.log(form) // if (Object.values(formValues)[0].length !== 0) { //form.checkValidity() === false // event.preventDefault(); // event.stopPropagation(); // } console.log(validated) setValidated(true); // const form = event.current // setFormError(validate(formValues)) // setIsSubmit(true) } const [emailSubm, setEmailSubm] = useState(false) function handleClickSubm() { // setEmailSubm(true); const subm = document.getElementById("subm-mailSent"); subm.style.visibility = 'visible' // const aftermail = document.getElementById('AftermailSent'); // aftermail.style.display = '' } // console.log(emailSubm); return ( Create an Account Sign up with your social media account or email address

{/* {['도', '시군구', '읍면동'].map((localname) => ( Action Another action Something else here Separated link ))} 지역코드 */}

OR
{/* 세미콜론이 붙으면 최상단 이동 x */} KAKAO
) } export default SignupComp;