www/src/layouts/partials/footer.html

105 lines
3.1 KiB
HTML
Raw Normal View History

<!-- JavaScript Bundle with Popper -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"
integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous">
</script>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"
integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
<script>
$(window).scroll(function () {
$('nav').toggleClass('scrolled', $(this).scrollTop() > 100);
});
if (localStorage['signup'].match(/:::/)) {
2022-08-15 21:27:59 +03:00
const [username, serial_] = localStorage.signup.split(':::');
const serial = (+serial_).toLocaleString()
$('.box-auth-true').show();
$('.box-auth-false').hide();
$('#auth-username').html(username);
$('#count').html(`${serial} / <span id='count3'></span>`);
$('#count-sub-text').html('YOUR AUTHENTICATION NUMBER');
$('#communitea').html('Thanks for joining our communi&#39;<span style="color:#54BAAB;">tea</span>');
$('#revolution-text').html(
'Now stay tuned! As an early authenticator, youll be entitled to a variety of exciting rewards, including minted NFT certificates.'
);
$('#auth-body-text').hide();
$('.rounded-pill').hide();
$('.auth-btn').html('Configure GitHub App');
$('.auth-btn').attr('href', 'https://github.com/apps/tea-xyz')
}
</script>
<script>
try {
fetch('https://app.tea.xyz/api/signups')
.then(res => res.json())
.then(res => {
const signups = res.signups ? res.signups.toLocaleString() : ""
if (!(localStorage['signup'] || '').match(/:::/)) {
$('#count').html(signups)
}
$('#count1').html(signups)
$('#count2').html(signups)
$('#count3').html(signups)
$('#count4').html(signups)
$('#count5').html(signups)
$('#count6').html(signups)
$('#count7').html(signups)
})
} catch (e) {
console.error(e)
}
</script>
2022-06-09 17:54:42 +03:00
<script type="text/javascript">
(function(c,l,a,r,i,t,y){
c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};
t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i;
y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y);
})(window, document, "clarity", "script", "c9ohlhyxzf");
</script>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-Q3M5LVH76F"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'G-Q3M5LVH76F');
</script>
2022-07-01 22:41:02 +03:00
<script>
2022-07-05 23:05:33 +03:00
const textList = [
"web3",
2022-07-05 23:18:07 +03:00
"game&#8208;dev",
2022-07-05 23:05:33 +03:00
"AI",
"automation",
"data",
"ML",
"web",
2022-07-05 23:05:33 +03:00
"devops",
"creating",
"everything",
"<i>you<i>"
];
const cycle = document.querySelector("#cycle");
let i = 0;
const cycleText = () => {
cycle.innerHTML = textList[i];
i = ++i % textList.length;
2022-07-01 22:41:02 +03:00
};
2022-07-05 23:05:33 +03:00
cycleText();
setInterval(cycleText, 1200);
2022-07-05 23:18:07 +03:00
2022-07-01 22:41:02 +03:00
</script>
2022-08-18 17:27:30 +03:00
<script>
rdt('track', 'SignUp');
rdt('track', 'ViewContent');
2022-08-18 17:27:30 +03:00
</script>