mirror of
https://github.com/penpot/penpot.git
synced 2025-01-24 15:39:50 -05:00
📎 Add correct copys and icons to login page
This commit is contained in:
parent
57399aeab2
commit
0c9a06789a
21 changed files with 19 additions and 90 deletions
|
@ -1,10 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" width="128" height="128" viewBox="0 0 13.1072 13.10542" preserveAspectRatio="xMinYMin meet">
|
||||
<path d="M6.5534 13.1502l2.41333-7.42742H4.14l2.41334 7.42743z" fill="#e24329"/>
|
||||
<path d="M6.5534 13.15016L4.14 5.72273H.75783l5.79556 7.42743z" fill="#fc6d26"/>
|
||||
<path d="M.75783 5.72273L.02446 7.97991a.49964.49964 0 00.18147.5586l6.34746 4.6117L.75777 5.72278z" fill="#fca326"/>
|
||||
<path d="M.75783 5.72278H4.14L2.68654 1.24927c-.0748-.2302-.40045-.23015-.4752 0L.75783 5.72278z" fill="#e24329"/>
|
||||
<path d="M6.5534 13.15016l2.41333-7.42743h3.38223l-5.79562 7.42743z" fill="#fc6d26"/>
|
||||
<path d="M12.34896 5.72273l.73336 2.25718" fill="#fca326"/>
|
||||
<path d="M12.34896 5.72278H8.96673l1.45351-4.47351c.0748-.2302.40045-.23015.4752 0l1.45352 4.47351z" fill="#e24329"/>
|
||||
<path d="M12.34937 5.72273l.73337 2.25718a.49964.49964 0 01-.18147.5586l-6.34746 4.6117 5.79561-7.42742z" fill="#fca326"/>
|
||||
</svg>
|
||||
<svg viewBox="3658.551 302.026 20 17.949" width="20" height="17.949" xmlns="http://www.w3.org/2000/svg" style="-webkit-print-color-adjust:exact"><path d="m3668.55 319.974 3.685-11.043h-7.364l3.68 11.043ZM3659.71 308.932l-1.122 3.355a.733.733 0 0 0 .277.83l9.685 6.857-8.84-11.042ZM3659.71 308.931h5.16l-2.22-6.65c-.114-.34-.61-.34-.727 0l-2.213 6.65Z" style="fill:#fff"/><path d="m3677.396 308.932 1.118 3.355a.733.733 0 0 1-.276.83l-9.688 6.857 8.846-11.042ZM3677.396 308.931h-5.16l2.216-6.65c.114-.34.61-.34.727 0l2.217 6.65ZM3668.55 319.974l3.685-11.042h5.16l-8.845 11.042ZM3668.55 319.974l-8.84-11.042h5.16l3.68 11.042Z" style="fill:#fff"/></svg>
|
Before Width: | Height: | Size: 954 B After Width: | Height: | Size: 650 B |
1
frontend/resources/images/icons/brand-openid.svg
Normal file
1
frontend/resources/images/icons/brand-openid.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg viewBox="7437 302 20.011 18.182" width="20.011" height="18.182" xmlns="http://www.w3.org/2000/svg" style="-webkit-print-color-adjust:exact"><path d="M7455.039 309.1c-1.9-1.183-4.555-1.918-7.46-1.918-5.845 0-10.579 2.922-10.579 6.526 0 3.3 3.945 6.007 9.055 6.473v-1.9c-3.442-.43-6.024-2.313-6.024-4.573 0-2.564 3.37-4.662 7.549-4.662 2.08 0 3.962.52 5.325 1.363l-1.937 1.202h6.043v-3.73l-1.972 1.22Zm-8.984-5.146v16.227l3.03-1.9V302l-3.03 1.954Z" style="fill:#fff;fill-opacity:1"/></svg>
|
After Width: | Height: | Size: 492 B |
|
@ -200,3 +200,4 @@
|
|||
margin: 0 $size-2;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -25,7 +25,8 @@
|
|||
(def show-alt-login-buttons?
|
||||
(or cf/google-client-id
|
||||
cf/gitlab-client-id
|
||||
cf/github-client-id))
|
||||
cf/github-client-id
|
||||
cf/oidc-client-id))
|
||||
|
||||
(s/def ::email ::us/email)
|
||||
(s/def ::password ::us/not-empty-string)
|
||||
|
@ -137,29 +138,25 @@
|
|||
(when cf/google-client-id
|
||||
[:a.btn-primary.btn-large.btn-google-auth
|
||||
{:on-click #(login-with-oauth % :google params)}
|
||||
[:img.logo
|
||||
{:src "/images/icons/brand-google.svg"}]
|
||||
[:span.logo i/brand-google]
|
||||
(tr "auth.login-with-google-submit")])
|
||||
|
||||
(when cf/gitlab-client-id
|
||||
[:a.btn-primary.btn-large.btn-gitlab-auth
|
||||
{:on-click #(login-with-oauth % :gitlab params)}
|
||||
[:img.logo
|
||||
{:src "/images/icons/brand-gitlab.svg"}]
|
||||
(tr "auth.login-with-gitlab-submit")])
|
||||
|
||||
(when cf/github-client-id
|
||||
[:a.btn-primary.btn-large.btn-github-auth
|
||||
{:on-click #(login-with-oauth % :github params)}
|
||||
[:img.logo
|
||||
{:src "/images/icons/brand-github.svg"}]
|
||||
[:span.logo i/brand-github]
|
||||
(tr "auth.login-with-github-submit")])
|
||||
|
||||
(when cf/oidc-client-id
|
||||
(when cf/gitlab-client-id
|
||||
[:a.btn-primary.btn-large.btn-gitlab-auth
|
||||
{:on-click #(login-with-oauth % :gitlab params)}
|
||||
[:span.logo i/brand-gitlab]
|
||||
(tr "auth.login-with-gitlab-submit")])
|
||||
|
||||
(when cf/oidc-client-id
|
||||
[:a.btn-primary.btn-large.btn-github-auth
|
||||
{:on-click #(login-with-oauth % :oidc params)}
|
||||
[:img.logo
|
||||
{:src "/images/icons/brand-github.svg"}]
|
||||
[:span.logo i/brand-openid]
|
||||
(tr "auth.login-with-oidc-submit")])])
|
||||
|
||||
(mf/defc login-button-oidc
|
||||
|
@ -174,7 +171,6 @@
|
|||
[:div.generic-form.login-form
|
||||
[:div.form-container
|
||||
[:h1 {:data-test "login-title"} (tr "auth.login-title")]
|
||||
[:div.subtitle (tr "auth.login-subtitle")]
|
||||
|
||||
(when show-alt-login-buttons?
|
||||
[:*
|
||||
|
|
|
@ -170,6 +170,10 @@
|
|||
(def uppercase (icon-xref :uppercase))
|
||||
(def user (icon-xref :user))
|
||||
|
||||
(def brand-openid (icon-xref :brand-openid))
|
||||
(def brand-github (icon-xref :brand-github))
|
||||
(def brand-gitlab (icon-xref :brand-gitlab))
|
||||
(def brand-google (icon-xref :brand-google))
|
||||
|
||||
(def loader-pencil
|
||||
(mf/html
|
||||
|
|
|
@ -56,10 +56,6 @@ msgstr "تسجيل الدخول هنا"
|
|||
msgid "auth.login-submit"
|
||||
msgstr "تسجيل الدخول"
|
||||
|
||||
#: src/app/main/ui/auth/login.cljs
|
||||
msgid "auth.login-subtitle"
|
||||
msgstr "أدخل التفاصيل أدناه"
|
||||
|
||||
#: src/app/main/ui/auth/login.cljs
|
||||
msgid "auth.login-title"
|
||||
msgstr "سعيد برؤيتك مجددا!"
|
||||
|
|
|
@ -59,10 +59,6 @@ msgstr "Inicieu la sessió aquí"
|
|||
msgid "auth.login-submit"
|
||||
msgstr "Entra"
|
||||
|
||||
#: src/app/main/ui/auth/login.cljs
|
||||
msgid "auth.login-subtitle"
|
||||
msgstr "Introduïu les vostres dades a continuació"
|
||||
|
||||
#: src/app/main/ui/auth/login.cljs
|
||||
msgid "auth.login-title"
|
||||
msgstr "Ens agrada tornar a veure-vos!"
|
||||
|
|
|
@ -59,10 +59,6 @@ msgstr "Log på her"
|
|||
msgid "auth.login-submit"
|
||||
msgstr "Log på"
|
||||
|
||||
#: src/app/main/ui/auth/login.cljs
|
||||
msgid "auth.login-subtitle"
|
||||
msgstr "Indtast dine oplysninger nedenunder"
|
||||
|
||||
#: src/app/main/ui/auth/login.cljs
|
||||
msgid "auth.login-title"
|
||||
msgstr "Fedt at se dig igen!"
|
||||
|
|
|
@ -59,10 +59,6 @@ msgstr "Hier einloggen"
|
|||
msgid "auth.login-submit"
|
||||
msgstr "Anmelden"
|
||||
|
||||
#: src/app/main/ui/auth/login.cljs
|
||||
msgid "auth.login-subtitle"
|
||||
msgstr "Geben Sie unten Ihre Daten ein"
|
||||
|
||||
#: src/app/main/ui/auth/login.cljs
|
||||
msgid "auth.login-title"
|
||||
msgstr "Schön, Sie wiederzusehen!"
|
||||
|
|
|
@ -54,10 +54,6 @@ msgstr "Συνδεθείτε εδώ"
|
|||
msgid "auth.login-submit"
|
||||
msgstr "Συνδεθείτε"
|
||||
|
||||
#: src/app/main/ui/auth/login.cljs
|
||||
msgid "auth.login-subtitle"
|
||||
msgstr "Εισαγάγετε τα στοιχεία σας παρακάτω"
|
||||
|
||||
#: src/app/main/ui/auth/login.cljs
|
||||
msgid "auth.login-title"
|
||||
msgstr "Χαίρομαι που σας ξαναδώ"
|
||||
|
|
|
@ -57,10 +57,6 @@ msgstr "Login here"
|
|||
msgid "auth.login-submit"
|
||||
msgstr "Login"
|
||||
|
||||
#: src/app/main/ui/auth/login.cljs
|
||||
msgid "auth.login-subtitle"
|
||||
msgstr "Enter your details below"
|
||||
|
||||
#: src/app/main/ui/auth/login.cljs
|
||||
msgid "auth.login-title"
|
||||
msgstr "Great to see you again!"
|
||||
|
|
|
@ -59,10 +59,6 @@ msgstr "Entra aquí"
|
|||
msgid "auth.login-submit"
|
||||
msgstr "Entrar"
|
||||
|
||||
#: src/app/main/ui/auth/login.cljs
|
||||
msgid "auth.login-subtitle"
|
||||
msgstr "Introduce tus datos aquí"
|
||||
|
||||
#: src/app/main/ui/auth/login.cljs
|
||||
msgid "auth.login-title"
|
||||
msgstr "¡Un placer verte de nuevo!"
|
||||
|
|
|
@ -59,10 +59,6 @@ msgstr "Se connecter ici"
|
|||
msgid "auth.login-submit"
|
||||
msgstr "Se connecter"
|
||||
|
||||
#: src/app/main/ui/auth/login.cljs
|
||||
msgid "auth.login-subtitle"
|
||||
msgstr "Entrez vos informations ci‑dessous"
|
||||
|
||||
#: src/app/main/ui/auth/login.cljs
|
||||
msgid "auth.login-title"
|
||||
msgstr "Ravi de vous revoir !"
|
||||
|
|
|
@ -56,10 +56,6 @@ msgstr "כניסה מכאן"
|
|||
msgid "auth.login-submit"
|
||||
msgstr "כניסה"
|
||||
|
||||
#: src/app/main/ui/auth/login.cljs
|
||||
msgid "auth.login-subtitle"
|
||||
msgstr "נא למלא את הפרטים שלך להלן"
|
||||
|
||||
#: src/app/main/ui/auth/login.cljs
|
||||
msgid "auth.login-title"
|
||||
msgstr "שמחים לראות אותך שוב!"
|
||||
|
|
|
@ -63,10 +63,6 @@ msgstr "Masuk disini"
|
|||
msgid "auth.login-submit"
|
||||
msgstr "Masuk"
|
||||
|
||||
#: src/app/main/ui/auth/login.cljs
|
||||
msgid "auth.login-subtitle"
|
||||
msgstr "Masukkan detail anda di bawah ini"
|
||||
|
||||
#: src/app/main/ui/auth/login.cljs
|
||||
msgid "auth.login-title"
|
||||
msgstr "Senang bertemu denganmu lagi!"
|
||||
|
|
|
@ -59,10 +59,6 @@ msgstr "Entrar aqui"
|
|||
msgid "auth.login-submit"
|
||||
msgstr "Entrar"
|
||||
|
||||
#: src/app/main/ui/auth/login.cljs
|
||||
msgid "auth.login-subtitle"
|
||||
msgstr "Insira seus dados abaixo"
|
||||
|
||||
#: src/app/main/ui/auth/login.cljs
|
||||
msgid "auth.login-title"
|
||||
msgstr "Bom te ver de novo!"
|
||||
|
|
|
@ -60,10 +60,6 @@ msgstr "Conectează-te"
|
|||
msgid "auth.login-submit"
|
||||
msgstr "Intră în cont"
|
||||
|
||||
#: src/app/main/ui/auth/login.cljs
|
||||
msgid "auth.login-subtitle"
|
||||
msgstr "Introduceți detaliile dvs. mai jos"
|
||||
|
||||
#: src/app/main/ui/auth/login.cljs
|
||||
msgid "auth.login-title"
|
||||
msgstr "Mă bucur să te văd din nou!"
|
||||
|
|
|
@ -48,10 +48,6 @@ msgstr "Войти здесь"
|
|||
msgid "auth.login-submit"
|
||||
msgstr "Вход"
|
||||
|
||||
#: src/app/main/ui/auth/login.cljs
|
||||
msgid "auth.login-subtitle"
|
||||
msgstr "Введите информацию о себе ниже"
|
||||
|
||||
#: src/app/main/ui/auth/login.cljs
|
||||
msgid "auth.login-title"
|
||||
msgstr "Рады видеть Вас снова!"
|
||||
|
|
|
@ -59,10 +59,6 @@ msgstr "Buradan oturum açın"
|
|||
msgid "auth.login-submit"
|
||||
msgstr "Oturum aç"
|
||||
|
||||
#: src/app/main/ui/auth/login.cljs
|
||||
msgid "auth.login-subtitle"
|
||||
msgstr "Bilgilerini aşağıdaki alana gir"
|
||||
|
||||
#: src/app/main/ui/auth/login.cljs
|
||||
msgid "auth.login-title"
|
||||
msgstr "Seni tekrar görmek süper!"
|
||||
|
|
|
@ -55,10 +55,6 @@ msgstr "在这里登录"
|
|||
msgid "auth.login-submit"
|
||||
msgstr "登录"
|
||||
|
||||
#: src/app/main/ui/auth/login.cljs
|
||||
msgid "auth.login-subtitle"
|
||||
msgstr "请在下面输入你的详细信息"
|
||||
|
||||
#: src/app/main/ui/auth/login.cljs
|
||||
msgid "auth.login-title"
|
||||
msgstr "很高兴又见到你!"
|
||||
|
|
|
@ -55,10 +55,6 @@ msgstr "在此登入"
|
|||
msgid "auth.login-submit"
|
||||
msgstr "登入"
|
||||
|
||||
#: src/app/main/ui/auth/login.cljs
|
||||
msgid "auth.login-subtitle"
|
||||
msgstr "在下方輸入您的詳細資訊"
|
||||
|
||||
#: src/app/main/ui/auth/login.cljs
|
||||
msgid "auth.login-title"
|
||||
msgstr "很高興再次見到你!"
|
||||
|
|
Loading…
Add table
Reference in a new issue