UI updates (#135)
This commit is contained in:
@ -85,24 +85,24 @@ export default function LoginPage() {
|
||||
<>
|
||||
<h2>Other Login Methods</h2>
|
||||
<div className="flex">
|
||||
<div className="btn" onClick={(e) => doNip07Login()}>Login with Extension (NIP-07)</div>
|
||||
<button type="button" onClick={(e) => doNip07Login()}>Login with Extension (NIP-07)</button>
|
||||
</div>
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
||||
return (
|
||||
<>
|
||||
<div className="main-content">
|
||||
<h1>Login</h1>
|
||||
<div className="flex">
|
||||
<input type="text" placeholder="nsec / npub / nip-05 / hex private key..." className="f-grow" onChange={e => setKey(e.target.value)} />
|
||||
</div>
|
||||
{error.length > 0 ? <b className="error">{error}</b> : null}
|
||||
<div className="tabs">
|
||||
<div className="btn" onClick={(e) => doLogin()}>Login</div>
|
||||
<div className="btn" onClick={() => makeRandomKey()}>Generate Key</div>
|
||||
<button type="button" onClick={(e) => doLogin()}>Login</button>
|
||||
<button type="button" onClick={() => makeRandomKey()}>Generate Key</button>
|
||||
</div>
|
||||
{altLogins()}
|
||||
</>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user