index.jade 2.11 KB

html
  head
    meta(charset='utf-8')
    title App
    meta(name='viewport', content='width=device-width, initial-scale=1')
    style.
      section {
      display: block;
      max-width: 94%;
      background: #164277;
      margin: 0 auto 1em;
      height: 110px;
      border-radius: .5em;
      }
      section > div {
      font-size: small;
      padding:6px;
      position: relative;
      top: 40%;
      -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
      transform: translateY(-50%);
      }
      .overall-container{
      height:100%;
      width:100%;
      position:relative;
      overflow:hidden;
      }
      .app-title{
      font-family: myriad pro;
      font-size:38px;
      font-weight:700;
      color:white;
      margin-top:10px;
      text-align:center;
      }
  body(style='background: url(bg.jpg) center center no-repeat; background-size:cover; font-size: 12pt;')
    .overall-container(align='center')
      img(style='margin-top:20%; width:80%; height:auto;', src='bg-1.png')
      //- div
      //-   p.app-title WOWECOIN
      a(href="", style="text-decoration:none; color:white; text-shadow:0 0 5px black;")
        div(style="width:80%; text-align:center;") Download pre-release version here for testing purpose
      //- img(style='width:40%; height:auto; margin:0 5px;', src='Google-Play-Transparent-border.png')
      //- img(style='width:40%; height:auto; margin:0 5px;', src='apple_store_icon.png')
    script(src='file:///C|/Users/Hao/Downloads/Telegram Desktop/modernizr.js')
    script(src='file:///C|/Users/Hao/Downloads/Telegram Desktop/detectizr.js')
    script.
      var android = document.querySelector("#android");
      var ios = document.querySelector("#ios");
      var desktop = document.querySelector("#desktop");
      if(Detectizr.os.name == 'android'){
      android.style.display = "block";
      location.replace("market://details?id=com.incredibleqr.wowecoin&hl=en");
      } else if(Detectizr.os.name == 'ios'){
      ios.style.display = "block";
      } else if(Detectizr.device.type == 'desktop'){
      desktop.style.display = "block";
      } else {
      }