From 7dded5be572bb255e68adf731e1b64787db9f919 Mon Sep 17 00:00:00 2001 From: timurgordon Date: Wed, 28 Feb 2024 19:32:07 -0500 Subject: [PATCH] updates to format --- content/.collection | 0 content/about/{index.md => about.md} | 0 content/careers/{index.md => careers.md} | 0 .../{index.md => grid_development_manager.md} | 0 content/footer/_index.md | 59 ---------- content/footer/footer.md | 55 +++++++++ content/header/{index.md => header.md} | 0 content/{_index.md => home.md} | 0 content/host/farm.md | 109 ++++++++++++++++++ .../{index.md => adnan_fatayerji.md} | 0 content/support/support.md | 73 ++++++++++++ templates/index.html | 2 +- templates/layouts/blog.html | 1 - templates/partials/header.html | 8 +- 14 files changed, 245 insertions(+), 62 deletions(-) create mode 100644 content/.collection rename content/about/{index.md => about.md} (100%) rename content/careers/{index.md => careers.md} (100%) rename content/careers/grid-development-manager/{index.md => grid_development_manager.md} (100%) delete mode 100644 content/footer/_index.md create mode 100644 content/footer/footer.md rename content/header/{index.md => header.md} (100%) rename content/{_index.md => home.md} (100%) create mode 100644 content/host/farm.md rename content/people/adnan_fatayerji/{index.md => adnan_fatayerji.md} (100%) create mode 100644 content/support/support.md diff --git a/content/.collection b/content/.collection new file mode 100644 index 000000000..e69de29bb diff --git a/content/about/index.md b/content/about/about.md similarity index 100% rename from content/about/index.md rename to content/about/about.md diff --git a/content/careers/index.md b/content/careers/careers.md similarity index 100% rename from content/careers/index.md rename to content/careers/careers.md diff --git a/content/careers/grid-development-manager/index.md b/content/careers/grid-development-manager/grid_development_manager.md similarity index 100% rename from content/careers/grid-development-manager/index.md rename to content/careers/grid-development-manager/grid_development_manager.md diff --git a/content/footer/_index.md b/content/footer/_index.md deleted file mode 100644 index 4e1dc79d4..000000000 --- a/content/footer/_index.md +++ /dev/null @@ -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 - -
- -###### [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 - -
- -###### [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 - -
- -
About
- -
NewsRoom
- -
People
- -
Partners
- -
Blog
- -{% end %} \ No newline at end of file diff --git a/content/footer/footer.md b/content/footer/footer.md new file mode 100644 index 000000000..5665f1647 --- /dev/null +++ b/content/footer/footer.md @@ -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 + +
+ + + + + + +||| + +##### TALK TO HUMANS + +
+ + + + + + +||| + +##### ABOUT US + +
+ +
About
+ +
News
+ +
Community
+ +
Partners
+ +
Blog
+ +{% end %} + diff --git a/content/header/index.md b/content/header/header.md similarity index 100% rename from content/header/index.md rename to content/header/header.md diff --git a/content/_index.md b/content/home.md similarity index 100% rename from content/_index.md rename to content/home.md diff --git a/content/host/farm.md b/content/host/farm.md new file mode 100644 index 000000000..501114ea6 --- /dev/null +++ b/content/host/farm.md @@ -0,0 +1,109 @@ +--- +title: "Farm" +template: "page.html" +insert_anchor_links: "left" +--- + + + +{% row(style="center narrow") %} + +
+
+
+
+
+
+
+
+
+
+
+
+ +### **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. + +
+ +#### **Thousands** of Hosters | **60+** Countries | **30+** PB of Capacity + +
+
+
+
+
+
+
+
+
+
+
+
+
+ +{% 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. + +
+ + + +
+
+
+
+
+ +||| + +![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. + +
+ + + +
+
+
+
+
+ +{% end %} + +{% row(style="center narrow mtop") %} + +
+
+
+
+
+ +### **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. + +
+ + + + +
+
+
+
+
+ +{% end %} \ No newline at end of file diff --git a/content/people/adnan_fatayerji/index.md b/content/people/adnan_fatayerji/adnan_fatayerji.md similarity index 100% rename from content/people/adnan_fatayerji/index.md rename to content/people/adnan_fatayerji/adnan_fatayerji.md diff --git a/content/support/support.md b/content/support/support.md new file mode 100644 index 000000000..9c113256a --- /dev/null +++ b/content/support/support.md @@ -0,0 +1,73 @@ +--- +title: "Support" +template: "page.html" +insert_anchor_links: "left" +--- + +
+ + + +{% row(style="center narrow") %} + + +## Get in Touch
**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 %} + + +
+ +
+ +
+ + + + +{% row(bgColor="#f2f2f2" style="center margin") %} + +## Frequently Asked
**Questions** + +Check out the most common questions from the community.
There's a good chance your answer is there already! + + + + + +{% end %} + + + + + +{% row(style="center ") %} + +![Image](ask.png#mx-auto) +
+ +## Have a Question About
**Building on ThreeFold?** + + + + + +{% end %} \ No newline at end of file diff --git a/templates/index.html b/templates/index.html index 1e6fc1071..c256697e8 100644 --- a/templates/index.html +++ b/templates/index.html @@ -3,7 +3,7 @@
- {% set page = get_page(path="home/index.md") %} + {% set page = get_page(path="home.md") %} {{page.content | safe}}
{% endblock content %} \ No newline at end of file diff --git a/templates/layouts/blog.html b/templates/layouts/blog.html index d9b237f2b..72e279a0f 100644 --- a/templates/layouts/blog.html +++ b/templates/layouts/blog.html @@ -22,7 +22,6 @@ and a side nav for category and featured post navigation {% endif %} {% endfor %} - {% include "partials/featuredBlog.html" %}
{% include "partials/blogPosts.html" %} diff --git a/templates/partials/header.html b/templates/partials/header.html index 1e1855329..d8aa6dc62 100644 --- a/templates/partials/header.html +++ b/templates/partials/header.html @@ -36,6 +36,7 @@ {% set current = get_url(path=link_path[1]) ~ "/" %} {% if header_label is containing("http") %} {% if header_label is not containing("threefold") %} + {%if link_path | length > 1 %} {{link_label}} @@ -44,11 +45,14 @@ {{link_label}} + {% endif %} {% else %} - + {%if link_path | length > 1 %} + {{link_label}} {% endif %} + {% endif %} {% else %}
{% set button_id = header_label ~ "-menu-btn" | slugify %} @@ -170,10 +174,12 @@ {% set link_path = header_label | split(pat="%22") | safe%} {% if header_label is containing("http") %} {% if header_label is not containing("threefold") %} + {%if link_path | length > 1 %} {{link_label}} {% endif %} + {% endif %} {% else %} {{link_label}}