Skip to content
Merged
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
12 changes: 6 additions & 6 deletions src/app/(auth)/login/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ import Link from "next/link"

import LoginStartCharacter from "@/assets/character/login/img-login-start.svg"
import LoginLogo from "@/assets/logo/logo-type01.svg"
import { useKakaoAuth } from "@/hooks/auth/useKakaoAuth"

// import { useKakaoAuth } from "@/hooks/auth/useKakaoAuth"
import layoutStyles from "./layout.module.scss"
import styles from "./page.module.scss"

const Page = () => {
// const { handleKakaoLogin, handleKakaoLogout, isLoading } = useKakaoAuth()
const { handleKakaoLogin, handleKakaoLogout, isLoading } = useKakaoAuth()

return (
<div className={`${layoutStyles.login__content}`}>
Expand All @@ -21,7 +21,7 @@ const Page = () => {
<LoginStartCharacter width={220} height={220} className={`${styles.start__img}`} />
<div className={`${layoutStyles.login__content__btns}`}>
{/* TODO : api 수정되면 제거예정 */}
{/* <button
<button
style={{ backgroundColor: "yellow" }}
type="button"
className={`btn-comm rounded ${styles.btn_kakao_login}`}
Expand All @@ -35,9 +35,9 @@ const Page = () => {
className={`btn-comm rounded ${styles.btn_kakao_login}`}
onClick={handleKakaoLogout}>
로그아웃
</button> */}
<Link href="/login/parent" className="btn-comm large filled rounded">
부모 로그인
</button>
<Link href="/join/parent/1" className="btn-comm large filled rounded">
부모 회원가입
</Link>
<Link href="/login/child" className="btn-comm large ghost rounded">
아이 로그인
Expand Down