This commit is contained in:
root
2025-07-23 18:45:58 +09:00
parent cfa7f160d9
commit 7e795083e5

View File

@@ -3,6 +3,7 @@
import axios from "axios"; import axios from "axios";
import { useState } from "react"; import { useState } from "react";
import loginButton from '@/assets/kakao_login_medium_narrow.png'; import loginButton from '@/assets/kakao_login_medium_narrow.png';
import Link from "next/link";
const LoginForm = () => { const LoginForm = () => {
@@ -30,9 +31,11 @@ const LoginForm = () => {
return ( return (
<> <>
<button type="button" onClick={login}> <Link href={'https://kauth.kakao.com/oauth/authorize'}>
<button type="button">
<img src={loginButton.src} alt="카카오톡 로그인"/> <img src={loginButton.src} alt="카카오톡 로그인"/>
</button> </button>
</Link>
</> </>
) )
} }