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.

Commit 5481af81 authored by Hiro's avatar Hiro 🏄
Browse files

Use mobile image

parent a55ff9a7
......@@ -7,7 +7,7 @@
.donate-title {
display: none;
}
.donate-has-image-mobile {
.donate-header-image-mobile {
display: block;
width: 100%;
margin: 0 auto;
......
......@@ -15,6 +15,7 @@
<div class="row pb-5">
<h2 class="mx-auto display-3 text-white text-capitalize donate-title">{{ this.title }}</h2>
<img src="{{ this.header_image | asseturl }}" class="donate-header-image" />
<img src="{{ this.header_image + '-mobile' | asseturl }}" class="donate-header-image-mobile" />
</div>
</div>
{% else %}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment