updates to format

This commit is contained in:
timurgordon
2024-02-28 19:32:07 -05:00
parent 7145717442
commit 7dded5be57
14 changed files with 245 additions and 62 deletions

0
content/.collection Normal file
View File

View File

@@ -1,59 +0,0 @@
---
title: "Footer"
description: ""
insert_anchor_links: "left"
template: "partials/footer.html"
extra:
logoPath: "images/black_threefold.png"
socialLinks: { Github: "https://github.com/threefoldfoundation", Github2: "https://github.com/threefoldtech", Twitter: "https://twitter.com/threefold_io", Telegram: "https://t.me/threefoldnews" }
---
{% row(style="lean") %}
##### TAKE ACTION
<br>
###### [Learn](https://manual.grid.tf/)
###### [Host (Farm)](/host)
###### [Dashboard](https://next.dashboard.grid.tf/)
###### [Download TF Connect: iOS](https://apps.apple.com/us/app/3bot-login/id1459845885)
###### [Download TF Connect: Android](https://play.google.com/store/apps/details?id=org.jimber.threebotlogin&hl=en_US)
|||
##### TALK TO HUMANS
<br>
###### [Main Chat](https://t.me/threefold)
###### [Hosting / Farming Chat](https://t.me/threefoldfarmers)
###### [Grid User Chat](https://t.me/threefoldtesting)
###### [Forum](https://forum.threefold.io/)
###### [Support](https://threefoldfaq.crisp.help/en/)
|||
##### ABOUT US
<br>
<h6><a target="_self" onclick="window.location.href='/about'">About</a></h6>
<h6><a target="_self" onclick="window.location.href='/newsroom'">NewsRoom</a></h6>
<h6><a target="_self" onclick="window.location.href='/people'">People</a></h6>
<h6><a target="_self" onclick="window.location.href='/utilization'">Partners</a></h6>
<h6><a target="_self" onclick="window.location.href='/blog'">Blog</a></h6>
{% end %}

55
content/footer/footer.md Normal file
View File

@@ -0,0 +1,55 @@
---
title: "Footer"
description: ""
insert_anchor_links: "left"
template: "partials/footer.html"
extra:
logoPath: "images/black_threefold.png"
socialLinks: {
Github: "https:github.com/threefoldfoundation",
Github2: "https://github.com/threefoldtech",
Twitter: "https://twitter.com/threefold_io",
Telegram: "https://t.me/threefoldnews"
}
---
{% row(style="lean") %}
##### TAKE ACTION
<br>
|||
##### TALK TO HUMANS
<br>
|||
##### ABOUT US
<br>
<h6><a target="_self" onclick="window.location.href='/about'">About</a></h6>
<h6><a target="_self" onclick="window.location.href='/newsroom'">News</a></h6>
<h6><a target="_self" onclick="window.location.href='/community'">Community</a></h6>
<h6><a target="_self" onclick="window.location.href='/partners'">Partners</a></h6>
<h6><a target="_self" onclick="window.location.href='/blog'">Blog</a></h6>
{% end %}

109
content/host/farm.md Normal file
View File

