From f6b8eb54579d2dcd80f634574abb83221519aef0 Mon Sep 17 00:00:00 2001 From: ehab-hassan Date: Sun, 9 Oct 2022 10:39:59 +0200 Subject: [PATCH 1/2] fix mission section --- content/mission/index.md | 8 ++++---- templates/shortcodes/row.html | 8 +++++++- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/content/mission/index.md b/content/mission/index.md index 51daf58b7..ca5e7945b 100644 --- a/content/mission/index.md +++ b/content/mission/index.md @@ -41,7 +41,7 @@ Internet access is a human right and it can change everything for the lives of p -{% row(style="margin reverse") %} +{% row(style="margin reverse semiNarrow") %} ## Empowering People
**To Be Sovereign** @@ -57,13 +57,13 @@ Create, store and share in full control of where your data resides and who can a -{% row(style="margin" gradient="linear-gradient(90deg,#70dfc9,#ea1ff7)" ) %} +{% row(style="margin semiNarrow" gradient="linear-gradient(90deg,#70dfc9,#ea1ff7)" ) %} ![Image](node_mission.png#medium) ||| -## Our Values Define **Our Actions** +## Our Values Define
**Our Actions** The ThreeFold Law states that any good you do will return to you threefold in this lifetime. By making our technology actionable, we energize a collective approach towards a single mission – empowering humanity while regenerating our planet. @@ -114,7 +114,7 @@ And we’re aiming for new heights. ThreeFold is turning into a DAO in 2022, inv -{% row(bgColor="#70dfc9" style="center narrow margin") %} +{% row(bgColor="#70dfc9" style="center margin") %} ## Join the Internet
**(R)evolution** diff --git a/templates/shortcodes/row.html b/templates/shortcodes/row.html index 733bc1962..e18618b7d 100644 --- a/templates/shortcodes/row.html +++ b/templates/shortcodes/row.html @@ -101,7 +101,7 @@ Parameters: {% if "between" in style %} - {% set row_class = row_class ~ " lg:max-w-6xl" %} + {% set row_class = row_class ~ " lg:max-w-6xl mx-auto" %} {% elif "moderate" in style %} {% set row_class = row_class ~ " lg:m-20" %} {% endif %} @@ -113,6 +113,12 @@ Parameters: {% set row_class = row_class ~ " lg:m-20" %} {% endif %} + {% if "semiNarrow" in style %} + {% set row_class = row_class ~ " lg:px-20 mx-auto" %} + {% elif "moderate" in style %} + {% set row_class = row_class ~ " lg:m-20" %} + {% endif %} + {% endif %} From 70f5e3d2e6c5cf3bc4795a9ab3eec8a8a08dc000 Mon Sep 17 00:00:00 2001 From: ehab-hassan Date: Sun, 9 Oct 2022 10:50:19 +0200 Subject: [PATCH 2/2] fix mission section --- content/tft/index.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/content/tft/index.md b/content/tft/index.md index 6a2b3420d..f27d45878 100644 --- a/content/tft/index.md +++ b/content/tft/index.md @@ -88,7 +88,7 @@ While many projects have created bits and pieces of what a decentralized Interne -{% row(gradient="linear-gradient(180deg,#ea1ff7,#70dfc9)" style="margin") %} +{% row(gradient="linear-gradient(180deg,#ea1ff7,#70dfc9)" style="margin semiNarrow") %} ![Image](tft_currency.png#medium#absolute#sm_none) @@ -145,7 +145,7 @@ People buy TFT to store data and run applications privately on a peer-to-peer In -{% row(style="margin reverse") %} +{% row(style="margin reverse semiNarrow") %} ## Loyalty **Rewards** @@ -164,7 +164,7 @@ The ThreeFold blockchain automatically scans wallets and provides up-to 60% disc -{% row(style="margin") %} +{% row(style="margin semiNarrow") %} ![Image](tft_utility.jpg) @@ -181,7 +181,7 @@ TFT is minted only when new Internet capacity is added to the ThreeFold Grid. A -{% row(style="margin reverse") %} +{% row(style="margin reverse semiNarrow") %} ## Burn and Farm
**Equilibrium**