Merge pull request #79 from teaxyz/landing-page-1-edit-from-gypsy

Added necessary ID's to navbar CTA to edit with JS on landing page.
This commit is contained in:
Xercesblu3 2022-08-08 16:12:19 -04:00 committed by GitHub
commit a7e331e465
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 4 deletions

View file

@ -4,16 +4,24 @@
<!-- Styling for this landing page only -->
<script>
document.getElementById("nav-cta").innerHTML = "Authenticate with GitHub";
<script>
document.getElementById("lp-text").innerHTML = "Developers Authenticated";
</script>
<style>
.badge{
#cta-text{
display:none;
}
#lp-text{
margin-left: 10px;
}
.ms-3{
margin:0px !important;
}
@media only screen and (min-width: 600px) {
.prompt{
font-family: 'Prompt', sans-serif !important;

View file

@ -22,7 +22,7 @@
</li>
{{ end }}
</ul>
<a class="btn btn-primary auth-btn mt-lg-0 mt-md-0 mt-sm-4 mt-4" id="nav-cta" 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>
<a class="btn btn-primary auth-btn mt-lg-0 mt-md-0 mt-sm-4 mt-4" id="nav-cta" href="https://github.com/login/oauth/authorize?client_id=9d1f1a72f1300b6991df&state=teaxyz" role="button"><span id="cta-text">Authenticate with tea</span><span class="badge rounded-pill bg-primary ms-3"><span id="count1">287</span></span><span id="lp-text"></span></a>
</div>
</div>
</nav>