-
- {localize('Stop creating an account?')}
-
-
-
- {localize('If you hit Yes, the info you entered will be lost.')}
+ if (isNavigationFromExternalPlatform(routing_history, routes.binarybot)) {
+ window.location = routes.binarybot;
+ }
+ };
+
+ return (
+
+
+
+ {localize('Take me to Demo account')}
+
+
+ {localize('I will setup my real account later.')}
+
+
+
setIsClosingCreateRealAccountModal(false)}
+ onCancel={closeModal}
+ />
- setIsClosingCreateRealAccountModal(false)}
- onCancel={closeModal}
- />
-
-
- );
-};
+
+ );
+ }
+);
export default WarningMessageModal;
diff --git a/packages/core/src/App/Containers/WarningCloseCreateRealAccountModal/warning-close-create-real-account-modal.scss b/packages/core/src/App/Containers/WarningCloseCreateRealAccountModal/warning-close-create-real-account-modal.scss
index 26b9baf55fd9..a69a2a91111e 100644
--- a/packages/core/src/App/Containers/WarningCloseCreateRealAccountModal/warning-close-create-real-account-modal.scss
+++ b/packages/core/src/App/Containers/WarningCloseCreateRealAccountModal/warning-close-create-real-account-modal.scss
@@ -5,7 +5,7 @@
padding: 2.4rem;
width: 44rem;
@include mobile {
- width: unset;
+ max-width: 35rem;
}
.dc-form-submit-button {
diff --git a/packages/core/src/sass/details-form.scss b/packages/core/src/sass/details-form.scss
index f582f529c8bf..77616889b902 100644
--- a/packages/core/src/sass/details-form.scss
+++ b/packages/core/src/sass/details-form.scss
@@ -156,6 +156,9 @@
.dc-page-error__container {
height: 100%;
}
+ &__heading {
+ margin: 1.6rem;
+ }
&__description {
margin: 1.6rem auto;
width: 45%;