From 5efc56eb5a48de690290070271a8ad63e1b00122 Mon Sep 17 00:00:00 2001 From: Alejandro Alonso Date: Mon, 19 Aug 2024 10:22:01 +0200 Subject: [PATCH] Revert ":sparkles: Add a/b testing for signup image" This reverts commit 5ac6f0485763cacace119ced31f16bb471193aa2. --- frontend/src/app/main/ui/auth.cljs | 12 ++++-------- frontend/src/app/main/ui/auth.scss | 31 ------------------------------ 2 files changed, 4 insertions(+), 39 deletions(-) diff --git a/frontend/src/app/main/ui/auth.cljs b/frontend/src/app/main/ui/auth.cljs index a47ecd150..c9773fee9 100644 --- a/frontend/src/app/main/ui/auth.cljs +++ b/frontend/src/app/main/ui/auth.cljs @@ -49,7 +49,6 @@ (not= section :auth-register-success)) params (:query-params route) error (:error params) - hide-image-auth? (cf/external-feature-flag "signup-01" "test") default-light? (cf/external-feature-flag "onboarding-02" "test")] (mf/with-effect [] @@ -63,17 +62,14 @@ (when error (st/emit! (du/show-redirect-error error)))) - [:main {:class (stl/css-case :auth-section (not hide-image-auth?) - :auth-section-hide-image hide-image-auth?)} + [:main {:class (stl/css :auth-section)} (when show-login-icon [:h1 {:class (stl/css :logo-container)} [:a {:href "#/" :title "Penpot" :class (stl/css :logo-btn)} i/logo]]) - (when (not hide-image-auth?) - [:div {:class (stl/css :login-illustration)} - i/login-illustration]) + [:div {:class (stl/css :login-illustration)} + i/login-illustration] - [:section {:class (stl/css-case :auth-content (not hide-image-auth?) - :auth-content-hide-image hide-image-auth?)} + [:section {:class (stl/css :auth-content)} (case section :auth-register diff --git a/frontend/src/app/main/ui/auth.scss b/frontend/src/app/main/ui/auth.scss index ff1a096a7..8f7e2087d 100644 --- a/frontend/src/app/main/ui/auth.scss +++ b/frontend/src/app/main/ui/auth.scss @@ -24,24 +24,6 @@ } } -// A-B text signup-01 -.auth-section-hide-image { - position: relative; - align-items: center; - background: var(--panel-background-color); - display: grid; - gap: $s-32; - height: 100%; - padding: $s-32; - width: 100%; - overflow: auto; - - @media (max-width: 992px) { - display: flex; - justify-content: center; - } -} - .logo-container { position: absolute; top: $s-20; @@ -83,19 +65,6 @@ width: 100%; } -// A-B text signup-01 -.auth-content-hide-image { - display: grid; - grid-template-rows: 1fr auto; - gap: $s-24; - height: fit-content; - margin: auto; - max-width: $s-412; - padding-block-end: $s-8; - position: relative; - width: 100%; -} - .logo-btn { svg { width: $s-120;