From 3b5f28804b55484dc2b0f208a335d1d028facdbc Mon Sep 17 00:00:00 2001 From: ehab-hassan Date: Sun, 1 Jun 2025 17:59:32 +0300 Subject: [PATCH] update section 5 and 6 --- content/home/index.md | 45 ++++++++++++++++++-- templates/shortcodes/center_text.html | 2 +- templates/shortcodes/farm_steps.html | 60 +++++++++++++++++++++++++++ templates/shortcodes/left_text.html | 13 +++++- 4 files changed, 113 insertions(+), 7 deletions(-) create mode 100644 templates/shortcodes/farm_steps.html diff --git a/content/home/index.md b/content/home/index.md index abf4c82c8..204725d0e 100644 --- a/content/home/index.md +++ b/content/home/index.md @@ -34,9 +34,9 @@ extra: {{ left_text( title="ThreeFold is a Decentralized Infrastructure Layer for The Internet", - description="We have built a foundational platform that runs directly on bare metal, offering a scalable solution focused on the essential building blocks of the Internet and Cloud: compute, data, and network.", - button_text="Discover How It Works", - button_link="/what" + description_1="We have built a foundational platform that runs directly on bare metal, offering a scalable solution focused on the essential building blocks of the Internet and Cloud: compute, data, and network.", + button_text="Discover How It Works", + button_link="/what" ) }} @@ -155,8 +155,45 @@ extra: -{{ farmers() }} +
+ {{ left_text( + title="How it works", + description_1="At the base, nodes form the physical foundation—distributed computers that provide processing power, storage, and networking capabilities. These nodes work together to create a global, community-powered infrastructure.", + description_2="Regardless of technical expertise, anyone can deploy nodes from their homes or offices, and participate in a decentralized alternative to corporate-owned data centers – while earning rewards for their contributions. We call this process 'farming.'", + button_text="", + button_link="" + + ) }} + +
+ +
+ +{{ farm_steps( + title="1. HOST A NODE", + description="All you need to get started is a modern computer, electricity and network. Once booted with Zero OS, a computer becomes a ThreeFold Node." +) }} + +{{ farm_steps( + title="2. OFFER CAPACITY", + description="After your node is set up and verified, you’ll be rewarded for the capacity that you provide to the ThreeFold Grid." +) }} + +{{ farm_steps( + title="3. EARN REWARDS", + description="The capacity of the node gets verified and registered in the ThreeFold Blockchain, securing access to a decentralized autonomous cloud." +) }} + + +
+
+ + + +
diff --git a/templates/shortcodes/center_text.html b/templates/shortcodes/center_text.html index cb716807a..7abb0f748 100644 --- a/templates/shortcodes/center_text.html +++ b/templates/shortcodes/center_text.html @@ -10,7 +10,7 @@

{{ description }}

- {% if button %} + {% if button_link %} {{ button_text }} {% endif %} \ No newline at end of file diff --git a/templates/shortcodes/farm_steps.html b/templates/shortcodes/farm_steps.html new file mode 100644 index 000000000..46ca05240 --- /dev/null +++ b/templates/shortcodes/farm_steps.html @@ -0,0 +1,60 @@ +{% set image_src = image_src | default(value="") %} +{% set image_alt = image_alt | default(value="") %} +{% set title = title | default(value="") %} +{% set subtitle = subtitle | default(value="") %} +{% set description = description | default(value="") %} +{% set button_text_1 = button_text_1 | default(value="") %} +{% set button_link_1 = button_link_1 | default(value="") %} +{% set button_text_2 = button_text_2 | default(value="") %} +{% set button_link_2 = button_link_2 | default(value="") %} + + + +
+ {{ image_alt }} +
+ {{ title }} +
+
{{ subtitle }}
+
+

{{ description }}

+
+ {% if button_link_1 %} + {{ button_text_1 }} + {% endif %} + {% if button_link_1 %} + {{ button_text_2 }} + {% endif %} +
+
+
+ + + + diff --git a/templates/shortcodes/left_text.html b/templates/shortcodes/left_text.html index 788ec24f2..e879bd0b6 100644 --- a/templates/shortcodes/left_text.html +++ b/templates/shortcodes/left_text.html @@ -1,5 +1,6 @@ {% set title = title | default(value="Built") %} -{% set description = description | default(value="") %} +{% set description_1 = description_1 | default(value="") %} +{% set description_2 = description_2 | default(value="") %} {% set button_text = button_text | default(value="") %} {% set button_link = button_link | default(value="") %} @@ -10,8 +11,16 @@

{{ title }}

-

{{ description }}

+

{{ description_1 }}

+ +

{{ description_2 }}

+ + {% if button_link %} + {{ button_text }} + + {% endif %} +