feat: implement channel runtime connectors
This commit is contained in:
@ -52,18 +52,18 @@ export default function LoginPage() {
|
||||
className="login-logo"
|
||||
priority
|
||||
/>
|
||||
<h1>Beaver Agentsandbox</h1>
|
||||
<h1>Beaver AgentSandbox</h1>
|
||||
|
||||
<form className="auth-form" onSubmit={handleSubmit}>
|
||||
<div className="field login-field">
|
||||
<label className="visually-hidden" htmlFor="username">{pickPortalText(locale, '邮箱或用户名', 'Email or username')}</label>
|
||||
<MailIcon />
|
||||
<label className="visually-hidden" htmlFor="username">{pickPortalText(locale, '用户名', 'Username')}</label>
|
||||
<UserIcon />
|
||||
<input
|
||||
id="username"
|
||||
value={username}
|
||||
onChange={(event) => setUsername(event.target.value)}
|
||||
autoComplete="username"
|
||||
placeholder={pickPortalText(locale, '邮箱', 'Email')}
|
||||
placeholder={pickPortalText(locale, '用户名', 'Username')}
|
||||
required
|
||||
/>
|
||||
</div>
|
||||
@ -114,11 +114,11 @@ export default function LoginPage() {
|
||||
);
|
||||
}
|
||||
|
||||
function MailIcon() {
|
||||
function UserIcon() {
|
||||
return (
|
||||
<svg className="field-icon" viewBox="0 0 24 24" aria-hidden="true">
|
||||
<path d="M4.75 6.75h14.5v10.5H4.75z" />
|
||||
<path d="m5.25 7.25 6.75 5.5 6.75-5.5" />
|
||||
<path d="M12 12.25a3.25 3.25 0 1 0 0-6.5 3.25 3.25 0 0 0 0 6.5Z" />
|
||||
<path d="M5.75 19.25a6.25 6.25 0 0 1 12.5 0" />
|
||||
</svg>
|
||||
);
|
||||
}
|
||||
|
||||
@ -182,7 +182,7 @@ export default function RegisterPage() {
|
||||
</div>
|
||||
) : (
|
||||
<div className="auth-card login-card register-card">
|
||||
<BrandHeader title="Beaver Agentsandbox" />
|
||||
<BrandHeader title="Beaver AgentSandbox" />
|
||||
|
||||
<form className="auth-form" onSubmit={handleSubmit}>
|
||||
<div className="field login-field">
|
||||
|
||||
Reference in New Issue
Block a user