0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-12 15:51:37 -05:00

🐛 Fix login page errors

This commit is contained in:
Eva 2024-01-15 10:31:42 +01:00 committed by Alonso Torres
parent 706f91db39
commit 4178be3acf
2 changed files with 3 additions and 11 deletions

View file

@ -73,6 +73,9 @@
text-transform: uppercase;
font-size: $fs-11;
}
&.register a {
@extend .button-primary;
}
}
.forgot-password {

View file

@ -275,10 +275,6 @@
(mf/use-fn
#(st/emit! (rt/nav :auth-register {} params)))
on-pass-recovery
(mf/use-fn
#(st/emit! (rt/nav :auth-recovery-request)))
on-create-demo-profile
(mf/use-fn
#(st/emit! (du/create-demo-profile)))]
@ -292,13 +288,6 @@
[:& login-methods {:params params}]
[:div {:class (stl/css :links)}
(when (or (contains? cf/flags :login)
(contains? cf/flags :login-with-password))
[:div {:class (stl/css :link-entry :register)}
[:& lk/link {:action on-pass-recovery
:data-test "forgot-password"}
(tr "auth.forgot-password")]])
(when (contains? cf/flags :registration)
[:div {:class (stl/css :link-entry :register)}
[:span (tr "auth.register") " "]