mirror of
https://github.com/penpot/penpot.git
synced 2025-06-07 19:11:40 +02:00
🐛 Fix login page errors
This commit is contained in:
parent
706f91db39
commit
4178be3acf
2 changed files with 3 additions and 11 deletions
|
@ -73,6 +73,9 @@
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
font-size: $fs-11;
|
font-size: $fs-11;
|
||||||
}
|
}
|
||||||
|
&.register a {
|
||||||
|
@extend .button-primary;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.forgot-password {
|
.forgot-password {
|
||||||
|
|
|
@ -275,10 +275,6 @@
|
||||||
(mf/use-fn
|
(mf/use-fn
|
||||||
#(st/emit! (rt/nav :auth-register {} params)))
|
#(st/emit! (rt/nav :auth-register {} params)))
|
||||||
|
|
||||||
on-pass-recovery
|
|
||||||
(mf/use-fn
|
|
||||||
#(st/emit! (rt/nav :auth-recovery-request)))
|
|
||||||
|
|
||||||
on-create-demo-profile
|
on-create-demo-profile
|
||||||
(mf/use-fn
|
(mf/use-fn
|
||||||
#(st/emit! (du/create-demo-profile)))]
|
#(st/emit! (du/create-demo-profile)))]
|
||||||
|
@ -292,13 +288,6 @@
|
||||||
[:& login-methods {:params params}]
|
[:& login-methods {:params params}]
|
||||||
|
|
||||||
[:div {:class (stl/css :links)}
|
[: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)
|
(when (contains? cf/flags :registration)
|
||||||
[:div {:class (stl/css :link-entry :register)}
|
[:div {:class (stl/css :link-entry :register)}
|
||||||
[:span (tr "auth.register") " "]
|
[:span (tr "auth.register") " "]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue