diff --git a/website/.eleventy.js b/website/.eleventy.js index c70bf9a78..a3332958c 100644 --- a/website/.eleventy.js +++ b/website/.eleventy.js @@ -20,6 +20,11 @@ module.exports = function (ty) { ty.addCollection('blogs', function (collection) { return collection.getFilteredByGlob('src/blog/*.md').reverse() }) + ty.addCollection('whySimplexIsUnique', function (collection) { + return collection.getFilteredByGlob('src/data/why_simplex_is_unique/*.md') + }) + + ty.addWatchTarget("src/css") ty.addWatchTarget("markdown/") diff --git a/website/src/_data/why_simplex_is_unique.json b/website/src/_data/why_simplex_is_unique.json deleted file mode 100644 index b2a67dc3d..000000000 --- a/website/src/_data/why_simplex_is_unique.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "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 2964e34e1..52286affc 100644 --- a/website/src/_includes/components/macro.njk +++ b/website/src/_includes/components/macro.njk @@ -1,21 +1,21 @@ -{% macro overlay(section) %} +{% macro overlay(card) %} {# Overlay is either hidder or flex #} -