diff --git a/contact/index.html b/contact/index.html index c98e3c80a0..abb267c4c6 100644 --- a/contact/index.html +++ b/contact/index.html @@ -456,7 +456,7 @@ window.addEventListener('scroll',changeHeaderBg);
Sign up to receive our updates
diff --git a/cs/contact/index.html b/cs/contact/index.html index d55e724e03..1e02d3d408 100644 --- a/cs/contact/index.html +++ b/cs/contact/index.html @@ -456,7 +456,7 @@ window.addEventListener('scroll',changeHeaderBg);Přihlaste se k odběru novinek
diff --git a/cs/index.html b/cs/index.html index 1090c2537a..edc9487dda 100644 --- a/cs/index.html +++ b/cs/index.html @@ -296,10 +296,10 @@ window.addEventListener('scroll',changeHeaderBg);
Jiné aplikace mají uživatelská ID: Signal, Matrix, Session, Briar, Jami, Cwtch atd.
SimpleX ne, ani náhodná čísla.
To radikálně zlepšuje vaše soukromí.
Proč na soukromí záleží
Zachování soukromí vašich metadat — s kým mluvíte — vás chrání před:
@@ -478,10 +478,10 @@ window.addEventListener('scroll',changeHeaderBg);Reklamou a cenovou diskriminací
- Soukromí vám šetří peníze + Soukromí vám šetří peníze -Manipulací s volbami
- Soukromí vám dává moc + Soukromí vám dává moc -Stíháním kvůli nevinnému sdružení
- Soukromí chrání vaši svobodu + Soukromí chrání vaši svobodu -Na rozdíl od P2P sítí
- Všechny zprávy se odesílají přes servery, což zajišťuje lepší soukromí metadat a spolehlivé asynchronní doručování zpráv, přičemž se zamezuje mnoha problémům P2P sítí. + Všechny zprávy se odesílají přes servery, což zajišťuje lepší soukromí metadat a spolehlivé asynchronní doručování zpráv, přičemž se zamezuje mnoha problémům P2P sítí. -
Přihlaste se k odběru novinek
diff --git a/cs/invitation/index.html b/cs/invitation/index.html index f631357478..8c9056f2ae 100644 --- a/cs/invitation/index.html +++ b/cs/invitation/index.html @@ -456,7 +456,7 @@ window.addEventListener('scroll',changeHeaderBg);Přihlaste se k odběru novinek
diff --git a/de/contact/index.html b/de/contact/index.html index 88643a690c..9f0c3411b8 100644 --- a/de/contact/index.html +++ b/de/contact/index.html @@ -456,7 +456,7 @@ window.addEventListener('scroll',changeHeaderBg);Melden Sie sich an, um Updates von uns zu erhalten
diff --git a/de/index.html b/de/index.html index 99d1eab2b0..1798531ba6 100644 --- a/de/index.html +++ b/de/index.html @@ -296,10 +296,10 @@ window.addEventListener('scroll',changeHeaderBg);
Andere Apps haben Nutzerkennungen: Signal, Matrix, Session, Briar, Jami, Cwtch usw.
SimpleX arbeitet ohne diese, nicht einmal mit Zufallszahlen.
Dies erhöht die Privatsphäre ungemein.
Warum es auf Privatsphäre ankommt
Die Wahrung der Privatsphäre Ihrer Metadaten — mit wem Sie sprechen schützt Sie vor:
@@ -478,10 +478,10 @@ window.addEventListener('scroll',changeHeaderBg);Werbung und Preisdiskriminierung
- Privatsphäre sichert Ihnen Geld + Privatsphäre sichert Ihnen Geld -Wahlmanipulationen
- Privatsphäre gibt Ihnen Kraft + Privatsphäre gibt Ihnen Kraft -Strafverfolgung wegen einer unschuldigen Verbindung
- Privatsphäre schützt Ihre Freiheit + Privatsphäre schützt Ihre Freiheit -Im Gegensatz zu P2P-Netzwerken
- Alle Nachrichten werden über Server versandt, was sowohl einen besseren Schutz der Metadaten als auch eine zuverlässige asynchrone Nachrichtenübermittlung ermöglicht und gleichzeitig Vieles vermeidet Probleme von P2P-Netzwerken. + Alle Nachrichten werden über Server versandt, was sowohl einen besseren Schutz der Metadaten als auch eine zuverlässige asynchrone Nachrichtenübermittlung ermöglicht und gleichzeitig Vieles vermeidet Probleme von P2P-Netzwerken. -
Melden Sie sich an, um Updates von uns zu erhalten
diff --git a/de/invitation/index.html b/de/invitation/index.html index 8bce08ebe2..8ca6931fb0 100644 --- a/de/invitation/index.html +++ b/de/invitation/index.html @@ -456,7 +456,7 @@ window.addEventListener('scroll',changeHeaderBg);Melden Sie sich an, um Updates von uns zu erhalten
diff --git a/en/contact/index.html b/en/contact/index.html index 3efc0d45a5..8fbd6feb89 100644 --- a/en/contact/index.html +++ b/en/contact/index.html @@ -456,7 +456,7 @@ window.addEventListener('scroll',changeHeaderBg);Sign up to receive our updates
diff --git a/en/index.html b/en/index.html index ebc7823cb0..c3b2054cd2 100644 --- a/en/index.html +++ b/en/index.html @@ -296,10 +296,10 @@ window.addEventListener('scroll',changeHeaderBg);
Other apps have user IDs: Signal, Matrix, Session, Briar, Jami, Cwtch, etc.
SimpleX does not, not even random numbers.
This radically improves your privacy.
Why privacy matters
Preserving the privacy of your metadata — who you talk with — protects you from:
@@ -478,10 +478,10 @@ window.addEventListener('scroll',changeHeaderBg);Advertising and price discrimination
- Privacy saves you money + Privacy saves you money -Manipulation of elections
- Privacy gives you power + Privacy gives you power -Prosecution due to innocent association
- Privacy protects your freedom + Privacy protects your freedom -Unlike P2P networks
- All messages are sent via the servers, both providing better metadata privacy and reliable asynchronous message delivery, while avoiding many problems of P2P networks. + All messages are sent via the servers, both providing better metadata privacy and reliable asynchronous message delivery, while avoiding many problems of P2P networks. -
Sign up to receive our updates
diff --git a/en/invitation/index.html b/en/invitation/index.html index 06f547fd96..05ab980e23 100644 --- a/en/invitation/index.html +++ b/en/invitation/index.html @@ -456,7 +456,7 @@ window.addEventListener('scroll',changeHeaderBg);Sign up to receive our updates
diff --git a/fr/contact/index.html b/fr/contact/index.html index 3da1afca2c..34d938581a 100644 --- a/fr/contact/index.html +++ b/fr/contact/index.html @@ -456,7 +456,7 @@ window.addEventListener('scroll',changeHeaderBg);Inscrivez-vous pour recevoir nos mises à jour
diff --git a/fr/index.html b/fr/index.html index 89f31f081f..91ce5164b5 100644 --- a/fr/index.html +++ b/fr/index.html @@ -296,10 +296,10 @@ window.addEventListener('scroll',changeHeaderBg);
Les autres applications ont des IDs d'utilisateur : Signal, Matrix, Session, Briar, Jami, Cwtch, etc.
SimpleX n'en a pas, pas même des nombres aléatoires.
Ce qui améliore radicalement votre vie privée.
Pourquoi la protection de la vie privé est importante
La préservation de la confidentialité de vos métadonnées — avec qui vous parlez vous protège de :
@@ -478,10 +478,10 @@ window.addEventListener('scroll',changeHeaderBg);Publicité et discrimination par les prix
- La protection de votre vie privée vous fait économiser de l'argent + La protection de votre vie privée vous fait économiser de l'argent -Manipulation des élections
- Le respect de votre vie privée vous donne un pouvoir + Le respect de votre vie privée vous donne un pouvoir -Poursuites pour association innocente
- Le respect de votre vie privée protège votre liberté + Le respect de votre vie privée protège votre liberté -Contrairement aux réseaux P2P
- Tous les messages sont envoyés via les serveurs, offrant à la fois une meilleure protection des métadonnées et une livraison asynchrone fiable des messages, tout en évitant de nombreux problèmes des réseaux P2P. + Tous les messages sont envoyés via les serveurs, offrant à la fois une meilleure protection des métadonnées et une livraison asynchrone fiable des messages, tout en évitant de nombreux problèmes des réseaux P2P. -
Inscrivez-vous pour recevoir nos mises à jour
diff --git a/fr/invitation/index.html b/fr/invitation/index.html index 8e597e7fdc..aad282103d 100644 --- a/fr/invitation/index.html +++ b/fr/invitation/index.html @@ -456,7 +456,7 @@ window.addEventListener('scroll',changeHeaderBg);Inscrivez-vous pour recevoir nos mises à jour
diff --git a/index.html b/index.html index c99cd736bc..bbf838eb76 100644 --- a/index.html +++ b/index.html @@ -296,10 +296,10 @@ window.addEventListener('scroll',changeHeaderBg);
Other apps have user IDs: Signal, Matrix, Session, Briar, Jami, Cwtch, etc.
SimpleX does not, not even random numbers.
This radically improves your privacy.
Why privacy matters
Preserving the privacy of your metadata — who you talk with — protects you from:
@@ -478,10 +478,10 @@ window.addEventListener('scroll',changeHeaderBg);Advertising and price discrimination
- Privacy saves you money + Privacy saves you money -Manipulation of elections
- Privacy gives you power + Privacy gives you power -Prosecution due to innocent association
- Privacy protects your freedom + Privacy protects your freedom -Unlike P2P networks
- All messages are sent via the servers, both providing better metadata privacy and reliable asynchronous message delivery, while avoiding many problems of P2P networks. + All messages are sent via the servers, both providing better metadata privacy and reliable asynchronous message delivery, while avoiding many problems of P2P networks. -
Sign up to receive our updates
diff --git a/invitation/index.html b/invitation/index.html index 7c2eef11be..c68033227e 100644 --- a/invitation/index.html +++ b/invitation/index.html @@ -456,7 +456,7 @@ window.addEventListener('scroll',changeHeaderBg);Sign up to receive our updates
diff --git a/js/script.js b/js/script.js index facc0c39ca..dc090203dc 100644 --- a/js/script.js +++ b/js/script.js @@ -1,10 +1,18 @@ const uniqueSwiper = new Swiper('.unique-swiper', { slidesPerView: 1, spaceBetween: 80, - // autoplay: { - // delay: 3000, - // disableOnInteraction: false, - // }, + allowTouchMove: true, + breakpoints: { + 1400: { + allowTouchMove: false, + }, + 1200: { + allowTouchMove: true, + }, + 768: { + allowTouchMove: true, + } + }, direction: 'horizontal', pagination: { el: '.simplex-unique-swiper-pagination', @@ -62,10 +70,18 @@ const privateSwiper = new Swiper('.private-swiper', { const simplexExplainedSwiper = new Swiper(".simplex-explained-swiper", { slidesPerView: 1, spaceBetween: 80, - // autoplay: { - // delay: 3000, - // disableOnInteraction: false, - // }, + allowTouchMove: true, + breakpoints: { + 1400: { + allowTouchMove: false, + }, + 1200: { + allowTouchMove: true, + }, + 768: { + allowTouchMove: true, + } + }, direction: "horizontal", pagination: { el: ".simplex-explained-swiper-pagination", @@ -73,10 +89,11 @@ const simplexExplainedSwiper = new Swiper(".simplex-explained-swiper", { } }); -function closeOverlay (e) { +function closeOverlay(e) { e.target.closest('.overlay').classList.remove('flex'); e.target.closest('.overlay').classList.add('hidden'); document.body.classList.remove('lock-scroll'); + history.replaceState(null, null, ' '); } window.addEventListener('click', clickHandler) @@ -105,14 +122,11 @@ function clickHandler(e) { } else if (e.target.closest('.open-overlay-btn')) { let id = e.target.closest('.open-overlay-btn').dataset.showOverlay; - let overlay = document.getElementById(id); - overlay.classList.remove('hidden'); - overlay.classList.add('flex'); - document.body.classList.toggle('lock-scroll'); + window.location.hash = id; } // ----------------------------------------------- // ---------- For Contact & Invitation Page tabs - else if(e.target.closest('.contact-tab-btn')){ + else if (e.target.closest('.contact-tab-btn')) { e.target.closest('.contact-tab').classList.toggle('active') } } @@ -121,7 +135,7 @@ window.addEventListener('load', () => { const googlePlayBtn = document.querySelector('.google-play-btn'); const appleStoreBtn = document.querySelector('.apple-store-btn'); const fDroidBtn = document.querySelector('.f-droid-btn'); - if(!googlePlayBtn || !appleStoreBtn || !fDroidBtn) return; + if (!googlePlayBtn || !appleStoreBtn || !fDroidBtn) return; if (isMobile.Android()) { @@ -137,3 +151,24 @@ window.addEventListener('load', () => { fDroidBtn.classList.remove('hidden'); } }) + +function openOverlay() { + let hash = window.location.hash + if (hash) { + const id = hash.split('#')[1]; + const el = document.getElementById(id) + if (el.classList.contains('overlay')) { + const scrollTo = el.getAttribute('data-scroll-to') + if (scrollTo) { + const scrollToEl = document.getElementById(scrollTo) + if (scrollToEl) scrollToEl.scrollIntoView(true) + } + el.classList.remove('hidden') + el.classList.add('flex') + document.body.classList.add('lock-scroll') + } + } +} + +window.addEventListener('load', openOverlay); +window.addEventListener('hashchange', openOverlay); diff --git a/nb_NO/contact/index.html b/nb_NO/contact/index.html index 3247c780a1..a357053e1c 100644 --- a/nb_NO/contact/index.html +++ b/nb_NO/contact/index.html @@ -456,7 +456,7 @@ window.addEventListener('scroll',changeHeaderBg);Sign up to receive our updates
diff --git a/nb_NO/index.html b/nb_NO/index.html index e997286747..4e28b17be8 100644 --- a/nb_NO/index.html +++ b/nb_NO/index.html @@ -296,10 +296,10 @@ window.addEventListener('scroll',changeHeaderBg);
Other apps have user IDs: Signal, Matrix, Session, Briar, Jami, Cwtch, etc.
SimpleX does not, not even random numbers.
This radically improves your privacy.
Why privacy matters
Preserving the privacy of your metadata — who you talk with — protects you from:
@@ -478,10 +478,10 @@ window.addEventListener('scroll',changeHeaderBg);Advertising and price discrimination
- Privacy saves you money + Privacy saves you money -Manipulation of elections
- Privacy gives you power + Privacy gives you power -Prosecution due to innocent association
- Privacy protects your freedom + Privacy protects your freedom -Unlike P2P networks
- All messages are sent via the servers, both providing better metadata privacy and reliable asynchronous message delivery, while avoiding many problems of P2P networks. + All messages are sent via the servers, both providing better metadata privacy and reliable asynchronous message delivery, while avoiding many problems of P2P networks. -
Sign up to receive our updates
diff --git a/nb_NO/invitation/index.html b/nb_NO/invitation/index.html index 1c904d10a6..2c7b2af03d 100644 --- a/nb_NO/invitation/index.html +++ b/nb_NO/invitation/index.html @@ -456,7 +456,7 @@ window.addEventListener('scroll',changeHeaderBg);Sign up to receive our updates
diff --git a/nl/contact/index.html b/nl/contact/index.html index a1207deec5..202e29f29b 100644 --- a/nl/contact/index.html +++ b/nl/contact/index.html @@ -456,7 +456,7 @@ window.addEventListener('scroll',changeHeaderBg);Sign up to receive our updates
diff --git a/nl/index.html b/nl/index.html index 87cc07bda9..aa2121f6e5 100644 --- a/nl/index.html +++ b/nl/index.html @@ -296,10 +296,10 @@ window.addEventListener('scroll',changeHeaderBg);
Andere apps hebben gebruikers-ID's: Signal, Matrix, Session, Briar, Jami, Cwtch, enz.
SimpleX niet, zelfs geen willekeurige getallen.
Dit verbetert uw privacy radicaal.
Why privacy matters
Preserving the privacy of your metadata — who you talk with — protects you from:
@@ -478,10 +478,10 @@ window.addEventListener('scroll',changeHeaderBg);Advertising and price discrimination
- Privacy saves you money + Privacy saves you money -Manipulation of elections
- Privacy gives you power + Privacy gives you power -Prosecution due to innocent association
- Privacy protects your freedom + Privacy protects your freedom -Unlike P2P networks
- All messages are sent via the servers, both providing better metadata privacy and reliable asynchronous message delivery, while avoiding many problems of P2P networks. + All messages are sent via the servers, both providing better metadata privacy and reliable asynchronous message delivery, while avoiding many problems of P2P networks. -
Sign up to receive our updates
diff --git a/nl/invitation/index.html b/nl/invitation/index.html index 242f2f9bad..22ee5bc523 100644 --- a/nl/invitation/index.html +++ b/nl/invitation/index.html @@ -456,7 +456,7 @@ window.addEventListener('scroll',changeHeaderBg);Sign up to receive our updates