taler-typescript-core

Wallet core logic and WebUIs for various components
Log | Files | Refs | Submodules | README | LICENSE

commit 1236ec852aa79eefb9a30f3532d9637f7392b2d4
parent 9b48c0d32fc1289fa1a7da8fb269e4f412350edb
Author: Sebastian <sebasjm@gmail.com>
Date:   Mon, 29 Jan 2024 15:13:19 -0300

center text

Diffstat:
Mpackages/demobank-ui/src/pages/LoginForm.tsx | 18++++++++----------
1 file changed, 8 insertions(+), 10 deletions(-)

diff --git a/packages/demobank-ui/src/pages/LoginForm.tsx b/packages/demobank-ui/src/pages/LoginForm.tsx @@ -70,8 +70,8 @@ export function LoginForm({ username: !username ? i18n.str`Missing username` : // : !USERNAME_REGEX.test(username) - // ? i18n.str`Use letters and numbers only, and start with a lowercase letter` - undefined, + // ? i18n.str`Use letters and numbers only, and start with a lowercase letter` + undefined, password: !password ? i18n.str`Missing password` : undefined, }) ?? busy; @@ -241,14 +241,12 @@ export function LoginForm({ </form> {config.allow_registrations && routeRegister && ( - <p class="mt-10 text-center text-sm text-gray-500 border-t"> - <a - href={routeRegister.url({})} - class="flex mt-4 rounded-md bg-blue-600 px-3 py-1.5 text-sm font-semibold leading-6 text-white shadow-sm hover:bg-blue-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-blue-600" - > - <i18n.Translate>Register</i18n.Translate> - </a> - </p> + <a + href={routeRegister.url({})} + class="flex justify-center border-t mt-4 rounded-md bg-blue-600 px-3 py-1.5 text-sm font-semibold leading-6 text-white shadow-sm hover:bg-blue-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-blue-600" + > + <i18n.Translate>Register</i18n.Translate> + </a> )} </div> </div>