mirror of
https://github.com/status-im/status-react.git
synced 2025-01-23 17:29:08 +00:00
parent
2ec6a3ed06
commit
e8008d0aa9
@ -13,6 +13,11 @@
|
||||
{:flex 1
|
||||
:width width})
|
||||
|
||||
(def page-title
|
||||
{:margin-top 12
|
||||
:margin-horizontal 20
|
||||
:margin-bottom 8})
|
||||
|
||||
(def page-heading {:z-index 1})
|
||||
|
||||
(defn buttons
|
||||
|
@ -16,7 +16,7 @@
|
||||
(defn page-title
|
||||
[]
|
||||
[quo/text-combinations
|
||||
{:container-style {:margin-top 12 :margin-horizontal 20}
|
||||
{:container-style style/page-title
|
||||
:title (i18n/label :t/intro-wizard-title6)
|
||||
:title-accessibility-label :notifications-title
|
||||
:description (i18n/label :t/enable-notifications-sub-title)
|
||||
|
@ -9,9 +9,14 @@
|
||||
|
||||
(defn page-illustration
|
||||
[width]
|
||||
{:width width
|
||||
:margin-top 12
|
||||
:margin-bottom 4})
|
||||
{:width width
|
||||
:aspect-ratio 0.7
|
||||
:height :auto})
|
||||
|
||||
(def page-title
|
||||
{:margin-top 12
|
||||
:margin-horizontal 20
|
||||
:margin-bottom 8})
|
||||
|
||||
(defn buttons
|
||||
[insets]
|
||||
|
@ -16,7 +16,7 @@
|
||||
[]
|
||||
(let [new-account? (rf/sub [:onboarding/new-account?])]
|
||||
[quo/text-combinations
|
||||
{:container-style {:margin-top 12 :margin-horizontal 20}
|
||||
{:container-style style/page-title
|
||||
:title (i18n/label (if new-account?
|
||||
:t/welcome-to-web3
|
||||
:t/welcome-back))
|
||||
@ -45,10 +45,9 @@
|
||||
:on-press #(rf/dispatch [:navigate-back])}]
|
||||
[page-title]
|
||||
[rn/image
|
||||
{:style (style/page-illustration (:width window))
|
||||
:resize-mode :stretch
|
||||
:resize-method :scale
|
||||
:source (resources/get-image :welcome-illustration)}]
|
||||
{:style (style/page-illustration (:width window))
|
||||
:resize-mode :contain
|
||||
:source (resources/get-image :welcome-illustration)}]
|
||||
[rn/view {:style (style/buttons insets)}
|
||||
(when rn/small-screen?
|
||||
[linear-gradient/linear-gradient
|
||||
|
Loading…
x
Reference in New Issue
Block a user