Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 55bbab95 authored by smain@google.com's avatar smain@google.com
Browse files

new version of Helpouts recruit banner for TV and Wear

Change-Id: I971e9043b60bdb925c2f648e0aff3de9d8c9cd81
parent ccb54008
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -7399,7 +7399,7 @@ a.home-new-cta-btn:hover,


/* Helpouts widget */
/* Helpouts widget */
.resource-card-6x2.helpouts-card {
.resource-card-6x2.helpouts-card {
  width: 220px;
  width: 255px;
  height: 40px;
  height: 40px;
  position:absolute;
  position:absolute;
  z-index:999;
  z-index:999;
+6 −19
Original line number Original line Diff line number Diff line
@@ -206,33 +206,20 @@
        <div class="wrap" style="position:relative;z-index:1">
        <div class="wrap" style="position:relative;z-index:1">


        <?cs if:reference ?>
        <?cs if:reference ?>
        <?cs # HIDE HELPOUTS RECRUIT BANNER
        <?cs # HIDE HELPOUTS RECRUIT BANNER ?>
            <a id="helpoutsLink" class="resource resource-card resource-card-6x2x3 resource-card-6x2 helpouts-card" 
            <a id="helpoutsLink" class="resource resource-card resource-card-6x2x3 resource-card-6x2 helpouts-card" 
              href="http://helpouts.google.com/partner/landing/provider/googledevelopers" target="_blank">
              href="http://helpouts.google.com/partner/landing/provider/googledevelopers?utm_source=dac&utm_medium=banner&utm_campaign=android_provider_banner3" target="_blank">
              <div class="card-bg helpouts-card-bg"></div>
              <div class="card-bg helpouts-card-bg"></div>
              <div class="card-info">
              <div class="card-info">
                <div class="helpouts-description">
                <div class="helpouts-description">
                  <div class="text">Help developers solve problems<br/>
                  <div class="text">Help Android Wear and TV developers<br/>
                    <span id="helpoutsLinkText" class="link-color" style="display:block;padding-top:5px;text-align:right">Learn more</span>
                    <span id="helpoutsLinkText" class="link-color" 
                    style="display:block;padding-top:5px;text-align:right">Learn more</span>
                  </div>
                  </div>
                </div>
                </div>
              </div>
              </div>
            </a>
            </a>
            <script>
        <?cs # END HIDE HELPOUTS ?>
              var textA = "LEARN MORE";
              var linkA = "http://helpouts.google.com/partner/landing/provider/googledevelopers?utm_source=android_banner1&utm_medium=banner&utm_campaign=android_provider_banner1";
              var textB = "SIGN UP NOW";
              var linkB = "http://helpouts.google.com/partner/landing/provider/googledevelopers?utm_source=android_banner2&utm_medium=banner&utm_campaign=android_provider_banner2";

              if (Math.floor(1/Math.random()) > 1) {
                $("a#helpoutsLink").attr('href', linkA);
                $("span#helpoutsLinkText").text(textA);
              } else {
                $("a#helpoutsLink").attr('href', linkB);
                $("span#helpoutsLinkText").text(textB);
              }
            </script>
        END HIDE HELPOUTS ?>
        <?cs /if ?>
        <?cs /if ?>


            <ul class="nav-x col-9 develop" style="width:100%">
            <ul class="nav-x col-9 develop" style="width:100%">