From eb8a38cd9c1c03742d9082228dca78da97c60fa2 Mon Sep 17 00:00:00 2001 From: chaduhwan Date: Sat, 6 Apr 2024 21:21:23 +0900 Subject: [PATCH] =?UTF-8?q?[#10]=EB=A1=9C=EA=B7=B8=EC=9D=B8=20ui=20?= =?UTF-8?q?=EA=B5=AC=ED=98=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/(route)/signin/Signin.module.css | 73 +++++++++++++++++++----- app/(route)/signin/_components/Login.tsx | 51 ++++++++++++----- 2 files changed, 97 insertions(+), 27 deletions(-) diff --git a/app/(route)/signin/Signin.module.css b/app/(route)/signin/Signin.module.css index c7e0db4..08624b6 100644 --- a/app/(route)/signin/Signin.module.css +++ b/app/(route)/signin/Signin.module.css @@ -2,39 +2,84 @@ background: #6c76f4; width: 100%; height: 100%; + + display: flex; + flex-direction: column; + align-items: center; } .wordwrap { - height: 100%; display: flex; flex-direction: column; justify-content: center; + margin-top: 140px; } -.word { +.largeword { color: #fff; - text-align: center; - font-size: 36px; + font-size: 29px; font-style: normal; font-weight: 600; line-height: normal; } -.intosignup { - width: 360px; - height: 60px; - border-radius: 7px; - background: #fff; +.smallword { + color: #fff; + font-size: 18px; + font-style: normal; + font-weight: 300; + line-height: normal; +} - display: flex; - align-items: center; +.img { + width: 370px; + height: 370px; + margin-top: 10px; +} + +.kakaologin { + display: inline-flex; + height: 60px; + padding: 16.5px 95px 15px 94px; justify-content: center; + align-items: flex-start; + gap: 7px; + flex-shrink: 0; + margin-top: 10px; + + border-radius: 8px; + background: #fee500; + + color: #1a1a1a; - color: #04030d; text-align: center; - font-size: 20px; + font-size: 18px; + font-style: normal; + font-weight: 600; + + cursor: pointer; +} +.kakaologin:hover { + opacity: 0.7; +} + +.nonmember { + width: 160px; + height: 55px; + flex-shrink: 0; + color: #fff; + + font-size: 15px; font-style: normal; font-weight: 600; - letter-spacing: 0.1px; + line-height: normal; + text-align: center; + + margin-top: 10px; + cursor: pointer; +} + +.nonmember:hover { + opacity: 0.7; } diff --git a/app/(route)/signin/_components/Login.tsx b/app/(route)/signin/_components/Login.tsx index 70660f7..43da119 100644 --- a/app/(route)/signin/_components/Login.tsx +++ b/app/(route)/signin/_components/Login.tsx @@ -1,21 +1,46 @@ +'use client' + import rocketLogo from '../../../_assets/_images/rocketLogo.png' import Image from 'next/image' +import styles from '../Signin.module.css' +import { RiKakaoTalkFill } from 'react-icons/ri' +import { useRouter } from 'next/navigation' function Login() { + const router = useRouter() + + const handleClickNonMember = () => { + router.push('/main') + } + + const handleClicksignin = () => { + router.push('/main') + } + return ( -
-

안녕하세요

-

프리무스입니다

-

서비스 이용을 위해서 로그인 해주세요

- 로켓로고 -
카카오로 시작하기
-
비회원으로 둘러보기
+
+
+

안녕하세요

+

프리무스입니다

+

서비스 이용을 위해서 로그인 해주세요

+
+ +
+ 로켓로고 +
+ +
+ 카카오로 시작하기 +
+
+ 비회원으로 둘러보기 +
) }