diff --git a/content/home/_index.md b/content/home/_index.md new file mode 100644 index 000000000..a43017c65 --- /dev/null +++ b/content/home/_index.md @@ -0,0 +1,3 @@ +--- +template: "index.html" +--- diff --git a/content/home/partenerships/_index.md b/content/home/partenerships/_index.md new file mode 100644 index 000000000..f56bb7bd8 --- /dev/null +++ b/content/home/partenerships/_index.md @@ -0,0 +1,3 @@ +--- +transparent: true +--- diff --git a/content/home/partenerships/partner1/index.md b/content/home/partenerships/partner1/index.md new file mode 100644 index 000000000..32a4a2985 --- /dev/null +++ b/content/home/partenerships/partner1/index.md @@ -0,0 +1,11 @@ +--- +title: "Expand the People’s Internet" + +extra: + subtitle: "and earn TFT" + button: Become a Farmer + link: /farm + imgPath: /images/become_farmer_new.jpg +--- + +By connecting hardware at your home or office, support the growth of a decentralized Internet and earn a new digital currency, TFT. diff --git a/content/home/partenerships/partner2/index.md b/content/home/partenerships/partner2/index.md new file mode 100644 index 000000000..b8f17ab31 --- /dev/null +++ b/content/home/partenerships/partner2/index.md @@ -0,0 +1,11 @@ +--- +title: DECENTRALIZE YOUR + +extra: + subtitle: "DATA AND WORKLOADS" + imgPath: /images/network_new.jpg + button: Deploy + link: /cloud +--- + +Companies and developers have already started using ThreeFold for it’s autonomous, decentralization and privacy features. diff --git a/static/images/become_farmer_new.jpg b/static/images/become_farmer_new.jpg index 426bc77c0..40a4aec61 100644 Binary files a/static/images/become_farmer_new.jpg and b/static/images/become_farmer_new.jpg differ diff --git a/static/images/network_new.jpg b/static/images/network_new.jpg index d3348ac8a..119e0c923 100644 Binary files a/static/images/network_new.jpg and b/static/images/network_new.jpg differ diff --git a/templates/index.html b/templates/index.html index 24ba5b74c..07cff67a1 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,8 +1,19 @@ {% extends "_default/base.html" %} {% block content %} - +
- {{section.content | safe}} +
+ + {% include "partials/partnerships.html" %} +
{% endblock content %} \ No newline at end of file diff --git a/templates/partials/partnerships.html b/templates/partials/partnerships.html new file mode 100644 index 000000000..6b17c4334 --- /dev/null +++ b/templates/partials/partnerships.html @@ -0,0 +1,75 @@ +{% set home = get_section(path="home/_index.md") %} + + + +{% if current_path == '/' %} + +
+
+
+ {% for page in home.pages %} +
+
+
+

+ {{ page.title }} + {{ page.extra.subtitle }} +

+
{{ page.content | safe }}
+
+ {% if page.extra.button %} +
+ {% if page.extra.button is containing('http') %} + {{ page.extra.button }} + {% else %} + {{ page.extra.button }} + {% endif %} +
+ {% endif %} +
+ + +
+ {% endfor %} +
+
+
+{% endif %} \ No newline at end of file