Skip to content

Commit 767e77f

Browse files
removed stats
1 parent 8c40a5a commit 767e77f

File tree

2 files changed

+29
-29
lines changed

2 files changed

+29
-29
lines changed

about.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ <h1 class="text-4xl font-bold mb-4">About Us</h1>
5858
<p class="text-lg mb-12">Constellation is an Edtech networking platform for youth that presents them
5959
opportunities to and teaches them to network with peers in a gamified format.</p>
6060

61-
<!-- At a glance -->
61+
<!-- At a glance
6262
<div class="bg-white py-24 sm:py-16">
6363
<div class="mx-auto max-w-7xl px-6 lg:px-8">
6464
<dl class="grid grid-cols-1 gap-x-8 gap-y-16 text-center lg:grid-cols-3">
@@ -79,7 +79,7 @@ <h1 class="text-4xl font-bold mb-4">About Us</h1>
7979
</div>
8080
</dl>
8181
</div>
82-
</div>
82+
</div> -->
8383

8484
<!-- Mission Statement -->
8585
<div class="bg-gray-900 text-white p-8 rounded-lg mb-12">

assets/js/about.js

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -9,35 +9,35 @@ document.addEventListener("DOMContentLoaded", function () {
99
currentDate.getDate()
1010
);
1111

12-
setTimeout(() => {
13-
db.collection("Users")
14-
.where("lastActive", ">=", lastMonth)
15-
.get()
16-
.then((querySnapshot) => {
17-
animateValue("monthly-active-users", 0, querySnapshot.size, 500);
18-
});
12+
// setTimeout(() => {
13+
// db.collection("Users")
14+
// .where("lastActive", ">=", lastMonth)
15+
// .get()
16+
// .then((querySnapshot) => {
17+
// animateValue("monthly-active-users", 0, querySnapshot.size, 500);
18+
// });
1919

20-
db.collection("Statistics")
21-
.doc("website-views")
22-
.get()
23-
.then((doc) => {
24-
if (doc.exists) {
25-
const data = doc.data();
26-
animateValue("website-views", 0, data.views, 50);
27-
} else {
28-
console.error("No document exists.");
29-
}
30-
})
31-
.catch((error) => {
32-
console.error(error);
33-
});
20+
// db.collection("Statistics")
21+
// .doc("website-views")
22+
// .get()
23+
// .then((doc) => {
24+
// if (doc.exists) {
25+
// const data = doc.data();
26+
// animateValue("website-views", 0, data.views, 50);
27+
// } else {
28+
// console.error("No document exists.");
29+
// }
30+
// })
31+
// .catch((error) => {
32+
// console.error(error);
33+
// });
3434

35-
db.collection("Messages")
36-
.get()
37-
.then((querySnapshot) => {
38-
animateValue("messages-sent", 0, querySnapshot.size, 500);
39-
});
40-
}, 500);
35+
// db.collection("Messages")
36+
// .get()
37+
// .then((querySnapshot) => {
38+
// animateValue("messages-sent", 0, querySnapshot.size, 500);
39+
// });
40+
// }, 500);
4141

4242
// if (window.mobileCheck()) {
4343
// document.getElementById('members-container').classList.replace('grid', 'grid-cols-2', 'gap-6')

0 commit comments

Comments
 (0)