Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions src/pages/LoginPage.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
import React from "react";
import Button from "../components/Button";
import Logo from "../components/Logo";

const LoginPage = () => {
const handleKakaoLogin = () => {
//window.location.href = "나중에 카카오 로그인 키. "
};

return (
<div style = {styles.container}>
<Logo />
<h2 style={styles.title} >회원가입하기</h2>
<button style={styles.signupButton}>SIGN UP</button>
<Button text="카카오 로그인" color="#FEE500" onClick={handleKakaoLogin} icon="/images/kakao_login.svg"/>
</div>
);
};

const styles = {
container: {
display : "flex",
flexDirection : "column",
alignItems : "center",
justifyContent: "center",
height: "100vh",
backgroundColor: "#FAE8D4",
},
title: {
fontSize : "20px",
marginBottom: "20px",
},
signupButton: {
backgroundColor: "transparent",
border: "1px solid black",
padding: "10px 20px",
borderRadius: "8px",
fontSize: "16px",
marginBottom: "20px",
cursor: "pointer",
},
};

export default LoginPage;
Empty file added src/pages/SignupPage.js
Empty file.