diff --git a/app/_components/LoginActionSection.tsx b/app/_components/LoginActionSection.tsx index 03a5528..1e9407c 100644 --- a/app/_components/LoginActionSection.tsx +++ b/app/_components/LoginActionSection.tsx @@ -1,17 +1,11 @@ "use client"; import BubbleDiv from "@/app/_components/BubbleDiv"; -import { KakaoLoginButton, GoogleLoginButton } from "./SocialButtonList"; -import LoginMethodDrawer from "./LoginMethodDrawer"; +import { KakaoLoginButton } from "./SocialButtonList"; +import Link from "next/link"; export default function ScreenLoginActionSection() { const handleKakaoLogin = () => { window.location.href = `${process.env.NEXT_PUBLIC_API_URL}/oauth2/authorization/kakao`; - // alert("코매칭 서비스는 10/13일부로 종료되었습니다."); - }; - - const handleGoogleLogin = () => { - window.location.href = `${process.env.NEXT_PUBLIC_API_URL}/oauth2/authorization/google`; - // alert("코매칭 서비스는 10/13일부로 종료되었습니다."); }; return ( @@ -24,14 +18,12 @@ export default function ScreenLoginActionSection() { > 카카오로 빠르게 시작하기 - - - 다른 방법으로 로그인 - - + 이메일로 로그인 + Developed By Team Comatching, Catholic University of Korea diff --git a/app/_components/LoginMethodDrawer.tsx b/app/_components/LoginMethodDrawer.tsx index 807c15a..223b2ea 100644 --- a/app/_components/LoginMethodDrawer.tsx +++ b/app/_components/LoginMethodDrawer.tsx @@ -1,60 +1,65 @@ -"use client"; -import React from "react"; -import Link from "next/link"; -import { KakaoLoginButton } from "./SocialButtonList"; -// import { KakaoLoginButton, GoogleLoginButton } from "./SocialButtonList"; -import { - Drawer, - DrawerContent, - DrawerTitle, - DrawerTrigger, -} from "@/components/ui/drawer"; +// "use client"; +// import React from "react"; +// import Link from "next/link"; +// import { KakaoLoginButton } from "./SocialButtonList"; +// // import { KakaoLoginButton, GoogleLoginButton } from "./SocialButtonList"; +// import { +// Drawer, +// DrawerContent, +// DrawerTitle, +// DrawerTrigger, +// } from "@/components/ui/drawer"; +// +// interface LoginMethodDrawerProps { +// children: React.ReactNode; +// onKakaoLogin: () => void; +// onGoogleLogin: () => void; +// } +// +// export default function LoginMethodDrawer({ +// children, +// onKakaoLogin, +// onGoogleLogin, +// }: LoginMethodDrawerProps) { +// return ( +// +// +// 또는 +// {children} +// +// +// 다른 로그인 방법 +// +// +// 로그인/회원가입 +// +// +// 로그인과 회원가입 수단은 동일합니다. +// +// 원하는 계정으로 시작하세요. +// +// +// +// 카카오로 시작하기 +// +// {/* +// 구글로 시작하기 +// */} +// +// 혹은 +// +// 이메일로 로그인 +// +// +// +// +// ); +// } -interface LoginMethodDrawerProps { - children: React.ReactNode; - onKakaoLogin: () => void; - onGoogleLogin: () => void; -} - -export default function LoginMethodDrawer({ - children, - onKakaoLogin, - onGoogleLogin, -}: LoginMethodDrawerProps) { - return ( - - - 또는 - {children} - - - 다른 로그인 방법 - - - 로그인/회원가입 - - - 로그인과 회원가입 수단은 동일합니다. - - 원하는 계정으로 시작하세요. - - - - 카카오로 시작하기 - - {/* - 구글로 시작하기 - */} - - 혹은 - - 이메일로 로그인 - - - - - ); +// TypeScript 빌더 경고 우회용 Dummy Export +export default function DummyLoginMethodDrawer() { + return null; }