[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [webwml/staging] Revert "Bug #17880: Donation banner on home page"



commit 546d19f42b92122ab812614dc0d97ec4db0d9572
Author: Arthur Edelstein <arthuredelstein@xxxxxxxxx>
Date:   Tue Jan 5 11:17:10 2016 -0500

    Revert "Bug #17880: Donation banner on home page"
    
    This reverts commit 8b7fb8a46588da4dc8c991be396fa3b1f4a66ef4.
---
 css/layout.css                |  33 ---------------------------------
 en/index.wml                  |  24 ------------------------
 images/homepage-banner-cd.jpg | Bin 84779 -> 0 bytes
 images/homepage-banner-lp.jpg | Bin 101171 -> 0 bytes
 images/homepage-banner-rd.jpg | Bin 86882 -> 0 bytes
 images/homepage-banner-rr.jpg | Bin 98192 -> 0 bytes
 images/homepage-banner-ss.jpg | Bin 92697 -> 0 bytes
 7 files changed, 57 deletions(-)

diff --git a/css/layout.css b/css/layout.css
index e0cd4a1..4908ee0 100644
--- a/css/layout.css
+++ b/css/layout.css
@@ -1310,36 +1310,3 @@ p.blogDate {
 }
 /* End hide from IE-mac */
 
-#donation-banner {
-  display: block;
-  height: 200px;
-  margin: auto;
-  margin-bottom: 5px;
-  position: relative;
-  width: 700px;
-}
-
-#donation-banner > a {
-  display: block;
-}
-
-#donation-banner > img {
-  display: block;
-}
-
-#donate-button {
-  background-color: green;
-  border-radius: 5px;
-  bottom: 15px;
-  color: white;
-  font-family: sans-serif;
-  font-size: 20px;
-  padding: 14px 14px;
-  position: absolute;
-  right: 15px;
-  text-align: center;
-}
-
-#donate-button:hover {
-  filter: brightness(1.2);
-}
diff --git a/en/index.wml b/en/index.wml
index 09ed2c8..fededd4 100644
--- a/en/index.wml
+++ b/en/index.wml
@@ -2,30 +2,6 @@
 # Revision: $Revision$
 # Translation-Priority: 1-high
 
-<!-- Donation banner for fundraising campaign. -->
-<div id="donation-banner">
-  <a href="donate/donate-hpbanner.html.en">
-    <noscript>
-      <!-- We don't have JavaScript, so show our default champion. -->
-      <img id="donation-banner-image-noscript" src="images/homepage-banner-ss.jpg" />
-    </noscript>
-    <!-- Placeholder for the champion banner image that will be added
-         by JavaScript. -->
-    <img id="donation-banner-image"" />
-   </a>
-  <a href="donate/donate-hpbanner.html.en">
-     <div id="donate-button">Please Donate!</div>
-  </a>
-</div>
-
-<script>
-  <!-- Show a different champion at random. -->
-  var alternates = ["cd", "lp", "rd", "rr", "ss"];
-  var alternate = alternates[Math.floor(Math.random() * alternates.length)];
-  var image = document.getElementById("donation-banner-image");
-  image.src = "images/homepage-banner-" + alternate + ".jpg";
-</script>
-
 #include "head.wmi" TITLE="Tor Project: Anonymity Online" CHARSET="UTF-8"
 
 <div id="home">
diff --git a/images/homepage-banner-cd.jpg b/images/homepage-banner-cd.jpg
deleted file mode 100755
index 4c0e4b3..0000000
Binary files a/images/homepage-banner-cd.jpg and /dev/null differ
diff --git a/images/homepage-banner-lp.jpg b/images/homepage-banner-lp.jpg
deleted file mode 100755
index f5fa76a..0000000
Binary files a/images/homepage-banner-lp.jpg and /dev/null differ
diff --git a/images/homepage-banner-rd.jpg b/images/homepage-banner-rd.jpg
deleted file mode 100755
index 646f59e..0000000
Binary files a/images/homepage-banner-rd.jpg and /dev/null differ
diff --git a/images/homepage-banner-rr.jpg b/images/homepage-banner-rr.jpg
deleted file mode 100755
index 4a2a512..0000000
Binary files a/images/homepage-banner-rr.jpg and /dev/null differ
diff --git a/images/homepage-banner-ss.jpg b/images/homepage-banner-ss.jpg
deleted file mode 100755
index c4a0fa7..0000000
Binary files a/images/homepage-banner-ss.jpg and /dev/null differ



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits