From e96d2336cf757aaaf6a8bbeb25a29de2de281f9a Mon Sep 17 00:00:00 2001 From: elhombretecla Date: Wed, 17 Feb 2021 17:28:51 +0100 Subject: [PATCH] :sparkles: Add links to web and terms --- .../resources/styles/main/layouts/login.scss | 19 +++++++++++++++---- frontend/src/app/main/ui/auth.cljs | 8 ++++++-- 2 files changed, 21 insertions(+), 6 deletions(-) diff --git a/frontend/resources/styles/main/layouts/login.scss b/frontend/resources/styles/main/layouts/login.scss index ba80b79f3..e4b890d37 100644 --- a/frontend/resources/styles/main/layouts/login.scss +++ b/frontend/resources/styles/main/layouts/login.scss @@ -45,12 +45,13 @@ } .auth-content { - grid-column: 2 / span 1; - height: 100vh; - display: flex; - justify-content: center; align-items: center; background-color: $color-white; + display: flex; + grid-column: 2 / span 1; + height: 100vh; + justify-content: center; + position: relative; .form-container { width: 412px; @@ -91,3 +92,13 @@ } } } + +.terms-login { + bottom: $big; + font-size: $fs14; + position: absolute; + + span { + margin: 0 $small; + } +} diff --git a/frontend/src/app/main/ui/auth.cljs b/frontend/src/app/main/ui/auth.cljs index 19065079b..ecb65ec20 100644 --- a/frontend/src/app/main/ui/auth.cljs +++ b/frontend/src/app/main/ui/auth.cljs @@ -37,7 +37,7 @@ [:div.auth [:section.auth-sidebar - [:a.logo {:href "/#/"} i/logo] + [:a.logo {:href "https://penpot.app"} i/logo] [:span.tagline (t locale "auth.sidebar-tagline")]] [:section.auth-content @@ -56,4 +56,8 @@ :auth-recovery [:& recovery-page {:locale locale - :params (:query-params route)}])]])) + :params (:query-params route)}]) + [:div.terms-login + [:a {:href "https://penpot.app/terms.html" :target "_blank"} "Terms of service"] + [:span "and"] + [:a {:href "https://penpot.app/privacy.html" :target "_blank"} "Privacy policy"]]]]))