mirror of
https://github.com/ivabus/www
synced 2024-11-22 13:45:05 +03:00
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:
commit
a7e331e465
2 changed files with 12 additions and 4 deletions
|
@ -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;
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue