chore: auth form

This commit is contained in:
Tristan Yang
2024-11-15 09:53:51 +08:00
parent f08336c5dd
commit d6e5ccb492
3 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "vocechat-web",
"version": "0.7.50",
"version": "0.8.1",
"homepage": "https://voce.chat",
"dependencies": {
"@metamask/onboarding": "^1.0.1",
+3 -3
View File
@@ -138,18 +138,18 @@ export default function LoginPage() {
onClick={handleBack}
/>
)}
<div className="flex-center flex-col pb-6">
<div className="flex-center flex-col pb-6 w-full">
<img
src={logo || `${BASE_URL}/resource/organization/logo?t=${Date.now()}`}
alt="logo"
className="w-14 h-14 mb-3 md:mb-7 rounded-full"
/>
<h2 className="font-semibold text-2xl text-gray-800 dark:text-white">
<h2 className="font-semibold text-center text-balance text-2xl max-w-[420px] text-gray-800 dark:text-white">
{t("login.title", { name: serverName })}
</h2>
</div>
<form
className="flex flex-col gap-5 w-80 md:min-w-[360px]"
className="flex flex-col gap-5 md:min-w-[360px] w-full"
autoComplete="false"
onSubmit={handleLogin}
>
+2 -2
View File
@@ -148,13 +148,13 @@ export default function Register() {
alt="logo"
className="w-14 h-14 md:mb-7 rounded-full"
/>
<h2 className="font-semibold text-2xl text-gray-800 dark:text-white">
<h2 className="font-semibold text-center text-balance text-2xl text-gray-800 dark:text-white">
{t("reg.title", { name: serverName })}
</h2>
</div>
<form
className="flex flex-col gap-5 w-80 md:min-w-[360px]"
className="flex flex-col gap-5 md:min-w-[360px] w-full"
onSubmit={handleReg}
autoSave={"false"}
autoComplete={"true"}