|
@ -90,24 +90,24 @@ const PageSignUp: FC<PageSignUpProps> = () => { |
|
|
{errors.name && <p className="text-xs text-red-600">{errors.name}</p>} |
|
|
{errors.name && <p className="text-xs text-red-600">{errors.name}</p>} |
|
|
</label> |
|
|
</label> |
|
|
<label className="block"> |
|
|
<label className="block"> |
|
|
<span className="text-neutral-800 dark:text-neutral-200">Phone Number</span> |
|
|
|
|
|
|
|
|
<span className=" text-neutral-800 dark:text-neutral-200">Phone Number</span> |
|
|
<div className="flex items-center mt-1 rounded-2xl border border-neutral-200 bg-white dark:border-neutral-700 dark:bg-neutral-900 focus-within:ring-0"> |
|
|
<div className="flex items-center mt-1 rounded-2xl border border-neutral-200 bg-white dark:border-neutral-700 dark:bg-neutral-900 focus-within:ring-0"> |
|
|
<span className="px-2 mr-[-15px] text-neutral-800 dark:text-neutral-200">+</span> |
|
|
<span className="px-2 mr-[-15px] text-neutral-800 dark:text-neutral-200">+</span> |
|
|
<input |
|
|
<input |
|
|
value={countryCode} |
|
|
value={countryCode} |
|
|
onChange={countryCodeHandler} |
|
|
onChange={countryCodeHandler} |
|
|
type="text" |
|
|
type="text" |
|
|
placeholder="98" |
|
|
|
|
|
|
|
|
placeholder="000" |
|
|
maxLength={3} |
|
|
maxLength={3} |
|
|
className="w-[50px] p-2 mr-[-10px] text-center border-none outline-none bg-transparent text-neutral-800 dark:text-neutral-200" |
|
|
|
|
|
|
|
|
className="w-[50px] no-border-on-focus p-2 mr-[-10px] shadow-none text-center border-none outline-none bg-transparent text-neutral-800 dark:text-neutral-200" |
|
|
/> |
|
|
/> |
|
|
<span className="px-2 text-neutral-500">|</span> |
|
|
<span className="px-2 text-neutral-500">|</span> |
|
|
<input |
|
|
<input |
|
|
value={phoneNumber} |
|
|
value={phoneNumber} |
|
|
onChange={(e) => setPhoneNumber(e.target.value)} |
|
|
onChange={(e) => setPhoneNumber(e.target.value)} |
|
|
type="text" |
|
|
type="text" |
|
|
placeholder="26363687" |
|
|
|
|
|
className="flex-1 p-2 border-none outline-none bg-transparent text-neutral-800 dark:text-neutral-200" |
|
|
|
|
|
|
|
|
placeholder="" |
|
|
|
|
|
className="flex-1 p-2 no-border-on-focus border-none outline-none bg-transparent text-neutral-800 dark:text-neutral-200" |
|
|
/> |
|
|
/> |
|
|
</div> |
|
|
</div> |
|
|
{errors.countryCode && <p className="text-xs text-red-600">{errors.countryCode}</p>} |
|
|
{errors.countryCode && <p className="text-xs text-red-600">{errors.countryCode}</p>} |
|
|