Explorar o código

Add EvoSeedbox as sponsor

causefx %!s(int64=6) %!d(string=hai) anos
pai
achega
73a0e27293
Modificáronse 2 ficheiros con 11 adicións e 2 borrados
  1. 3 2
      js/functions.js
  2. 8 0
      js/sponsors.json

+ 3 - 2
js/functions.js

@@ -3249,8 +3249,9 @@ function sponsorAbout(id,array){
     var coupon = (array.coupon == null) ? false : true;
     var couponAbout = (array.coupon_about == null) ? false : true;
     var extraInfo = (coupon && couponAbout) ? `
-        <br><span class="label label-rouded label-info pull-right">`+array.coupon+`</span>
-        <br><span class="mail-desc">`+array.coupon_about+`</span>
+        <h3>Coupon Code:</h3>
+        <p><span class="label label-rouded label-info pull-right">`+array.coupon+`</span>
+        <span class=" pull-left">`+array.coupon_about+`</span></p>
     ` : '';
     return `
         <!--  modal content -->

+ 8 - 0
js/sponsors.json

@@ -1,4 +1,12 @@
 [
+  {
+    "company_name": "EvoSeedbox",
+    "logo": "https://s3.amazonaws.com/helpshelf-production/media/uploads/sites/evoseedbox/EVO.png",
+    "website": "https://evoseedbox.com/",
+    "coupon": "evoizr",
+    "coupon_about": "100% off First Month",
+    "about": "<b>Quality Seedboxes<\/b><br\/>\r\nOur last seedbox went into light-speed, it'll be on the other side of the galaxy by now."
+  },
   {
     "company_name": "Unraid",
     "logo": "https://user-images.githubusercontent.com/16184466/49177230-e6f6f680-f309-11e8-9d6a-67be65109d14.png",