@@ -0,0 +1,109 @@
---
title: "Farm"
template: "page.html"
insert_anchor_links: "left"
---
<!-- section 1 (be the Internet) -->
{% row(style="center narrow") %}
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
### **Be the Cloud**
By connecting a modern computer at your home or office to the ThreeFold Grid, you can provide cloud capacity to communities and builders, and be rewarded for doing this.
<br>
#### **Thousands** of Hosters | **60+** Countries | **30+** PB of Capacity
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
{% end %}
{% row(style="center narrow mtop") %}
![Image](build.png#medium)
### **Build a Node**
Optimize your own specs to ensure a reliable and performant node, while receiving fair reward for your contribution of Internet resources.
<br>
<button>[Build](https://manual.grid.tf/farmers/3node_building/3node_building.html)</button>
<br>
<br>
<br>
<br>
<br>
|||
![Image](buy.png#medium)
### **Buy a Node**
Buy a preconfigured node from an independent vendor. Nodes are optimized for performance and rewards across different price points.
<br>
<button>[Buy](https://marketplace.3node.global/)</button>
<br>
<br>
<br>
<br>
<br>
{% end %}
{% row(style="center narrow mtop") %}
<br>
<br>
<br>
<br>
<br>
### **Earn your reward**
ThreeFold has a digital currency called TFT, which you earn every month according to the amount of Internet resources you provide and maintaining specific levels of uptime performance. TFT is also the medium of exchange in the ecosystem, necessary for utilizing resources.
<br>
<button>[About TFT](https://manual.grid.tf/threefold_token/threefold_token.html)</button>
<button>[Buy or Sell TFT](https://manual.grid.tf/threefold_token/buy_sell_tft/buy_sell_tft.html)</button>
<br>
<br>
<br>
<br>
<br>
{% end %}

View File

@@ -0,0 +1,73 @@
---
title: "Support"
template: "page.html"
insert_anchor_links: "left"
---
<br>
<!-- section 1 (Farm) -->
{% row(style="center narrow") %}
## Get in Touch <br> **with ThreeFold**
{% end %}
{% row(style="center between") %}
[![Image](support_join.png)](https://t.me/threefold)
|||
[![Image](support_press.png)](https://mail.google.com/mail/u/0/?fs=1&tf=cm&source=mailto&to=press@threefold.io)
|||
[![Image](for_all.png)](https://mail.google.com/mail/u/0/?fs=1&tf=cm&source=mailto&to=info@threefold.io)
{% end %}
<br>
<br>
<br>
<!-- section 2 (QUESTIONS) -->
{% row(bgColor="#f2f2f2" style="center margin") %}
## Frequently Asked <br> **Questions**
Check out the most common questions from the community. <br> There's a good chance your answer is there already!
<button>[ThreeFold FAQ](/faq)</button>
<button>[TFT FAQ](/tftfaq)</button>
{% end %}
<!-- section 3 (world of farmers) -->
{% row(style="center ") %}
![Image](ask.png#mx-auto)
<br>
## Have a Question About <br> **Building on ThreeFold?**
<button>[Create a Forum Post](https://forum.threefold.io/)</button>
{% end %}

View File

@@ -3,7 +3,7 @@
<!-- home page template, has a banner and rows of page summaries --> <!-- home page template, has a banner and rows of page summaries -->
<div> <div>
{% set page = get_page(path="home/index.md") %} {% set page = get_page(path="home.md") %}
{{page.content | safe}} {{page.content | safe}}
</div> </div>
{% endblock content %} {% endblock content %}

View File

@@ -22,7 +22,6 @@ and a side nav for category and featured post navigation
{% endif %} {% endif %}
{% endfor %} {% endfor %}
{% include "partials/featuredBlog.html" %}
<div class="flex flex-col md:flex-row container mx-auto my-6"> <div class="flex flex-col md:flex-row container mx-auto my-6">
{% include "partials/blogPosts.html" %} {% include "partials/blogPosts.html" %}

View File

@@ -36,6 +36,7 @@
{% set current = get_url(path=link_path[1]) ~ "/" %} {% set current = get_url(path=link_path[1]) ~ "/" %}
{% if header_label is containing("http") %} {% if header_label is containing("http") %}
{% if header_label is not containing("threefold") %} {% if header_label is not containing("threefold") %}
{%if link_path | length > 1 %}
<a href="{{link_path[1]}}" target="_blank" class="text-lg py-3 leading-6 font-medium text-gray-900 hover:text-gray-500 focus:outline-none focus:text-gray-900 transition ease-in-out duration-150"> <a href="{{link_path[1]}}" target="_blank" class="text-lg py-3 leading-6 font-medium text-gray-900 hover:text-gray-500 focus:outline-none focus:text-gray-900 transition ease-in-out duration-150">
{{link_label}} {{link_label}}
</a> </a>
@@ -44,11 +45,14 @@
<a href="{{ get_url(path=link_path[1])}}" class="text-lg py-3 leading-6 font-normal active hover:text-gray-900 focus:outline-none focus:text-gray-900 transition ease-in-out duration-150"> <a href="{{ get_url(path=link_path[1])}}" class="text-lg py-3 leading-6 font-normal active hover:text-gray-900 focus:outline-none focus:text-gray-900 transition ease-in-out duration-150">
{{link_label}} {{link_label}}
</a> </a>
{% endif %}
{% else %} {% else %}
<a href="{{ get_url(path=link_path[1])}}" class="text-lg py-3 leading-6 font-normal text-gray-900 hover:text-gray-900 focus:outline-none focus:text-gray-900 transition ease-in-out duration-150"> {%if link_path | length > 1 %}
<a href="{{ get_url(path=link_path[1])}}" class="text-lg py-3 leading-6 font-normal text-gray-900 hover:text-gray-900 focus:outline-none focus:text-gray-900 transition ease-in-out duration-150">
{{link_label}} {{link_label}}
</a> </a>
{% endif %} {% endif %}
{% endif %}
{% else %} {% else %}
<div class="relative"> <div class="relative">
{% set button_id = header_label ~ "-menu-btn" | slugify %} {% set button_id = header_label ~ "-menu-btn" | slugify %}
@@ -170,10 +174,12 @@
{% set link_path = header_label | split(pat="%22") | safe%} {% set link_path = header_label | split(pat="%22") | safe%}
{% if header_label is containing("http") %} {% if header_label is containing("http") %}
{% if header_label is not containing("threefold") %} {% if header_label is not containing("threefold") %}
{%if link_path | length > 1 %}
<a href="{{link_path[1]}}" target="_blank" class="text-lg px-8 py-3 leading-6 font-normal text-gray-900 hover:text-gray-900 focus:outline-none focus:text-gray-900 transition ease-in-out duration-150"> <a href="{{link_path[1]}}" target="_blank" class="text-lg px-8 py-3 leading-6 font-normal text-gray-900 hover:text-gray-900 focus:outline-none focus:text-gray-900 transition ease-in-out duration-150">
{{link_label}} {{link_label}}
</a> </a>
{% endif %} {% endif %}
{% endif %}
{% else %} {% else %}
<a href="{{ get_url(path=link_path[1])}}" class="text-lg px-8 py-3 leading-6 font-normal text-gray-900 hover:text-gray-900 focus:outline-none focus:text-gray-900 transition ease-in-out duration-150"> <a href="{{ get_url(path=link_path[1])}}" class="text-lg px-8 py-3 leading-6 font-normal text-gray-900 hover:text-gray-900 focus:outline-none focus:text-gray-900 transition ease-in-out duration-150">
{{link_label}} {{link_label}}