[tor-commits] [tpo/staging] Fix images url

hiro at torproject.org hiro at torproject.org
Mon Jul 27 14:03:07 UTC 2020


commit 78300c166856da114ccfbd994e549fc9df70c6af
Author: antonela <antonela at torproject.org>
Date:   Fri Jul 24 12:26:45 2020 -0300

    Fix images url
---
 templates/membership.html | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/templates/membership.html b/templates/membership.html
index 58a98ed2..c1d0982c 100644
--- a/templates/membership.html
+++ b/templates/membership.html
@@ -10,7 +10,7 @@
 <div class="container">
   <div class="row py-3">
       <div class="col">
-        <img class="img-fluid p-3 align-self-center float-right" width="200px" src="{{ '/static/images/membership/green.png' }}" />
+        <img class="img-fluid p-3 align-self-center float-right" width="200px" src="{{ '../../static/images/membership/green.png' }}" />
       </div>
       <div class="col-sm-8">
           <h4 class="h2 col-12 text-primary p-0">Green Onion Member</h4>
@@ -20,7 +20,7 @@
   </div>
   <div class="row py-3">
       <div class="col">
-        <img class="img-fluid p-3 align-self-center float-right" width="200px" src="{{ '/static/images/membership/vidalia.png' }}" />
+        <img class="img-fluid p-3 align-self-center float-right" width="200px" src="{{ '../../static/images/membership/vidalia.png' }}" />
       </div>
       <div class="col-sm-8">
           <h4 class="h2 col-12 text-primary p-0">Vidalia Onion Member</h4>
@@ -30,7 +30,7 @@
   </div>
   <div class="row py-3">
       <div class="col">
-        <img class="img-fluid p-3 align-self-center float-right" width="200px" src="{{ '/static/images/membership/shallot.png' }}" />
+        <img class="img-fluid p-3 align-self-center float-right" width="200px" src="{{ '../../static/images/membership/shallot.png' }}" />
       </div>
       <div class="col-sm-8">
           <h4 class="h2 col-12 text-primary p-0">Shallot Onion Member</h4>
@@ -145,7 +145,7 @@
     </div>
   </div>
 </div>
-<div class="row col-sm-8 py-5 text-center mx-auto">
+<div class="row col-sm-8 py-5 text-center mx-auto bg-membership" style="background-image:url('static/images/membership/shallot.png')"/>
   <h2 class="text-primary text-center mx-auto">Become a Member</h2>
   <p class="text-center">Join the Tor Project Membership Program and demonstrate your commitment to privacy online and become more deeply involved in the Tor community. Email us at giving at torproject.org to get started.</p>
 </div>





More information about the tor-commits mailing list