diff --git a/content/about/index.md b/content/about/index.md index 25736d6ee..007670f4e 100644 --- a/content/about/index.md +++ b/content/about/index.md @@ -113,7 +113,7 @@ The future is ours to build, and we're building it together.
Join us in cre ||| -"ThreeFold is the catalyst for a new digital era, where individuals regain sovereignty over their digital lives and come together to build an internet that fosters innovation and shared prosperity." +*"ThreeFold is the catalyst for a new digital era, where individuals regain sovereignty
over their digital lives and come together to build an internet that fosters innovation and shared prosperity."* ### **Kristof de Spiegeleer** | Co-Founder @@ -127,7 +127,7 @@ The future is ours to build, and we're building it together.
Join us in cre {% end %} -{% row(style="center") %} +{% row(style="center between") %} ![Image](sustain.png#mx-auto) diff --git a/content/home/index.md b/content/home/index.md index b64d02f2e..646720dab 100644 --- a/content/home/index.md +++ b/content/home/index.md @@ -135,7 +135,7 @@ Today's centralized Internet cannot keep up with the demands of our digital worl -{% row(style="center mbottom") %} +{% row(style="mbottom between") %} ![Image](globe_mission.png#medium) @@ -158,7 +158,7 @@ We also prioritize equality, diversity, and inclusion in our culture and vision {% end %} -{% row(style="center mbottom") %} +{% row(style="center mbottom between") %} ![Image](expand.png#medium) diff --git a/content/store/index.md b/content/store/index.md index 120624410..f01b6deee 100644 --- a/content/store/index.md +++ b/content/store/index.md @@ -84,7 +84,8 @@ This unique approach ensures that even if an attacker were to access one node, t ||| -![Image](Grid_people.jpeg#mx-auto) + +![Image](grid_people.jpeg#mx-auto) {% end %} diff --git a/templates/_default/base.html b/templates/_default/base.html index ac65b6023..354ef7582 100644 --- a/templates/_default/base.html +++ b/templates/_default/base.html @@ -42,7 +42,7 @@ {% include "partials/header.html" %} -
+
{% block content %}{% endblock %}
diff --git a/templates/shortcodes/row.html b/templates/shortcodes/row.html index a1e3b08fd..dced441d3 100644 --- a/templates/shortcodes/row.html +++ b/templates/shortcodes/row.html @@ -108,13 +108,13 @@ Parameters: {% if "narrow" in style %} - {% set row_class = row_class ~ " lg:max-w-5xl" %} + {% set row_class = row_class ~ " lg:max-w-5xl mx-auto" %} {% elif "moderate" in style %} {% set row_class = row_class ~ " lg:m-20" %} {% endif %} {% if "semiNarrow" in style %} - {% set row_class = row_class ~ " lg:px-20 mx-auto" %} + {% set row_class = row_class ~ " lg:px-60 mx-auto" %} {% elif "moderate" in style %} {% set row_class = row_class ~ " lg:m-20" %} {% endif %} @@ -124,8 +124,25 @@ Parameters: {% set styles = "" %} {% if bgPath %} - {% set styles = "background: url('" ~ bgPath ~ "'); background-size: cover" %} - {% set row_class = row_class ~ "w-screen -mx-8 sm:-mx-12 md:-mx-16 lg:-mx-20" %} + {% set background_url = page.permalink ~ bgPath %} + {% set styles = "background: url('" ~ background_url ~ "'); background-size: cover; background-position: center;" %} + {% if "#desktop" in bgPath %} + {% set bgStyle = false %} + {% set div_class = " !bg-[length:0px_0px] !bg-no-repeat lg:!bg-cover " %} + {% set row_class = row_class | replace(from='text-white', to='text-black') %} + {% if "invert-color" in style %} + {% if "#desktop" in bgPath %} + {% set row_class = row_class ~ " lg:text-white " %} + {% endif %} + {% endif %} + {% endif %} +{% endif %} +{% if bgStyle %} + {% if "full" in bgStyle %} + {% set styles = styles ~ "height: -webkit-fill-available; height: 100vh;" %} + {% elif "hero" in bgStyle %} + {% set div_class = div_class ~ " -mt-24 pt-12 " %} + {% endif %} {% endif %} {% if bgColor %} {% set styles = "background-color: " ~ bgColor ~ "; background-size: cover" %}