mirror of
https://github.com/penpot/penpot.git
synced 2025-01-08 07:50:43 -05:00
Revert "✨ Add a/b testing for signup image"
This reverts commit 5ac6f04857
.
This commit is contained in:
parent
0ccae600bc
commit
5efc56eb5a
2 changed files with 4 additions and 39 deletions
|
@ -49,7 +49,6 @@
|
||||||
(not= section :auth-register-success))
|
(not= section :auth-register-success))
|
||||||
params (:query-params route)
|
params (:query-params route)
|
||||||
error (:error params)
|
error (:error params)
|
||||||
hide-image-auth? (cf/external-feature-flag "signup-01" "test")
|
|
||||||
default-light? (cf/external-feature-flag "onboarding-02" "test")]
|
default-light? (cf/external-feature-flag "onboarding-02" "test")]
|
||||||
|
|
||||||
(mf/with-effect []
|
(mf/with-effect []
|
||||||
|
@ -63,17 +62,14 @@
|
||||||
(when error
|
(when error
|
||||||
(st/emit! (du/show-redirect-error error))))
|
(st/emit! (du/show-redirect-error error))))
|
||||||
|
|
||||||
[:main {:class (stl/css-case :auth-section (not hide-image-auth?)
|
[:main {:class (stl/css :auth-section)}
|
||||||
:auth-section-hide-image hide-image-auth?)}
|
|
||||||
(when show-login-icon
|
(when show-login-icon
|
||||||
[:h1 {:class (stl/css :logo-container)}
|
[:h1 {:class (stl/css :logo-container)}
|
||||||
[:a {:href "#/" :title "Penpot" :class (stl/css :logo-btn)} i/logo]])
|
[:a {:href "#/" :title "Penpot" :class (stl/css :logo-btn)} i/logo]])
|
||||||
(when (not hide-image-auth?)
|
[:div {:class (stl/css :login-illustration)}
|
||||||
[:div {:class (stl/css :login-illustration)}
|
i/login-illustration]
|
||||||
i/login-illustration])
|
|
||||||
|
|
||||||
[:section {:class (stl/css-case :auth-content (not hide-image-auth?)
|
[:section {:class (stl/css :auth-content)}
|
||||||
:auth-content-hide-image hide-image-auth?)}
|
|
||||||
|
|
||||||
(case section
|
(case section
|
||||||
:auth-register
|
:auth-register
|
||||||
|
|
|
@ -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 {
|
.logo-container {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: $s-20;
|
top: $s-20;
|
||||||
|
@ -83,19 +65,6 @@
|
||||||
width: 100%;
|
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 {
|
.logo-btn {
|
||||||
svg {
|
svg {
|
||||||
width: $s-120;
|
width: $s-120;
|
||||||
|
|
Loading…
Reference in a new issue