diff --git a/content/home/OWAsset-15.png b/content/home/OWAsset-15.png index 5405538..f9420ee 100644 Binary files a/content/home/OWAsset-15.png and b/content/home/OWAsset-15.png differ diff --git a/content/home/index.md b/content/home/index.md index e171f7b..9f307af 100644 --- a/content/home/index.md +++ b/content/home/index.md @@ -11,7 +11,9 @@ extra: -{% row(style="center" margin="lean-right") %} +
+ +{% row(style="center" reverse="rightreserve" margin="header" padding="none") %} ### EXPERIENCE @@ -23,20 +25,23 @@ A better world is one where we all have access to endless information and oppurt + + ||| -![Image](OWAsset-15.png#large) +![Image](OWAsset-15.png#auto) {% end %} -{{ space() }} -{% row(style="center narrow") %} + + +{% row(style="center" margin="tight") %} + +![Image](OWAsset-16.png#medium#auto)
-![Image](OWAsset-16.png#auto) - ### THE END OF ## SCARCITY. @@ -47,11 +52,10 @@ Learn whatever your heart desires. Access any oppurtunity to earn. Enter any sho {% end %} -{{ space() }} -{% row(style="center" margin="moderate") %} + -
+{% row(style="center" margin="moderate" padding="none") %} ![Image](OWAsset-17.png) @@ -65,8 +69,6 @@ Learn whatever your heart desires. Access any oppurtunity to earn. Enter any sho ||| -
- ![Image](OWAsset-18.png)
@@ -79,9 +81,7 @@ Learn whatever your heart desires. Access any oppurtunity to earn. Enter any sho {% end %} -{% row(style="center moderate") %} - -
+{% row(style="center moderate" padding="bottom") %} ![Image](OWAsset-19.png) @@ -95,8 +95,6 @@ Learn whatever your heart desires. Access any oppurtunity to earn. Enter any sho ||| -
- ![Image](OWAsset-20.png)
@@ -109,18 +107,20 @@ Learn whatever your heart desires. Access any oppurtunity to earn. Enter any sho {% end %} -{{ space() }} +
-{% row(style="center lean-left" bgColor="#c4ffeb") %} -
-
+ + +{% row(style="center" bgColor="#c4ffeb") %} ![Image](OWAsset-21.png) ||| +
+ # WORK. # PLAY. @@ -133,12 +133,16 @@ Learn whatever your heart desires. Access any oppurtunity to earn. Enter any sho -
-
+
{% end %} -{% row(style="center narrow") %} + + + +
+ +{% row(style="center" margin="tight") %}
@@ -152,45 +156,45 @@ OurVerse users are protected through ThreeFold's digital twin. This allows every
-![Image](OWAsset-22.png) +![Image](OWAsset-22.png#medium#auto) {% end %} -{{ space() }} +
-{% row(style="center lean-left" bgColor="#c6f8ff") %} -
-
+ + +{% row(style="center" bgColor="#c6f8ff") %} + ![Image](OWAsset-23.png) ||| -#### BUILT BY +
+#### BUILT BY ### TOGETHERNESS.
An OurVerse is created by utilizing the world's largest decentralized and peer-to-peer of storage and compute: The ThreeFold Grid. -

This provides every OurVerse community with unparalleled security to each user and assures unprecedented sovereignty. -
-
+
{% end %} -{% row(style="center invert-color" bgColor="#4dc48f" margin="narrow") %} -
-
+ + +{% row(style="center invert-color" bgColor="#4dc48f" margin="narrow") %} ### WANNA GET **INVOLVED?** diff --git a/css/index.css b/css/index.css index aa9362c..7ce34cf 100644 --- a/css/index.css +++ b/css/index.css @@ -37,7 +37,7 @@ img[src*="#small"] { } img[src*="#medium"] { - width: 400px; + width: 700px; margin: auto; } @@ -66,19 +66,19 @@ img[src*="#tft_img"] { @layer components { h1 { - @apply text-6xl lg:text-9xl font-normal leading-none; + @apply text-5xl lg:text-8xl font-normal leading-none; } h1 strong { @apply font-semibold; } h2 { - @apply text-5xl lg:text-8xl font-normal leading-none; + @apply text-4xl lg:text-7xl font-normal leading-none; } h2 strong { @apply font-medium; } h3 { - @apply text-3xl lg:text-6xl font-normal leading-none; + @apply text-2xl lg:text-5xl font-normal leading-none; } h3 strong { @apply font-semibold; @@ -116,6 +116,10 @@ img[src*="#tft_img"] { shadow capitalize; } + .article h2{ + @apply text-3xl lg:text-4xl font-normal leading-none; + } + } button:hover :is(:where(a)) { @@ -287,6 +291,12 @@ header { .header:hover .back { transform: none; } + + +.article h2{ + +} + @media (max-width: 640px) { .banner h2 { font: 600 7vw/10vw; diff --git a/templates/_default/base.html b/templates/_default/base.html index 9816847..5fcd7de 100644 --- a/templates/_default/base.html +++ b/templates/_default/base.html @@ -5,7 +5,7 @@ {% include "partials/header.html" %} -
+
{% block content %}{% endblock %}
{% include "partials/footer.html" %} diff --git a/templates/shortcodes/row.html b/templates/shortcodes/row.html index 67961bb..0f01a61 100644 --- a/templates/shortcodes/row.html +++ b/templates/shortcodes/row.html @@ -35,7 +35,7 @@ Parameters: {% set columns = body | safe | markdown | split(pat="

|||

") %} -{% set row_class = "relative py-12 flex flex-col sm:grid sm:grid-cols-2 sm:gap-10 md:flex md:flex-row flex-wrap max-w-fit "%} +{% set row_class = "relative flex flex-col md:flex md:flex-row flex-wrap max-w-fit overflow-hidden"%} {% if 2 < columns | length %} @@ -44,66 +44,49 @@ Parameters: {% set row_class = row_class ~ " lg:items-center" %} {% endif %} -{% set col_class = "flex-1 mb-4 md:mb-12 lg:mb-0 " %} -{% set col_class = col_class ~ " lg:mx-8 " %} +{% set col_class = "flex-1 mb-4 md:mb-12 lg:mb-0" %} - +{% set row_id = '' %} -{% set margin_class = " mx-4 md:mx-16 lg:mx-24 " %} +{% if id %} +{% set row_id = id %} -{% if margin %} - {% if "none" in margin %} - {% set margin_class = " mx-0 " %} - {% elif "wide" in margin %} - {% set margin_class = " mx-4 sm:mx-8 md:mx-12 lg:mx-16 xl:mx-20 " %} - {% elif "moderate" in margin %} - {% set margin_class = " mx-8 sm:mx-16 md:mx-24 lg:mx-28 " %} - {% elif "narrow" in margin %} - {% set margin_class = " mx-12 sm:mx-20 md:mx-28 lg:mx-32 " %} - {% elif "tight" in margin %} - {% set margin_class = " mx-20 sm:mx-32 md:mx-60 lg:mx-80 xl:mx-96 " %} - {% endif %} - {% if "lean-left" in margin %} - {% set col_class = col_class ~ " lg:last:px-20 lg:max-w-[50%] lg:mx-0 " %} - {% set row_class = row_class ~ " !ml-0 sm:gap-0 " %} - {% elif "lean-right" in margin %} - {% set col_class = col_class ~ " lg:first:px-20 lg:max-w-[50%] lg:mx-0 " %} - {% set row_class = row_class ~ " !mr-0 sm:gap-0 " %} - {% endif %} {% endif %} -{% set row_class = row_class ~ margin_class %} + + +{% if reverse %} + {% if "rightreserve" in reverse %} + {% set row_class = "flex flex-col-reverse md:flex-row items-center" %} + {% elif "leftreserve" in reverse %} + {% set row_class = "flex flex-col md:flex-row items-center" %} + + {% endif %} + {% endif %} {% if style %} {% if "center" in style %} - {% set row_class = row_class ~ " text-center items-center mx-auto justify-center " %} + {% set row_class = row_class ~ " text-center items-center lg:mx-auto " %} {% set col_class = col_class ~ " flex-1 " %} {% endif %} - - {% if "lean" in style %} - {% if "lean-left" in style %} - {% set col_class = col_class ~ " last:px-20 lg:max-w-[50%] " %} - {% set row_class = row_class ~ " sm:gap-0 " %} - {% elif "lean-right" in style %} - {% set col_class = col_class ~ " first:px-20 lg:max-w-[50%] -mr-8 md:-mr-12 lg:-mr-16 xl:-mr-20 " %} - {% set row_class = row_class ~ " sm:gap-0 " %} - {% else %} - {% set row_class = row_class ~ " md:py-0 " %} - {% set col_class = col_class ~ " lg:m-0" %} - {% endif %} - {% else %} - {% set row_class = row_class ~ " w-screen " %} + {% if "right" in style %} + {% set row_class = row_class ~ " text-right justify-center " %} + {% endif %} + + {% if "items-end" in style %} + {% set row_class = row_class ~ " lg:items-end" %} + {% set col_class = col_class ~ " flex-1 " %} {% endif %} - {% if "between" in style %} - {% set row_class = row_class ~ " lg:max-w-6xl " %} - {% elif "moderate" in style %} - {% set row_class = row_class ~ " " %} - {% endif %} + {% if "between" in style %} + {% set row_class = row_class ~ " lg:max-w-6xl " %} + {% elif "moderate" in style %} + {% set row_class = row_class ~ " " %} + {% endif %} {% if "narrow" in style %} @@ -128,6 +111,65 @@ Parameters: {% set anchor_link = anchor %} {% endif %} + + +{% set padding_class = " py-8 md:py-8 lg:py-28" %} + +{% if padding %} + {% if "none" in padding %} + {% set padding_class = " py-0" %} + {% elif "top" in padding %} + {% set padding_class = " py-2 md:py-4 lg:pt-28" %} + {% elif "bottom" in padding %} + {% set padding_class = " py-2 md:py-4 lg:pb-28" %} + {% endif %} +{% endif %} + +{% if css %} + {% set padding_class = padding_class ~ " " ~ css %} +{% endif %} + +{% set row_class = row_class ~ padding_class %} + + + +{% set margin_class = " mx-4 md:mx-16 lg:mx-24" %} + +{% if margin %} + {% if "none" in margin %} + {% set margin_class = " mx-0" %} + {% elif "wide" in margin %} + {% set margin_class = " mx-4 md:mx-12 lg:mx-16 xl:mx-20" %} + {% elif "moderate" in margin %} + {% set margin_class = " mx-4 md:mx-20 lg:mx-28" %} + {% elif "narrow" in margin %} + {% set margin_class = " mx-4 md:mx-28 lg:mx-40" %} + {% elif "tight" in margin %} + {% set margin_class = " mx-4 md:mx-40 lg:mx-80 xl:mx-96" %} + {% elif "header" in margin %} + {% set margin_class = " mx-4 md:mx-28 lg:mx-40 my-10" %} + {% endif %} + {% if "lean-left" in margin %} + {% set margin = margin_class | replace(from=" ", to=" first:")%} + {% set margin_left = margin | replace(from="mx", to="-ml") %} + {% set margin_right = margin | replace(from="mx", to="mr") %} + {% set col_class = col_class ~ " md:last:px-8 lg:last:px-20 lg:max-w-[50%] lg:mx-0 " ~ margin_left ~ margin_right %} + {% set row_class = row_class ~ " sm:gap-0 " %} + {% elif "lean-right" in margin %} + {% set margin = margin_class | replace(from=" ", to=" last:")%} + {% set margin_left = margin | replace(from="mx", to="ml") %} + {% set margin_right = margin | replace(from="mx", to="-mr") %} + {% set col_class = col_class ~ " md:first:px-8 lg:first:px-20 lg:max-w-[50%] lg:mx-0 " ~ margin_left ~ margin_right %} + {% set row_class = row_class ~ " sm:gap-0 " %} + {% endif %} +{% endif %} + +{% if css %} + {% set margin_class = margin_class ~ " " ~ css %} +{% endif %} + +{% set row_class = row_class ~ margin_class %} + {% set styles = "" %} @@ -150,26 +192,31 @@ Parameters: {% 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-24 " %} + {% set div_class = div_class ~ " -mt-24 pt-12 " %} {% endif %} {% endif %} {% if bgColor %} {% set styles = "background-color: " ~ bgColor ~ "; background-size: cover" %} - {% set row_class = row_class ~ " py-0 " %} + {% set row_class = row_class %} +{% endif %} + +{% if class %} + {% set styles = "background-color: " ~ bgColor ~ "; background-size: cover" %} + {% set row_class = row_class %} {% endif %} {% set no_margins = " -mx-8 md:-mx-12 lg:-mx-16 xl:-mx-20" %} -
-
+
+
{% for column in columns%} {% if column | as_str | length < 10 %} -