mirror of
https://github.com/ivabus/www
synced 2024-11-22 20:05:05 +03:00
Added necessary ID's to navbar CTA to edit with JS on landing page.
This commit is contained in:
parent
e5e1a162ef
commit
6060fadacf
2 changed files with 12 additions and 4 deletions
|
@ -4,16 +4,24 @@
|
||||||
<!-- Styling for this landing page only -->
|
<!-- Styling for this landing page only -->
|
||||||
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
document.getElementById("nav-cta").innerHTML = "Authenticate with GitHub";
|
document.getElementById("lp-text").innerHTML = "Developers Authenticated";
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
|
||||||
.badge{
|
#cta-text{
|
||||||
display:none;
|
display:none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#lp-text{
|
||||||
|
margin-left: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ms-3{
|
||||||
|
margin:0px !important;
|
||||||
|
}
|
||||||
|
|
||||||
@media only screen and (min-width: 600px) {
|
@media only screen and (min-width: 600px) {
|
||||||
.prompt{
|
.prompt{
|
||||||
font-family: 'Prompt', sans-serif !important;
|
font-family: 'Prompt', sans-serif !important;
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
</li>
|
</li>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</ul>
|
</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>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
Loading…
Reference in a new issue