Auth instead of install for the buttons

This commit is contained in:
Jacob Heider 2022-07-05 16:04:52 -04:00
parent ff129bd7f5
commit 325d400ad1
6 changed files with 8 additions and 7 deletions

View file

@ -12,7 +12,7 @@
decades, big tech has made trillions off the generosity of visionary developers and web pioneers… never decades, big tech has made trillions off the generosity of visionary developers and web pioneers… never
thanking, never mentioning, and certainly never paying. At tea, were brewing something to change that by thanking, never mentioning, and certainly never paying. At tea, were brewing something to change that by
enabling developers (you) to continue doing what you love, while earning what you deserve.</p> enabling developers (you) to continue doing what you love, while earning what you deserve.</p>
<a class="btn btn-primary auth-btn mb-3" href="https://github.com/apps/tea-xyz/installations/new" <a class="btn btn-primary auth-btn mb-3" href="https://github.com/login/oauth/authorize?client_id=9d1f1a72f1300b6991df&state=teaxyz"
role="button">Authenticate with tea<span class="badge rounded-pill bg-primary ms-3"><span role="button">Authenticate with tea<span class="badge rounded-pill bg-primary ms-3"><span
id="count2">287</span></span></a><br> id="count2">287</span></span></a><br>
<a class="btn btn-primary mb-sm-5 mb-md-5 mb-5" id="whitepaper-btn" href="/white-paper/" <a class="btn btn-primary mb-sm-5 mb-md-5 mb-5" id="whitepaper-btn" href="/white-paper/"
@ -38,7 +38,7 @@
<div class="box-auth-false"> <div class="box-auth-false">
<p class="text-center my-auto p-3">This is your chance to be early! <a <p class="text-center my-auto p-3">This is your chance to be early! <a
style="color:#54BAAB; text-decoration:none;" style="color:#54BAAB; text-decoration:none;"
href="https://github.com/apps/tea-xyz/installations/new"><strong>Authenticate now</strong></a>.</p> href="https://github.com/login/oauth/authorize?client_id=9d1f1a72f1300b6991df&state=teaxyz"><strong>Authenticate now</strong></a>.</p>
</div> </div>
<div class="box-auth-true"> <div class="box-auth-true">
<p class="text-center my-auto p-3" style="color:#23282C;"><i class="bi bi-check-circle-fill lead pe-2" <p class="text-center my-auto p-3" style="color:#23282C;"><i class="bi bi-check-circle-fill lead pe-2"

View file

@ -8,7 +8,7 @@
<div style="margin-top:auto; margin-bottom:auto;"> <div style="margin-top:auto; margin-bottom:auto;">
<h1 class="display-2 mb-4">Authenticate your <span style="color:#54BAAB;">Github</span> with tea.</h1> <h1 class="display-2 mb-4">Authenticate your <span style="color:#54BAAB;">Github</span> with tea.</h1>
<p class="mb-5 fs-sm-5 fs-lg-6 lead">Early-adoption developers will be entitled to a variety of exciting rewards, including minted NFT certificates. Simply log into your Github account, install our application, and then answer a couple quick questions. The open-source revolution is here, so be sure to take a sip while its hot!</p> <p class="mb-5 fs-sm-5 fs-lg-6 lead">Early-adoption developers will be entitled to a variety of exciting rewards, including minted NFT certificates. Simply log into your Github account, install our application, and then answer a couple quick questions. The open-source revolution is here, so be sure to take a sip while its hot!</p>
<a class="btn btn-primary auth-btn mb-3" href="https://github.com/apps/tea-xyz/installations/new" <a class="btn btn-primary auth-btn mb-3" href="https://github.com/login/oauth/authorize?client_id=9d1f1a72f1300b6991df&state=teaxyz"
role="button">Authenticate with tea<span class="badge rounded-pill bg-primary ms-3"><span role="button">Authenticate with tea<span class="badge rounded-pill bg-primary ms-3"><span
id="count2">287</span></span></a> id="count2">287</span></span></a>
</div> </div>

View file

@ -40,7 +40,7 @@
</ul> </ul>
</div> </div>
<a class="btn btn-primary auth-btn mt-lg-0 mt-md-0 mt-sm-4 mt-4" <a class="btn btn-primary auth-btn mt-lg-0 mt-md-0 mt-sm-4 mt-4"
href="https://github.com/apps/tea-xyz/installations/new" role="button">Authenticate with tea<span href="https://github.com/login/oauth/authorize?client_id=9d1f1a72f1300b6991df&state=teaxyz" role="button">Authenticate with tea<span
class="badge rounded-pill bg-primary ms-3"><span id="count4">287</span></span></a> class="badge rounded-pill bg-primary ms-3"><span id="count4">287</span></span></a>
</div> </div>
</nav> </nav>
@ -63,7 +63,7 @@
</div> </div>
<div style="display:flex; flex-direction:column;" class="col-lg-3 col-sm-12"> <div style="display:flex; flex-direction:column;" class="col-lg-3 col-sm-12">
<div style="margin-top:auto; z-index:100;"> <div style="margin-top:auto; z-index:100;">
<a class="btn btn-primary mb-3" href="https://github.com/apps/tea-xyz/installations/new" <a class="btn btn-primary mb-3" href="https://github.com/login/oauth/authorize?client_id=9d1f1a72f1300b6991df&state=teaxyz"
role="button">Authenticate with tea</a><br> role="button">Authenticate with tea</a><br>
<a class="btn btn-primary align-middle mb-sm-5 mb-md-5 mb-5" id="whitepaper-btn" <a class="btn btn-primary align-middle mb-sm-5 mb-md-5 mb-5" id="whitepaper-btn"
href="https://github.com/teaxyz/white-paper" role="button"><i class="bi bi-github me-2" style="font-size:16px; "></i>Contribute to Our White Paper</a> href="https://github.com/teaxyz/white-paper" role="button"><i class="bi bi-github me-2" style="font-size:16px; "></i>Contribute to Our White Paper</a>

View file

@ -110,6 +110,7 @@ integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+
$('#auth-body-text').hide(); $('#auth-body-text').hide();
$('.rounded-pill').hide(); $('.rounded-pill').hide();
$('.auth-btn').html('Configure GitHub App'); $('.auth-btn').html('Configure GitHub App');
$('.auth-btn').attr('href', 'https://github.com/apps/tea-xyz')
} }
</script> </script>

View file

@ -57,7 +57,7 @@
</style> </style>
<a href="https://github.com/apps/tea-xyz/installations/new" class="gf-container" style="background-color:#8EC7BF;"> <a href="https://github.com/login/oauth/authorize?client_id=9d1f1a72f1300b6991df&state=teaxyz" class="gf-container" style="background-color:#8EC7BF;">
<img src="/Images/github.svg" alt="" class="github-icon mx-auto"> <img src="/Images/github.svg" alt="" class="github-icon mx-auto">
</a> </a>

View file

@ -23,7 +23,7 @@
{{ end }} {{ end }}
</ul> </ul>
<a class="btn btn-primary auth-btn mt-lg-0 mt-md-0 mt-sm-4 mt-4" <a class="btn btn-primary auth-btn mt-lg-0 mt-md-0 mt-sm-4 mt-4"
href="https://github.com/apps/tea-xyz/installations/new" role="button">Authenticate with tea<span href="https://github.com/login/oauth/authorize?client_id=9d1f1a72f1300b6991df&state=teaxyz" role="button">Authenticate with tea<span
class="badge rounded-pill bg-primary ms-3"><span id="count1">287</span></span></a> class="badge rounded-pill bg-primary ms-3"><span id="count1">287</span></span></a>
</div> </div>
</div> </div>