From d48bd43795bc47d19e864a3c02af10981ac3ee2d Mon Sep 17 00:00:00 2001 From: ehab-hassan Date: Wed, 18 Jun 2025 17:49:56 +0300 Subject: [PATCH 1/2] update FAQ link --- content/home/index.md | 4 +++- templates/shortcodes/accordion.html | 9 +++++++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/content/home/index.md b/content/home/index.md index e065bddbf..fe05ed944 100644 --- a/content/home/index.md +++ b/content/home/index.md @@ -301,7 +301,9 @@ Explore all the products that are driving this transformation. {{ accordion( id_accordion="accordion4" question="How can I get V4 nodes?", - description="Our partners are selling V4 nodes with a new reward scheme and ready to grow to millions of nodes." + description="Our partners are selling V4 nodes with a new reward scheme and ready to grow to millions of nodes.", + link="https://docs.threefold.io/docs/become-a-farmer/get_started/", + text_link="Click here to get V4 nodes." ) }} {{ accordion( diff --git a/templates/shortcodes/accordion.html b/templates/shortcodes/accordion.html index 83a896aee..f057c02ee 100644 --- a/templates/shortcodes/accordion.html +++ b/templates/shortcodes/accordion.html @@ -1,6 +1,8 @@ {% set question = question | default(value="") %} {% set id_accordion = id_accordion | default(value="") %} {% set description = description | default(value="") %} +{% set link = link | default(value="") %} +{% set text_link = text_link | default(value="") %}
@@ -11,9 +13,12 @@
-
+
{% if description %} -

{{ description }}

+

{{ description }} + {% if link %} + {{ text_link }}

+ {% endif %} {% endif %}
From 283f07167229bb7f1d8b983b48a9eb84beb4d67b Mon Sep 17 00:00:00 2001 From: ehab-hassan Date: Thu, 19 Jun 2025 10:24:38 +0300 Subject: [PATCH 2/2] update FAQ link --- content/home/index.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/content/home/index.md b/content/home/index.md index fe05ed944..d720b3c64 100644 --- a/content/home/index.md +++ b/content/home/index.md @@ -309,7 +309,10 @@ Explore all the products that are driving this transformation. {{ accordion( id_accordion="accordion5" question="What can I do with the ThreeFold Grid?", - description="ThreeFold grid can be used to host any web2, web3 and future workload. For more details see our docs." + description="ThreeFold grid can be used to host any web2, web3 and future workload. For more details see ", + link="https://docs.threefold.io/docs/category/how-to-use/", + text_link="our docs." + ) }} {{ accordion(