From 66dcd236cd126dc2f96848f5c35fd590c183138d Mon Sep 17 00:00:00 2001 From: M Sarmad Qadeer Date: Fri, 28 Oct 2022 21:02:48 +0500 Subject: [PATCH] added overlay to simplex unique section added some improvements to other sections too --- website/src/_data/why_privacy_matters.json | 4 +- website/src/_data/why_simplex_is_unique.json | 61 +++++++ website/src/_includes/components/macro.njk | 4 +- .../_includes/sections/simplex_unique.html | 155 ++++++------------ website/src/css/style.css | 22 ++- website/src/index.html | 4 +- 6 files changed, 135 insertions(+), 115 deletions(-) create mode 100644 website/src/_data/why_simplex_is_unique.json diff --git a/website/src/_data/why_privacy_matters.json b/website/src/_data/why_privacy_matters.json index b53e208ef..799e87ec8 100644 --- a/website/src/_data/why_privacy_matters.json +++ b/website/src/_data/why_privacy_matters.json @@ -6,9 +6,10 @@ "imgLight": "/img/new/privacy-section-1.svg", "imgDark": "/img/new/privacy-section-1.svg", "overlayContent": { + "overlayId": "why-privacy-matters-1", "title": "More Information", "linkText": "Learn more", - "showImage": true, + "showImage": false, "paras": [ "Unlike any other existing messaging platform, SimpleX has no identifiers assigned to the users –- not even random numbers. This protects the privacy of who you are communicating with, hiding it from SimpleX platform servers and from any observers.", "E2E encryption in each queue to prevent traffic correlation between queues in case TLS is compromised." @@ -21,6 +22,7 @@ "imgLight": "/img/new/privacy-section-2.svg", "imgDark": "/img/new/privacy-section-2.svg", "overlayContent": { + "overlayId": "why-privacy-matters-2", "title": "More Information", "linkText": "Learn more", "showImage": false, diff --git a/website/src/_data/why_simplex_is_unique.json b/website/src/_data/why_simplex_is_unique.json new file mode 100644 index 000000000..b2a67dc3d --- /dev/null +++ b/website/src/_data/why_simplex_is_unique.json @@ -0,0 +1,61 @@ +{ + "sections": [ + { + "id": 1, + "title": "Complete privacy of your identity, profile, contacts and metadata", + "desc": "Unlike any other existing messaging platform, SimpleX has no identifiers assigned to the users –- not even random numbers. This protects the privacy of who you are communicating with, hiding it from SimpleX platform servers and from any observers.", + "imgLight": "/img/new/unique-section-1.png", + "imgDark": "/img/new/unique-section-1-dark.png", + "overlayContent": { + "overlayId": "why-simplex-is-unique-1", + "title": "Complete privacy of your identity, profile, contacts and metadata", + "linkText": "Learn how it improves privacy", + "showImage": true, + "paras": [ + "Unlike any other existing messaging platform, SimpleX has no identifiers assigned to the users –- not even random numbers. This protects the privacy of who you are communicating with, hiding it from SimpleX platform servers and from any observers. Unlike any other existing messaging platform, SimpleX has no identifiers assigned to the users –- not even random numbers.", + "Privacy of who you are communicating with, hiding it from SimpleX platform servers and from any observers. Unlike any other existing messaging platform, SimpleX has no identifiers assigned to the users –- not even random numbers.", + "This protects the privacy of who you are communicating with, hiding it from SimpleX platform servers and from any observers." + ] + } + }, + { + "id": 2, + "title": "The best protection against spam and abuse", + "desc": "Because you have no identifier on the SimpleX platform, you cannot be contacted unless you share a one-time “burner” or temporary user address.", + "imgLight": "/img/new/unique-section-2.png", + "imgDark": "/img/new/unique-section-2-dark.png", + "overlayContent": { + "overlayId": "why-simplex-is-unique-2", + "title": "The best protection against spam and abuse", + "linkText": "Learn how it improves privacy", + "showImage": true, + "paras": [ + "Because you have no identifier on the SimpleX platform, you cannot be contacted unless you share a one-time “burner” or temporary user address." + ] + } + }, + { + "id": 3, + "title": "Ownership, control and security of your data", + "desc": "SimpleX stores all user data on client devices in a portable database format. The messages are held temporarily on SimpleX relay servers until they are received, then they are permanently deleted.", + "imgLight": "/img/new/unique-section-3.png", + "imgDark": "/img/new/unique-section-3-dark.png", + "overlayContent": { + "overlayId": "why-simplex-is-unique-3", + "title": "Ownership, control and security of your data", + "linkText": "Learn how it improves privacy", + "showImage": true, + "paras": [ + "SimpleX stores all user data on client devices in a portable database format. The messages are held temporarily on SimpleX relay servers until they are received, then they are permanently deleted." + ] + } + }, + { + "id": 4, + "title": "Fully decentralised – users own the SimpleX network", + "desc": "You can use SimpleX with your own servers and still communicate with people using the servers that are pre-configured in the apps or any other SimpleX servers. The SimpleX network is independent of any crypto currency or any other platform, other than the Internet.", + "imgLight": "/img/new/unique-section-4.png", + "imgDark": "/img/new/unique-section-4-dark.png" + } + ] +} \ No newline at end of file diff --git a/website/src/_includes/components/macro.njk b/website/src/_includes/components/macro.njk index 9f2b23b19..2964e34e1 100644 --- a/website/src/_includes/components/macro.njk +++ b/website/src/_includes/components/macro.njk @@ -1,8 +1,8 @@ {% macro overlay(section) %} {# Overlay is either hidder or flex #} -