-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpoints.html
More file actions
77 lines (58 loc) · 2.27 KB
/
Copy pathpoints.html
File metadata and controls
77 lines (58 loc) · 2.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<!DOCTYPE html>
<html lang="en">
<head>
<link href="https://cdn.jsdelivr.net/npm/remixicon/fonts/remixicon.css" rel="stylesheet">
<meta charset="UTF-8">
<title>Your Stats - SkillSwap</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="main-content points-container">
<h1 class="title">Performance Overview</h1>
<p class="subtitle">Track your growth and achievements in real-time</p>
<div class="stats-grid-squares">
<div class="stat-square">
<h3><i class="ri-book-open-line icon-lg"></i> Classes Taken</h3>
<div class="stat-number" id="classesTaken">0</div>
</div>
<div class="stat-square">
<h3><i class="ri-magic-fill icon-lg"></i> Classes Taught</h3>
<div class="stat-number" id="classesTaught">0</div>
</div>
<div class="stat-square highlighted">
<h3><i class="ri-award-fill icon-lg"></i> Points Earned</h3>
<div class="stat-number" id="pointsEarned">0</div>
</div>
</div>
<!-- LEVEL SYSTEM -->
<div class="card level-box">
<h3><i class="ri-bar-chart-box-fill icon"></i> Your Level</h3>
<p id="userLevelText"></p>
<div class="progress-bar-bg">
<div id="levelProgress" class="progress-fill"></div>
</div>
</div>
<!-- SKILL PROGRESS (Dynamic) -->
<div class="card skill-section">
<h3><i class="ri-graduation-cap-fill icon"></i> Skill Proficiency</h3>
<div id="skillProgressContainer"></div>
</div>
<!-- RECENT MENTORS / STUDENTS -->
<div class="footer-stats">
<div class="card">
<h3><i class="ri-team-fill icon"></i> Recent Mentors / Students</h3>
<ul id="recentUsers"></ul>
</div>
</div>
<div class="btn-wrapper">
<button class="back-btn" onclick="window.location.href='dashboard.html'">← Back to Dashboard</button>
</div>
</div>
<!-- Using compat scripts like rest of your project -->
<script src="https://www.gstatic.com/firebasejs/10.12.2/firebase-app-compat.js"></script>
<script src="https://www.gstatic.com/firebasejs/10.12.2/firebase-auth-compat.js"></script>
<script src="https://www.gstatic.com/firebasejs/10.12.2/firebase-firestore-compat.js"></script>
<script src="script.js"></script>
<script src="points.js"></script>
</body>
</html>