|
1 | 1 | <!DOCTYPE html>
|
2 | 2 | <html lang="en">
|
3 |
| -<head> |
4 |
| - <meta charset="UTF-8"> |
5 |
| - <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
6 |
| - <title>Ubercodes - Personal Dashboard</title> |
7 |
| - <link rel="stylesheet" href="/styles/dashboard.css"> |
8 |
| - <script src="https://www.gstatic.com/firebasejs/9.16.0/firebase-app.js"></script> |
9 |
| - <script src="https://www.gstatic.com/firebasejs/9.16.0/firebase-auth.js"></script> |
10 |
| -</head> |
11 |
| -<body> |
12 |
| - <div class="container"> |
13 |
| - <div class="header"> |
14 |
| - <div style="display: flex; justify-content: space-between; align-items: center;"> |
15 |
| - <div> |
16 |
| - <h1>Welcome Back, <span id="userName">User</span>!</h1> |
17 |
| - <p>Track your GSOC 2025 preparation progress</p> |
| 3 | + <head> |
| 4 | + <meta charset="UTF-8" /> |
| 5 | + <meta |
| 6 | + name="viewport" |
| 7 | + content="width=device-width, initial-scale=1.0" |
| 8 | + /> |
| 9 | + <title>Ubercodes - Personal Dashboard</title> |
| 10 | + <link |
| 11 | + rel="stylesheet" |
| 12 | + href="/styles/dashboard.css" |
| 13 | + /> |
| 14 | + <script |
| 15 | + defer |
| 16 | + data-domain="ubercoders.in" |
| 17 | + src="https://plausible.io/js/script.file-downloads.js" |
| 18 | + ></script> |
| 19 | + <script> |
| 20 | + window.plausible = |
| 21 | + window.plausible || |
| 22 | + function () { |
| 23 | + (window.plausible.q = |
| 24 | + window.plausible.q || []).push( |
| 25 | + arguments |
| 26 | + ); |
| 27 | + }; |
| 28 | + </script> |
| 29 | + |
| 30 | + <script src="https://www.gstatic.com/firebasejs/9.16.0/firebase-app.js"></script> |
| 31 | + <script src="https://www.gstatic.com/firebasejs/9.16.0/firebase-auth.js"></script> |
| 32 | + </head> |
| 33 | + <body> |
| 34 | + <div class="container"> |
| 35 | + <div class="header"> |
| 36 | + <div |
| 37 | + style=" |
| 38 | + display: flex; |
| 39 | + justify-content: space-between; |
| 40 | + align-items: center; |
| 41 | + " |
| 42 | + > |
| 43 | + <div> |
| 44 | + <h1> |
| 45 | + Welcome Back, |
| 46 | + <span id="userName">User</span>! |
| 47 | + </h1> |
| 48 | + <p> |
| 49 | + Track your GSOC 2025 preparation |
| 50 | + progress |
| 51 | + </p> |
| 52 | + </div> |
| 53 | + <button |
| 54 | + id="logout-button" |
| 55 | + style=" |
| 56 | + padding: 10px 20px; |
| 57 | + border: none; |
| 58 | + border-radius: 5px; |
| 59 | + background: #ff4444; |
| 60 | + color: white; |
| 61 | + cursor: pointer; |
| 62 | + " |
| 63 | + > |
| 64 | + Logout |
| 65 | + </button> |
18 | 66 | </div>
|
19 |
| - <button id="logout-button" style="padding: 10px 20px; border: none; border-radius: 5px; background: #ff4444; color: white; cursor: pointer;"> |
20 |
| - Logout |
21 |
| - </button> |
22 | 67 | </div>
|
23 |
| - </div> |
24 |
| - <div class="content"> |
25 |
| - <div class="tabs"> |
26 |
| - <button class="tab-button active" data-tab="dashboard">Dashboard</button> |
27 |
| - <button class="tab-button" data-tab="events">Events</button> |
28 |
| - <button class="tab-button" data-tab="tasks">Tasks</button> |
29 |
| - </div> |
30 |
| - <div id="dashboard" class="tab-content active"> |
31 |
| - <h2>Dashboard</h2> |
32 |
| - <p>Problems Solved: <span id="problemsSolved">0</span></p> |
33 |
| - <p>GitHub Streak: <span id="githubStreak">0</span></p> |
34 |
| - <p>Projects Completed: <span id="projectsCompleted">0</span></p> |
35 |
| - <div class="progress-bar"> |
36 |
| - <div id="gsocProgress" class="progress" style="width: 0%;"></div> |
| 68 | + <div class="content"> |
| 69 | + <div class="tabs"> |
| 70 | + <button |
| 71 | + class="tab-button active" |
| 72 | + data-tab="dashboard" |
| 73 | + > |
| 74 | + Dashboard |
| 75 | + </button> |
| 76 | + <button |
| 77 | + class="tab-button" |
| 78 | + data-tab="events" |
| 79 | + > |
| 80 | + Events |
| 81 | + </button> |
| 82 | + <button |
| 83 | + class="tab-button" |
| 84 | + data-tab="tasks" |
| 85 | + > |
| 86 | + Tasks |
| 87 | + </button> |
| 88 | + </div> |
| 89 | + <div |
| 90 | + id="dashboard" |
| 91 | + class="tab-content active" |
| 92 | + > |
| 93 | + <h2>Dashboard</h2> |
| 94 | + <p> |
| 95 | + Problems Solved: |
| 96 | + <span id="problemsSolved">0</span> |
| 97 | + </p> |
| 98 | + <p> |
| 99 | + GitHub Streak: |
| 100 | + <span id="githubStreak">0</span> |
| 101 | + </p> |
| 102 | + <p> |
| 103 | + Projects Completed: |
| 104 | + <span id="projectsCompleted">0</span> |
| 105 | + </p> |
| 106 | + <div class="progress-bar"> |
| 107 | + <div |
| 108 | + id="gsocProgress" |
| 109 | + class="progress" |
| 110 | + style="width: 0%" |
| 111 | + ></div> |
| 112 | + </div> |
| 113 | + <p> |
| 114 | + Progress: |
| 115 | + <span id="progressPercent">0</span>% |
| 116 | + </p> |
| 117 | + </div> |
| 118 | + <div id="events" class="tab-content"> |
| 119 | + <h2>Events</h2> |
| 120 | + <div id="eventsList"></div> |
| 121 | + </div> |
| 122 | + <div id="tasks" class="tab-content"> |
| 123 | + <h2>Tasks</h2> |
| 124 | + <ul> |
| 125 | + <li> |
| 126 | + <input |
| 127 | + type="checkbox" |
| 128 | + class="task-checkbox" |
| 129 | + /> |
| 130 | + Task 1 |
| 131 | + </li> |
| 132 | + <li> |
| 133 | + <input |
| 134 | + type="checkbox" |
| 135 | + class="task-checkbox" |
| 136 | + /> |
| 137 | + Task 2 |
| 138 | + </li> |
| 139 | + <li> |
| 140 | + <input |
| 141 | + type="checkbox" |
| 142 | + class="task-checkbox" |
| 143 | + /> |
| 144 | + Task 3 |
| 145 | + </li> |
| 146 | + </ul> |
37 | 147 | </div>
|
38 |
| - <p>Progress: <span id="progressPercent">0</span>%</p> |
39 |
| - </div> |
40 |
| - <div id="events" class="tab-content"> |
41 |
| - <h2>Events</h2> |
42 |
| - <div id="eventsList"></div> |
43 |
| - </div> |
44 |
| - <div id="tasks" class="tab-content"> |
45 |
| - <h2>Tasks</h2> |
46 |
| - <ul> |
47 |
| - <li><input type="checkbox" class="task-checkbox"> Task 1</li> |
48 |
| - <li><input type="checkbox" class="task-checkbox"> Task 2</li> |
49 |
| - <li><input type="checkbox" class="task-checkbox"> Task 3</li> |
50 |
| - </ul> |
51 | 148 | </div>
|
52 | 149 | </div>
|
53 |
| - </div> |
54 |
| - <script type="module" src="script/dashboard.js" defer></script> |
55 |
| -</body> |
| 150 | + <script |
| 151 | + type="module" |
| 152 | + src="script/dashboard.js" |
| 153 | + defer |
| 154 | + ></script> |
| 155 | + </body> |
56 | 156 | </html>
|
0 commit comments