community/templates/onion-services.html

69 lines
2.8 KiB
HTML
Raw Normal View History

2019-04-10 14:24:46 +00:00
<div class="container py-5">
<div class="row py-5">
2019-06-12 09:39:47 +00:00
<div class="col-lg-7">
2019-04-10 14:24:46 +00:00
{{ this.body }}
</div>
2019-06-12 09:39:47 +00:00
<div class="col-lg-5">
<img src="/static/images/home/png/{{ this.section_id }}.png" class="img-fluid" alt="{{ _(this.section) }}" />
2019-04-10 14:24:46 +00:00
</div>
</div>
2019-06-07 11:28:35 +00:00
<a href="{{ this.path|url }}overview/"><h2 class="text-primary"><u>{{ _('Learn more about onion services here') }}
2019-04-10 14:24:46 +00:00
<i class="fas fa-arrow-right"></i></u>
2019-06-07 11:28:35 +00:00
</h2></a>
2019-04-10 14:24:46 +00:00
<div class="row py-5">
{% for child in this.children|sort(attribute='key') %}
2019-06-07 11:28:35 +00:00
{% if child.key != '0' %}
2019-04-10 14:24:46 +00:00
<div class="col-sm-6 col-md-6 col-sm-12 col-xl-6 py-4">
<div class="card h-100 border-0">
<div class="card-body">
<h2 class="text-primary display-2"><i class="fas fa-{{ child.image }}"></i></h2>
<h4 class="card-title text-primary">{{ child.title }}</h4>
<p class="card-text">{{ child.subtitle }}</p>
2019-06-07 11:28:35 +00:00
<a href="{{ child.path|url }}">{{ child.cta }} <i class="fas fa-arrow-right"></i></a>
2019-04-10 14:24:46 +00:00
</div>
</div>
</div>
2019-06-07 11:28:35 +00:00
{% endif %}
2019-04-10 14:24:46 +00:00
{% endfor %}
</div>
<div class="row py-5 text-center mx-auto">
<h2 class="display-4 text-primary text-center mx-auto">{{ _('Onionize any website') }}</h2>
<p class="text-center">
{{ _('There\'s a toolkit that lets you take any existing website and host it as a .onion site. You would wanna do this because .onion sites are more secure than just regular sites. We show you how to use this toolkit and onionize a site.') }}
</p>
</div>
<div class="row mx-auto">
<div class="col-6">
2019-06-07 11:28:35 +00:00
<a href="https://github.com/alecmuffett/eotk#i-want-to-create-my-own-project">
2019-04-10 14:24:46 +00:00
<h3 class="text-primary text-center mx-auto"><u>{{ _('Learn more') }}
<i class="fas fa-arrow-right"></i></u>
2019-06-07 11:28:35 +00:00
</h3></a>
2019-04-10 14:24:46 +00:00
</div>
<div class="col-6">
2019-06-07 11:28:35 +00:00
<a href="https://github.com/alecmuffett/eotk"><h3 class="text-primary text-center mx-auto"><u>{{ _('Check out the code') }}
2019-04-10 14:24:46 +00:00
<i class="fas fa-arrow-right"></i></u>
2019-06-07 11:28:35 +00:00
</h3></a>
2019-04-10 14:24:46 +00:00
</div>
</div>
2019-06-19 14:59:19 +00:00
<div class="row py-5 text-center mx-auto">
<h2 class="display-4 text-primary text-center mx-auto">{{ _('Featured .onion sites') }}</h2>
</div>
<div class="row mx-auto">
{% for id, item in bag('onions').items() %}
<div class="col-4">
<div class="card h-50 border-0">
{% if id=='tor' %}
<img class="card-img-top h-100 w-25 mx-auto d-block" src="{{ item.image|asseturl }}">
{% else %}
<img class="card-img-top mx-auto d-block" src="{{ item.image|asseturl }}">
{% endif %}
<div class="card-body">
<p class="card-text text-primary text-center"><a href="{{ item.link }}">{{ item.link }}</a></p>
</div>
</div>
</div>
{% endfor %}
</div>
</div>