hero-download.html 2.18 KB
Newer Older
Hiro's avatar
Hiro committed
1
<div class="row">
emmapeel's avatar
emmapeel committed
2
  <h1 class="mx-auto display-2 text-white">{{ _('Defend yourself.') }}</h1>
Hiro's avatar
Hiro committed
3
</div>
Hiro's avatar
Hiro committed
4
<div class="row">
Hiro's avatar
Hiro committed
5
  <h3 class="mx-auto defend text-white">{{ _('Protect yourself against tracking, surveillance, and censorship.') }}</h3>
Hiro's avatar
Hiro committed
6
</div>
Antonela's avatar
Antonela committed
7
<div class="row p-5 mx-auto">
Hiro's avatar
Hiro committed
8
  {% for id, item in bag('platforms').items() %}
Antonela's avatar
Antonela committed
9
    <div class="col-sm-6 col-md-3 py-3">
Antonela's avatar
Antonela committed
10
      <div class="oval-2 bg-darker mx-auto">
11
12
13
14
15
        {% set t = bag('versions', 'torbrowser-stable') %}
        {% set download_prefix = 'https://www.torproject.org/dist/torbrowser/' + t.version + '/' %}
        {% if alt == 'en' %}
          {% set alt = 'en-US' %}
        {% endif %}
Hiro's avatar
Hiro committed
16
        {% if id == 'windows' %}
17
18
19
20
          {% set download_link = download_prefix + 'torbrowser-install-win64-' + t.version + '_' + alt + '.exe' %}
        {% elif id == 'apple' %}
          {% set download_link = download_prefix + 'TorBrowser-' + t.version + '-osx64' + '_' + alt + '.dmg' %}
        {% else %}
Hiro's avatar
Hiro committed
21
          {% set download_link = download_prefix + 'tor-browser-linux64-' + t.version + '_' + alt + '.tar.xz' %}
22
        {% endif %}
Hiro's avatar
Hiro committed
23
        <a class="downloadLink" href="{{ download_link }}">
Antonela's avatar
Antonela committed
24
          <i class="fab fa-{{ id }} text-light"></i>
Hiro's avatar
Hiro committed
25
        </a>
Hiro's avatar
Hiro committed
26
      </div>
Hiro's avatar
Hiro committed
27
    </div>
Hiro's avatar
Hiro committed
28
  {% endfor %}
Hiro's avatar
Hiro committed
29
30
31
32
33
34
35
  <div class="col-sm-6 col-md-3 py-3">
    <div class="oval-2 bg-darker mx-auto">
      <a href="#android">
        <i class="fab fa-android text-light"></i>
      </a>
    </div>
  </div>
Hiro's avatar
Hiro committed
36
</div>
Antonela's avatar
Antonela committed
37
<div class="row p-5">
Hiro's avatar
Hiro committed
38
  <a class="mx-auto text-white py-3" href="{{ 'languages'|url(alt=this.alt) }}"><u>{{ _('Download in another language') }}</u></a>
Hiro's avatar
Hiro committed
39
  <a class="mx-auto text-white py-3" href="{{ 'alpha'|url(alt=this.alt) }}"><u>{{ _('Advanced Install Options') }}</u></a>
Hiro's avatar
Hiro committed
40
41
42
  {% set v = bag('versions', 'tor-stable') %}
  {% set download_source = 'https://dist.torproject.org/tor-' + v.version + '.tar.gz' %}
  <a class="mx-auto text-white py-3" href="{{ download_source }}"><u>{{ _('Download Source Tarball') }}</u></a>
Hiro's avatar
Hiro committed
43
</div>
Antonela's avatar
Antonela committed
44
<div class="hidden-sm row p-5 justify-content-center window-bg">
Antonela's avatar
Antonela committed
45
  <a class="mx-auto text-white text-center py-5" href="https://blog.torproject.org/category/tags/tor-browser"><u>{{ _('Read the latest release announcements') }}</u></a>
Hiro's avatar
Hiro committed
46
</div>