File tree Expand file tree Collapse file tree 7 files changed +76
-1
lines changed
Expand file tree Collapse file tree 7 files changed +76
-1
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ import ChatRecommend from "@/pages/ChatRecommend";
66import ChatTips from "@/pages/ChatTips" ;
77import ChatTemporature from "@/pages/ChatTemporature" ;
88import Content from "@/pages/Content" ;
9+ import Login from "@/pages/Login" ;
910
1011const App = ( ) => {
1112 return (
@@ -18,6 +19,7 @@ const App = () => {
1819 < Route path = "/chat-tips" element = { < ChatTips /> } />
1920 < Route path = "/chat-temporature" element = { < ChatTemporature /> } />
2021 < Route path = "/content/:id" element = { < Content /> } />
22+ < Route path = "/login" element = { < Login /> } />
2123 </ Routes >
2224 </ Router >
2325 ) ;
Original file line number Diff line number Diff line change 1+ const TermsAndPrivacy = ( ) => {
2+ const togglePopup = ( mode : "terms" | "privacy" ) => {
3+ // 이용약관 및 개인정보처리방침 메시지 팝업
4+ } ;
5+
6+ return (
7+ < div className = "flex items-center w-screen text-gray-900 text-sm lex" >
8+ < button
9+ onClick = { ( ) => togglePopup ( "terms" ) }
10+ className = "flex justify-center border-r w-full hover:font-bold"
11+ >
12+ 이용약관
13+ </ button >
14+ < button
15+ onClick = { ( ) => togglePopup ( "privacy" ) }
16+ className = "w-full hover:font-bold"
17+ >
18+ 개인정보처리방침
19+ </ button >
20+ </ div >
21+ ) ;
22+ } ;
23+
24+ export default TermsAndPrivacy ;
Original file line number Diff line number Diff line change 1+ import { MouseEvent } from "react" ;
2+
3+ const KakaoLoginButton = ( ) => {
4+ const handleClick = ( e : MouseEvent ) => { } ;
5+
6+ return (
7+ < button
8+ onClick = { handleClick }
9+ className = "flex justify-center items-center bg-[#F9E622] hover:opacity-80 rounded-lg w-[320px] h-[56px] font-bold text-black"
10+ >
11+ 카카오로 시작하기
12+ </ button >
13+ ) ;
14+ } ;
15+
16+ export default KakaoLoginButton ;
Original file line number Diff line number Diff line change 88
99 color-scheme : light dark;
1010 color : black;
11- background-color : # D0D5DD ;
11+ background-color : white ;
1212
1313 font-synthesis : none;
1414 text-rendering : optimizeLegibility;
Original file line number Diff line number Diff line change 1+ import KakaoLoginButton from "@/components/button/KakaoLoginButton" ;
2+ import TermsAndPrivacy from "@/components/TermsAndPrivacy" ;
3+
4+ const Login = ( ) => {
5+ return (
6+ < div className = "flex flex-col items-center" >
7+ < img
8+ src = "/image/banner_login.png"
9+ alt = "로그인 페이지 이미지"
10+ className = "w-full h-[391px]"
11+ />
12+ < h1 className = "mt-8 font-bold text-3xl text-center whitespace-pre-wrap" >
13+ MBTI 성향 기반
14+ < br />
15+ AI 채팅 시뮬레이션으로
16+ < br />
17+ 대화 연습과 꿀팁 얻어가세요
18+ </ h1 >
19+ < div className = "mt-[39px] text-gray-900 text-xl" >
20+ 대화 연습부터, 피드백까지 드려요
21+ </ div >
22+ < div className = "mt-[47px]" >
23+ < KakaoLoginButton />
24+ </ div >
25+ < div className = "mt-[72px]" >
26+ < TermsAndPrivacy />
27+ </ div >
28+ </ div >
29+ ) ;
30+ } ;
31+
32+ export default Login ;
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ const config = {
2323 foreground : "#000000"
2424 } ,
2525 fontSize : {
26+ "3xl" : "24px" ,
2627 "2xl" : "20px" ,
2728 xl : "18px" ,
2829 lg : "16px" ,
You can’t perform that action at this time.
0 commit comments