Placeholder for stats

This commit is contained in:
Thomas Smith 2023-01-27 14:08:57 -05:00
parent f5f14d5823
commit e5f1c229c5

View file

@ -1,4 +1,18 @@
<script>
<script>
// Add a 400px tall placeholder
$('#count').html('<div style="height: 400px"></div>');
$('#count1').html('<div style="height: 400px"></div>');
$('#count2').html('<div style="height: 400px"></div>');
$('#count3').html('<div style="height: 400px"></div>');
$('#count4').html('<div style="height: 400px"></div>');
$('#count5').html('<div style="height: 400px"></div>');
$('#count6').html('<div style="height: 400px"></div>');
$('#count7').html('<div style="height: 400px"></div>');
$('#stat-one').html('<div style="height: 400px"></div>');
$('#stat-one-small').html('<div style="height: 400px"></div>');
$('#stat-two').html('<div style="height: 400px"></div>');
try {
fetch('https://app.tea.xyz/api/signups')
.then(res => res.json())
@ -21,4 +35,4 @@
} catch (e) {
console.error(e)
}
</script>
</script>