From c4cbb49f5756e6ba00f028a13af1d0048aac47a7 Mon Sep 17 00:00:00 2001 From: "M. Sarmad Qadeer" Date: Sat, 27 Jan 2024 21:51:21 +0500 Subject: [PATCH] website: update contact page layout if JS is disabled (#3331) * website: update page layout for the case if javascript is disabled in browser. * website: add noscript tag & update heading * website: do some changes in layout of contact page without JS --------- Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com> Co-authored-by: Evgeny Poberezkin --- website/langs/en.json | 4 +++- website/src/_includes/contact_page.html | 20 ++++++++++++++++---- website/src/css/style.css | 4 ++++ 3 files changed, 23 insertions(+), 5 deletions(-) diff --git a/website/langs/en.json b/website/langs/en.json index 1bb64c7efa..10db2dd4ed 100644 --- a/website/langs/en.json +++ b/website/langs/en.json @@ -250,5 +250,7 @@ "stable-versions-built-by-f-droid-org": "Stable versions built by F-Droid.org", "releases-to-this-repo-are-done-1-2-days-later": "The releases to this repo are done 1-2 days later", "f-droid-page-f-droid-org-repo-section-text": "SimpleX Chat and F-Droid.org repositories sign builds with the different keys. To switch, please export the chat database and re-install the app.", - "jobs": "Join team" + "jobs": "Join team", + "please-enable-javascript": "Please enable JavaScript to see the QR code.", + "please-use-link-in-mobile-app": "Please use the link in the mobile app" } diff --git a/website/src/_includes/contact_page.html b/website/src/_includes/contact_page.html index 6beb148f8d..b5f7442a75 100644 --- a/website/src/_includes/contact_page.html +++ b/website/src/_includes/contact_page.html @@ -30,8 +30,12 @@
+ + -
+

{{ "scan-qr-code-from-mobile-app" | i18n({}, lang ) | safe }}

@@ -61,7 +65,11 @@
-

{{ "connect-in-app" | i18n({}, lang ) | safe }}

+

{{ "connect-in-app" | i18n({}, lang ) | safe }}

+ + {{ "open-simplex-app" | i18n({}, lang ) | safe }}
@@ -69,7 +77,7 @@
-
+

{{ "tap-the-connect-button-in-the-app" | i18n({}, lang ) | safe }}

@@ -81,7 +89,7 @@ -