summaryrefslogtreecommitdiff
path: root/components/login
diff options
context:
space:
mode:
authordujinkim <dujin.kim@dtsolution.co.kr>2025-06-11 12:18:38 +0000
committerdujinkim <dujin.kim@dtsolution.co.kr>2025-06-11 12:18:38 +0000
commitff902243a658067fae858a615c0629aa2e0a4837 (patch)
tree42d30e986d1cbfb282c644c01730cd053b816b7a /components/login
parent42e38f41cb4c0b4bf9c08b71ed087cd7f0c7fc18 (diff)
(대표님) 20250611 21시 15분 OCR 등
Diffstat (limited to 'components/login')
-rw-r--r--components/login/login-form-shi.tsx12
-rw-r--r--components/login/login-form.tsx10
2 files changed, 11 insertions, 11 deletions
diff --git a/components/login/login-form-shi.tsx b/components/login/login-form-shi.tsx
index ef39d122..d22e15a8 100644
--- a/components/login/login-form-shi.tsx
+++ b/components/login/login-form-shi.tsx
@@ -203,10 +203,10 @@ export function LoginFormSHI({
<div className="mx-auto w-full flex flex-col space-y-6 sm:w-[350px]">
{/* Here's your existing login/OTP forms: */}
- {/* {!otpSent ?
- ( */}
- {/* <form onSubmit={handleSubmit} className="p-6 md:p-8"> */}
- <form onSubmit={handleOtpSubmit} className="p-6 md:p-8">
+ {!otpSent ? (
+ // ( */}
+ <form onSubmit={handleSubmit} className="p-6 md:p-8">
+ {/* <form onSubmit={handleOtpSubmit} className="p-6 md:p-8"> */}
<div className="flex flex-col gap-6">
<div className="flex flex-col items-center text-center">
<h1 className="text-2xl font-bold">{t('loginMessage')}</h1>
@@ -251,7 +251,7 @@ export function LoginFormSHI({
</div>
</div>
</form>
- {/* )
+ )
: (
@@ -305,7 +305,7 @@ export function LoginFormSHI({
</div>
</div>
</form>
- )} */}
+ )}
<div className="text-balance text-center text-xs text-muted-foreground [&_a]:underline [&_a]:underline-offset-4 hover:[&_a]:text-primary">
{t('termsMessage')} <a href="#">{t('termsOfService')}</a> {t('and')}
diff --git a/components/login/login-form.tsx b/components/login/login-form.tsx
index 04701c3a..4f9fbb53 100644
--- a/components/login/login-form.tsx
+++ b/components/login/login-form.tsx
@@ -264,10 +264,10 @@ export function LoginForm({
<div className="mx-auto w-full flex flex-col space-y-6 sm:w-[350px]">
{/* Here's your existing login/OTP forms: */}
- {/* {!otpSent ? ( */}
+ {!otpSent ? (
- {/* <form onSubmit={handleSubmit} className="p-6 md:p-8"> */}
- <form onSubmit={handleOtpSubmit} className="p-6 md:p-8">
+ <form onSubmit={handleSubmit} className="p-6 md:p-8">
+ {/* <form onSubmit={handleOtpSubmit} className="p-6 md:p-8"> */}
<div className="flex flex-col gap-6">
<div className="flex flex-col items-center text-center">
<h1 className="text-2xl font-bold">{t('loginMessage')}</h1>
@@ -399,7 +399,7 @@ export function LoginForm({
</div>
</div>
</form>
- {/* ) : (
+ ) : (
<form onSubmit={handleOtpSubmit} className="flex flex-col gap-4 p-6 md:p-8">
<div className="flex flex-col gap-6">
<div className="flex flex-col items-center text-center">
@@ -450,7 +450,7 @@ export function LoginForm({
</div>
</div>
</form>
- )} */}
+ )}
<div className="text-balance text-center text-xs text-muted-foreground [&_a]:underline [&_a]:underline-offset-4 hover:[&_a]:text-primary">
{t('termsMessage')} <a href="#">{t('termsOfService')}</a> {t('and')}