From 2a24c32a1ac9e64c2e760138bfd474345a40ed4e Mon Sep 17 00:00:00 2001 From: minseong Date: Thu, 29 May 2025 03:14:58 +0900 Subject: [PATCH] =?UTF-8?q?hotfix(apps/web):=20=EC=84=9C=EB=B2=84=20?= =?UTF-8?q?=EC=97=90=EB=9F=AC=20=EC=95=8C=EB=A6=BC=20=EB=AA=A8=EB=8B=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/web/src/app/join/Join.tsx | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/apps/web/src/app/join/Join.tsx b/apps/web/src/app/join/Join.tsx index 35c1eb5..77fdcf0 100644 --- a/apps/web/src/app/join/Join.tsx +++ b/apps/web/src/app/join/Join.tsx @@ -5,13 +5,14 @@ import * as styles from './page.css'; import InsteadLogoImage from '@web/assets/images/instead.svg'; import { Spacing } from '@repo/ui/Spacing'; import JoinImage from '@web/assets/images/join.png'; -import { useToast } from '@repo/ui/hooks'; +import { useToast, useModal } from '@repo/ui/hooks'; import { useEffect } from 'react'; import { Text } from '@repo/ui/Text'; import { GoogleLoginButton } from './_components/GoogleLoginButton/GoogleLoginButton'; export default function JoinPage() { const toast = useToast(); + const modal = useModal(); useEffect(() => { const params = new URLSearchParams(window.location.search); @@ -20,8 +21,15 @@ export default function JoinPage() { } }, [toast]); - const handleGoogleLogin = () => { - window.location.href = process.env.NEXT_PUBLIC_GOOGLE_AUTH_URL ?? ''; + const handleGoogleLogin = async () => { + //window.location.href = process.env.NEXT_PUBLIC_GOOGLE_AUTH_URL ?? ''; + modal.alert({ + title: '서버 점검 중', + description: + '5/30(금) 오전 1시에 완료될 예정이에요\n이용에 불편을 드려 죄송해요', + alertButton: '확인', + isCloseOnDimmerClick: false, + }); }; return (