get home page back
This commit is contained in:
@@ -1,12 +0,0 @@
|
||||
---
|
||||
title: "WELCOME TO THE"
|
||||
sort_by: "weight"
|
||||
|
||||
extra:
|
||||
subtitle: "People’s Internet"
|
||||
slogan: Join the peer-to-peer revolution
|
||||
imgPath: new_home_header.jpg
|
||||
|
||||
template: "index.html"
|
||||
---
|
||||
Powered by the ThreeFold blockchain the People’s Internet is the layer 0 infrastructure for an open source P2P Internet owned by humanity.
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 119 KiB |
@@ -1,3 +0,0 @@
|
||||
---
|
||||
transparent: true
|
||||
---
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 22 KiB |
@@ -1,11 +0,0 @@
|
||||
---
|
||||
title: "Expand the People’s Internet"
|
||||
weight: 1
|
||||
extra:
|
||||
subtitle: "and earn TFT"
|
||||
button: Become a Farmer
|
||||
link: /farm
|
||||
imgPath: 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.
|
||||
@@ -1,11 +0,0 @@
|
||||
---
|
||||
title: DECENTRALIZE YOUR
|
||||
weight: 2
|
||||
extra:
|
||||
subtitle: "DATA AND WORKLOADS"
|
||||
imgPath: network_new.jpg
|
||||
button: Deploy
|
||||
link: /cloud
|
||||
---
|
||||
|
||||
Companies and developers have already started using ThreeFold for it’s autonomous, decentralization and privacy features.
|
||||
|
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 25 KiB |
@@ -26,7 +26,7 @@
|
||||
<!-- End Twitter universal website tag code -->
|
||||
|
||||
|
||||
<div id="content" class="">
|
||||
<div id="content" class="p-4 pt-12 sm:p-12 md:p-16 lg:p-20 overflow-hidden">
|
||||
{% block content %}{% endblock %}
|
||||
</div>
|
||||
<div class="p-8">
|
||||
|
||||
@@ -1,19 +1,9 @@
|
||||
{% extends "_default/base.html" %}
|
||||
{% block content %}
|
||||
<style>
|
||||
.container-fluid {
|
||||
width: 100%;
|
||||
/* padding-right: 15px;
|
||||
padding-left: 15px; */
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
}
|
||||
</style>
|
||||
|
||||
<!-- Landing page template, has a banner and rows of page summaries -->
|
||||
<main>
|
||||
<div class="container-fluid sm:pxi-0 mx-auto overflow-x-hidden">
|
||||
{% include "partials/header_sec.html" %}
|
||||
{% include "partials/partnerships.html" %}
|
||||
</div>
|
||||
{{section.content | safe}}
|
||||
|
||||
</main>
|
||||
{% endblock content %}
|
||||
@@ -1,66 +0,0 @@
|
||||
{% set home = get_section(path="home/_index.md") %}
|
||||
|
||||
|
||||
{% if current_path == '/' %}
|
||||
|
||||
<div class="flex flex-wrap text-center lg:text-left lg:py-20 -mx-2">
|
||||
<div class="px-3 lg:mt-5 order-1 lg:order-none mx-auto text-center">
|
||||
<h2 class="
|
||||
lg:text-6xl
|
||||
font-normal
|
||||
uppercase
|
||||
mb-6
|
||||
mt-10
|
||||
leading-none
|
||||
font-heading
|
||||
">
|
||||
{{ home.title }}
|
||||
<span class="block leading-none font-bold">{{ home.extra.subtitle }}</span>
|
||||
</h2>
|
||||
|
||||
<h3 class="text-4xl leading-none font-light">{{ home.extra.slogan }}</h3>
|
||||
<div class="mb-8 mx-auto lg:text-2xl text-xl max-w-3xl">{{ home.content | safe }}</div>
|
||||
{% if home.extra.button %}
|
||||
{% if home.extra.link is containing('http')%}
|
||||
<a target="_blank" class="
|
||||
text-black
|
||||
inline-block
|
||||
bg-white
|
||||
lg:text-lg
|
||||
learn-button
|
||||
hover:bg-gray-400
|
||||
px-12
|
||||
py-1
|
||||
mr-5
|
||||
mb-4
|
||||
border-2
|
||||
shadow
|
||||
border-black
|
||||
capitalize
|
||||
" href="{{ home.extra.link }}">{{ home.extra.button }}</a>
|
||||
{% else %}
|
||||
<a class="
|
||||
text-black
|
||||
inline-block
|
||||
bg-white
|
||||
lg:text-lg
|
||||
learn-button
|
||||
hover:bg-gray-400
|
||||
px-12
|
||||
py-1
|
||||
mr-5
|
||||
mb-4
|
||||
border-2
|
||||
shadow
|
||||
border-black
|
||||
capitalize
|
||||
" href="{{ get_url(path=home.extra.link)}}">{{ home.extra.button }}</a>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</div>
|
||||
{% set url = get_url(path='/' ~ home.relative_path |
|
||||
replace(from='_index.md', to=home.extra.imgPath)) %}
|
||||
<img class="order-2 lg:order-none mx-auto w-full" src="{{ url }}" />
|
||||
</div>
|
||||
|
||||
{% endif %}
|
||||
@@ -1,77 +0,0 @@
|
||||
{% set home = get_section(path="home/_index.md") %}
|
||||
|
||||
<style>
|
||||
.bg-gray {
|
||||
background-color: #f2f2f2
|
||||
}
|
||||
</style>
|
||||
|
||||
{% if current_path == '/' %}
|
||||
|
||||
<div class="
|
||||
max-w-screen-2xl
|
||||
mx-auto
|
||||
py-12
|
||||
text-center
|
||||
sm:px-6
|
||||
lg:px-8
|
||||
lg:py-20
|
||||
">
|
||||
<div class="space-y-12">
|
||||
<div class="mx-auto grid-cols-2 sm:grid sm:grid-cols-1 lg:grid-cols-2">
|
||||
{% for page in home.pages %}
|
||||
<div class="my-5 mx-5 pt-10 bg-gray">
|
||||
<div class="space-y-2">
|
||||
<div class="text-lg font-medium space-y-1">
|
||||
<h2 class="h2 uppercase leading-tight font-light">
|
||||
{{ page.title }}
|
||||
<span class="block font-bold"> {{ page.extra.subtitle }}</span>
|
||||
</h2>
|
||||
<div class="mx-auto text-xl px-5 mb-5">{{ page.content | safe }}</div>
|
||||
</div>
|
||||
{% if page.extra.button %}
|
||||
<div>
|
||||
{% if page.extra.button is containing('http') %}
|
||||
<a target="_blank" href="{{page.extra.link}}" class="
|
||||
inline-block
|
||||
lg:text-lg
|
||||
learn-button
|
||||
hover:bg-gray-400
|
||||
px-12
|
||||
py-1
|
||||
mr-5
|
||||
my-10
|
||||
border-2
|
||||
shadow
|
||||
border-black
|
||||
capitalize
|
||||
">{{ page.extra.button }}</a>
|
||||
{% else %}
|
||||
<a href={{get_url(path=page.extra.link)}} class="
|
||||
inline-block
|
||||
lg:text-lg
|
||||
learn-button
|
||||
hover:bg-gray-400
|
||||
px-12
|
||||
py-1
|
||||
mr-5
|
||||
my-10
|
||||
border-2
|
||||
shadow
|
||||
border-black
|
||||
capitalize
|
||||
">{{ page.extra.button }}</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% set url = get_url(path='/' ~ page.relative_path |
|
||||
replace(from='index.md', to=page.extra.imgPath)) %}
|
||||
|
||||
<img class="mx-auto w-full" src="{{url}}" />
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user