GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

banner.html 1.93 KB
Newer Older
Hiro's avatar
Hiro committed
1
{% set locale = bag('alternatives', this.alt) %}
Hiro's avatar
Hiro committed
2
<div class="banner__containter banner align-middle d-flex justify-content-center p-0">
Hiro's avatar
Hiro committed
3 4 5
  <input id="trigger" type="checkbox" title="{{ _('Close banner') }}" />
  <label for="trigger" class="footer__close text-white">X</label>
  <span class="eoy-sr-only text-white">{{ _('Close banner') }}</span>
Hiro's avatar
Hiro committed
6
  <div class="eoy-banner row col-md-12" id="banner-header" role="contentinfo">
Gus's avatar
Gus committed
7 8
    <div class="col-lg-3 col-md-2"></div>
    <div class="col-lg-6 col-md-8">
Hiro's avatar
Hiro committed
9
      <div class="col-12 p-5 {{ locale.direction }}">
Hiro's avatar
Hiro committed
10
        <div class="row">
Gus's avatar
Gus committed
11
          <h4 class="tracking-surveillan">{{ _('Use a Mask, Use Tor.') }}</h4><br>
Hiro's avatar
Hiro committed
12
        </div>
Hiro's avatar
Hiro committed
13
        <div class="row">
Hiro's avatar
Hiro committed
14
          {% if locale.direction == 'text-right' %}
Hiro's avatar
Hiro committed
15
            <div class="col-8 order-1">
Hiro's avatar
Hiro committed
16
          {% else %}
Hiro's avatar
Hiro committed
17
            <div class="col-8 order-0">
Hiro's avatar
Hiro committed
18
          {% endif %}
Gus's avatar
Gus committed
19 20
            <h2 class="take-back-the-intern">
              {{ _('Resist the surveillance pandemic.') }}
Hiro's avatar
Hiro committed
21
            </h2>
Hiro's avatar
Hiro committed
22
          </div>
Hiro's avatar
Hiro committed
23
          {% if locale.direction == 'text-right' %}
Hiro's avatar
Hiro committed
24
            <div class="col-4 order-0">
Hiro's avatar
Hiro committed
25
          {% else %}
Hiro's avatar
Hiro committed
26
            <div class="col-4 order-1">
Hiro's avatar
Hiro committed
27
          {% endif %}
Hiro's avatar
Hiro committed
28
          </div>
Hiro's avatar
Hiro committed
29
        </div>
Antonela's avatar
Antonela committed
30
        <!--div class="row">
Antonela's avatar
Antonela committed
31 32
          <div class="col-8 order-0 pb-3">
            <a href="https://blog.torproject.org/friends-of-tor-match-2020" target="_blank" title="Friends of Tor" class="match">{{ _('Your donation will be matched by Friends of Tor.') }}</a>
Antonela's avatar
Antonela committed
33
          </div-->
Antonela's avatar
Antonela committed
34
        </div>
Hiro's avatar
Hiro committed
35
        <div class="row">
Hiro's avatar
Hiro committed
36 37
          {% set link = bag('links', this.alt, 'donate') %}
          {% if link %}
Gus's avatar
Gus committed
38
            <a class="rectangle" href="{{ link }}">{{ _('Donate Now') }}</a>
Hiro's avatar
Hiro committed
39
          {% else %}
Gus's avatar
Gus committed
40
            <a class="rectangle" href="https://torproject.org/donate/donate-usetor-hp1">{{ _('DONATE NOW') }}</a>
Hiro's avatar
Hiro committed
41
          {% endif %}
Hiro's avatar
Hiro committed
42 43 44 45 46 47 48
        </div>
      </div>
    </div>
    <div class="col-lg-3 col-md-1">
    </div>
  </div>
</div>