Repository navigation
Expand file tree
/
Copy pathcalendar.html
More file actions
487 lines (451 loc) · 24.8 KB
/
Copy pathcalendar.html
File metadata and controls
487 lines (451 loc) · 24.8 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Study Calendar - StudyFlow</title>
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/mobile.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=DM+Mono:wght@400;500&display=swap" rel="stylesheet">
<style>
/* ══════════════════════════════════════════════════════════
CALENDAR ENHANCEMENTS
══════════════════════════════════════════════════════════ */
/* ── Week progress bar ─────────────────────────────────── */
.week-progress-bar {
width: 100%; height: 5px;
background: var(--border);
border-radius: 999px;
margin: .6rem 0 1.1rem;
overflow: hidden;
}
.week-progress-fill {
height: 100%;
background: linear-gradient(90deg, var(--primary), hsl(260,80%,70%));
border-radius: 999px;
transition: width .6s cubic-bezier(.4,0,.2,1);
}
.week-progress-label {
display: flex; justify-content: space-between;
font-size: .7rem; font-weight: 600;
color: var(--muted-foreground);
margin-bottom: .25rem;
}
.week-progress-label span:last-child { color: var(--primary); font-family: 'DM Mono', monospace; }
/* ── Jump to today button ──────────────────────────────── */
.jump-today-btn {
display: inline-flex; align-items: center; gap: .35rem;
padding: .35rem .85rem; border-radius: 999px;
font-size: .76rem; font-weight: 700; font-family: inherit;
cursor: pointer; border: 1.5px solid var(--border);
background: white; color: var(--foreground);
transition: all .18s; white-space: nowrap;
}
.jump-today-btn:hover { border-color: var(--primary); color: var(--primary); background: rgba(132,34,209,.06); }
/* ── Week nav row ──────────────────────────────────────── */
.week-nav-row {
display: flex; align-items: center; gap: .75rem;
margin-bottom: 0;
}
.week-nav-row .week-range { flex: 1; text-align: center; }
/* ── Day cell: completion ring ─────────────────────────── */
.day-cell { position: relative; overflow: visible; }
.day-ring-wrap {
position: absolute; top: .3rem; right: .3rem;
width: 22px; height: 22px;
}
.day-ring-wrap svg { width: 22px; height: 22px; transform: rotate(-90deg); }
.day-ring-bg { fill: none; stroke: rgba(0,0,0,.07); stroke-width: 2.5; }
.day-ring-fill{ fill: none; stroke-width: 2.5; stroke-linecap: round;
transition: stroke-dashoffset .5s cubic-bezier(.4,0,.2,1); }
.day-cell.exam-day-cell .day-ring-bg { stroke: rgba(255,255,255,.15); }
/* ── Exam day cell ─────────────────────────────────────── */
.day-cell.exam-day-cell {
background: #111 !important;
border-color: #111 !important;
color: #fff !important;
}
.day-cell.exam-day-cell .day-name,
.day-cell.exam-day-cell .day-number { color: #fff !important; }
.day-cell.exam-day-cell .indicator-bar { background: rgba(255,255,255,.35) !important; }
.exam-day-pill {
font-size: .55rem; font-weight: 800; letter-spacing: .07em;
text-transform: uppercase;
background: rgba(255,255,255,.18); color: #fff;
border-radius: 999px; padding: .1rem .45rem;
margin-top: .25rem; display: inline-block;
}
/* ── Day progress text ─────────────────────────────────── */
.day-prog-text {
font-size: .6rem; font-weight: 700; color: var(--success);
margin-top: .1rem; font-family: 'DM Mono', monospace;
}
/* ── Indicator colours ─────────────────────────────────── */
.indicator-bar.project { background: hsl(221,83%,53%); }
.indicator-bar.reminder { background: hsl(38,80%,40%); }
.indicator-bar.reminder-notify { background: hsl(38,80%,60%); }
.indicator-bar.exam-day { background: #111; }
/* ── Session cards: colored left border ────────────────── */
.session-item { border-left: 3px solid transparent; border-radius: .65rem !important; transition: border-color .15s, box-shadow .15s; }
.session-item.completed { border-left-color: var(--success); }
.session-item.scheduled-item { border-left-color: var(--border); }
.session-item.scheduled-item:hover { border-left-color: var(--primary); box-shadow: 0 2px 12px rgba(132,34,209,.08); }
.session-item[data-color="success"] { border-left-color: var(--success); }
.session-item[data-color="warning"] { border-left-color: hsl(38,92%,50%); }
.session-item[data-color="danger"] { border-left-color: var(--destructive); }
.session-item[data-color="very-danger"]{ border-left-color: hsl(280,70%,50%); }
/* ── Difficulty badge on session ───────────────────────── */
.diff-dot {
display: inline-block; width: 7px; height: 7px; border-radius: 50%;
margin-right: .3rem; flex-shrink: 0; vertical-align: middle;
}
.diff-dot.success { background: var(--success); }
.diff-dot.warning { background: hsl(38,92%,50%); }
.diff-dot.danger { background: var(--destructive); }
.diff-dot.very-danger{ background: hsl(280,70%,50%); }
/* ── Check button ──────────────────────────────────────── */
.cal-check-btn {
display: inline-flex; align-items: center; gap: .35rem;
padding: .35rem .8rem; border-radius: 999px;
font-size: .72rem; font-weight: 700; font-family: inherit;
cursor: pointer; border: 1.5px solid var(--border);
background: white; color: var(--muted-foreground);
transition: all .18s; white-space: nowrap; margin-top: .3rem;
}
.cal-check-btn:hover { border-color: var(--success); color: var(--success); background: rgba(22,163,74,.07); }
.cal-check-btn.done { border-color: var(--success); color: var(--success); background: rgba(22,163,74,.1); }
/* ── Score tag ─────────────────────────────────────────── */
.cal-score-tag {
font-size: .67rem; font-weight: 600; color: var(--muted-foreground);
margin-top: .2rem; display: flex; align-items: center; gap: .25rem;
}
.cal-score-tag.done { color: var(--success); }
/* ── Score toast ───────────────────────────────────────── */
.cal-score-toast {
position: fixed; bottom: 5rem; right: 1.5rem; z-index: 200;
background: var(--foreground); color: #fff;
padding: .65rem 1.25rem; border-radius: .875rem;
font-size: .95rem; font-weight: 700; font-family: 'DM Mono', monospace;
display: flex; align-items: center; gap: .5rem;
box-shadow: 0 8px 32px rgba(0,0,0,.25);
transform: translateY(16px); opacity: 0;
transition: all .35s cubic-bezier(.34,1.56,.64,1);
}
.cal-score-toast.visible { transform: translateY(0); opacity: 1; }
/* ── Exam day banner ───────────────────────────────────── */
.exam-day-block {
border: 2px solid #111; border-radius: .75rem;
background: #111; color: #fff;
padding: .75rem 1rem; margin-bottom: .5rem;
display: flex; align-items: center; gap: .75rem;
font-weight: 700; font-size: .9rem;
}
.exam-day-block .exam-day-icon { flex-shrink: 0; display: flex; align-items: center; }
.exam-day-block .exam-day-label {
font-size: .58rem; font-weight: 800; letter-spacing: .09em;
text-transform: uppercase; opacity: .6; margin-bottom: .15rem;
}
/* ── Session badges ────────────────────────────────────── */
.session-badge {
font-size: .67rem; font-weight: 700;
padding: .15rem .5rem; border-radius: 999px; margin-left: .35rem;
}
.session-badge.scheduled { background: rgba(132,34,209,.1); color: var(--primary); }
.session-badge.exam { background: rgba(239,68,68,.12); color: var(--destructive); }
/* ── Session icons ─────────────────────────────────────── */
.session-icon.project { color: hsl(221,83%,53%); }
.session-icon.reminder { color: hsl(38,80%,40%); }
.session-icon.reminder-notify { color: hsl(38,80%,60%); }
/* ══════════════════════════════════════════════════════════
EVENT CARDS — project / reminder / notify
══════════════════════════════════════════════════════════ */
.event-card {
position: relative;
display: flex;
align-items: center;
gap: .85rem;
border-radius: .85rem;
padding: .85rem 1rem .85rem .9rem;
margin-bottom: .5rem;
overflow: hidden;
border: 1.5px solid transparent;
transition: transform .15s, box-shadow .15s;
}
.event-card:hover {
transform: translateY(-1px);
box-shadow: 0 4px 18px rgba(0,0,0,.08);
}
/* Left accent stripe */
.event-card__accent {
position: absolute;
left: 0; top: 0; bottom: 0;
width: 4px;
border-radius: 4px 0 0 4px;
}
/* Icon circle */
.event-card__icon {
flex-shrink: 0;
width: 38px; height: 38px;
border-radius: 50%;
display: flex; align-items: center; justify-content: center;
}
/* Body */
.event-card__body { flex: 1; min-width: 0; }
.event-card__label {
font-size: .6rem; font-weight: 800;
letter-spacing: .08em; text-transform: uppercase;
margin-bottom: .18rem; opacity: .7;
}
.event-card__subject {
font-size: .88rem; font-weight: 700;
white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.event-card__topic {
font-size: .74rem; margin-top: .1rem; opacity: .65;
white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.event-card__notes {
font-size: .7rem; font-style: italic;
margin-top: .25rem; opacity: .6;
}
/* Right badge pill */
.event-card__badge {
flex-shrink: 0;
font-size: .6rem; font-weight: 800;
letter-spacing: .07em;
padding: .25rem .6rem;
border-radius: 999px;
}
/* ── Project variant — blue ────────────────────────────── */
.event-card--project {
background: hsl(221,100%,98%);
border-color: hsl(221,83%,88%);
color: hsl(221,50%,25%);
}
.event-card--project .event-card__accent { background: hsl(221,83%,53%); }
.event-card--project .event-card__icon { background: hsl(221,83%,93%); color: hsl(221,83%,48%); }
.event-card--project .event-card__label { color: hsl(221,83%,48%); }
.event-card--project .event-card__badge {
background: hsl(221,83%,48%);
color: #fff;
}
/* ── Reminder variant — amber ──────────────────────────── */
.event-card--reminder {
background: hsl(38,100%,97%);
border-color: hsl(38,80%,80%);
color: hsl(38,60%,22%);
}
.event-card--reminder .event-card__accent { background: hsl(38,85%,48%); }
.event-card--reminder .event-card__icon { background: hsl(38,90%,90%); color: hsl(38,85%,38%); }
.event-card--reminder .event-card__label { color: hsl(38,85%,38%); }
.event-card--reminder .event-card__badge {
background: hsl(38,85%,48%);
color: #fff;
}
/* ── Notify variant — soft purple ──────────────────────── */
.event-card--notify {
background: hsl(270,60%,98%);
border-color: hsl(270,50%,85%);
color: hsl(270,40%,28%);
}
.event-card--notify .event-card__accent { background: hsl(270,55%,62%); }
.event-card--notify .event-card__icon { background: hsl(270,55%,92%); color: hsl(270,55%,52%); }
.event-card--notify .event-card__label { color: hsl(270,55%,52%); }
.event-card--notify .event-card__badge {
background: hsl(270,55%,62%);
color: #fff;
}
/* ── Week summary strip ────────────────────────────────── */
.week-summary-strip {
display: flex; gap: 1rem; flex-wrap: wrap;
padding: .85rem 1.1rem;
background: var(--card);
border: 1px solid var(--border);
border-radius: .875rem;
margin-bottom: 1rem;
font-size: .78rem;
}
.wss-item { display: flex; align-items: center; gap: .45rem; color: var(--muted-foreground); }
.wss-item strong { color: var(--foreground); font-family: 'DM Mono', monospace; font-size: .85rem; }
.wss-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
/* ── Mini month strip ──────────────────────────────────── */
.month-strip {
display: flex; gap: .3rem; overflow-x: auto; padding-bottom: .25rem;
margin-bottom: 1rem; scrollbar-width: none;
}
.month-strip::-webkit-scrollbar { display: none; }
.month-strip-day {
flex-shrink: 0; width: 32px; text-align: center;
border-radius: .5rem; padding: .25rem .1rem;
cursor: pointer; transition: background .15s;
font-size: .7rem; color: var(--muted-foreground);
}
.month-strip-day .ms-num {
font-weight: 700; font-size: .78rem; color: var(--foreground);
display: block; line-height: 1.4;
}
.month-strip-day .ms-dot { width: 5px; height: 5px; border-radius: 50%; margin: .15rem auto 0; }
.month-strip-day:hover { background: var(--accent); }
.month-strip-day.ms-today { background: var(--primary); color: #fff; }
.month-strip-day.ms-today .ms-num { color: #fff; }
.month-strip-day.ms-selected { outline: 2px solid var(--primary); outline-offset: 1px; }
.month-strip-day.ms-exam { }
.month-strip-day.ms-exam .ms-num { color: #fff; background: #111; border-radius: 50%; width: 22px; height: 22px; line-height: 22px; display: inline-block; }
/* ── Day details header upgrade ────────────────────────── */
.day-completion-ring {
width: 52px; height: 52px; flex-shrink: 0;
}
.day-completion-ring svg { width: 52px; height: 52px; transform: rotate(-90deg); }
.dcr-bg { fill: none; stroke: var(--border); stroke-width: 4; }
.dcr-fill { fill: none; stroke-width: 4; stroke-linecap: round;
stroke: var(--primary);
transition: stroke-dashoffset .5s cubic-bezier(.4,0,.2,1); }
.dcr-text { font-size: .58rem; font-weight: 800; font-family: 'DM Mono', monospace;
fill: var(--foreground); text-anchor: middle; dominant-baseline: middle; }
</style>
</head>
<body>
<header class="cal-header">
<div class="cal-header-container">
<div class="cal-header-left">
<a href="dashboard.html" class="back-button">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="15 18 9 12 15 6"/></svg>
Back
</a>
<div class="cal-header-info">
<h1 class="cal-header-title">Study Calendar</h1>
<p class="cal-header-subtitle">Check off sessions to earn Study Score points</p>
</div>
</div>
<div style="display:flex;gap:.6rem;align-items:center">
<button class="jump-today-btn" id="jumpToday">
<svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><rect width="18" height="18" x="3" y="4" rx="2"/><line x1="16" x2="16" y1="2" y2="6"/><line x1="8" x2="8" y1="2" y2="6"/><line x1="3" x2="21" y1="10" y2="10"/><line x1="12" x2="12" y1="14" y2="18"/><line x1="10" x2="14" y1="16" y2="16"/></svg>
Today
</button>
<a href="exams.html" class="btn-primary">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="12" x2="12" y1="5" y2="19"/><line x1="5" x2="19" y1="12" y2="12"/></svg>
Add Item
</a>
</div>
</div>
</header>
<main class="main-container">
<!-- Week nav -->
<div class="week-nav-row week-navigation">
<button class="nav-btn" id="prevWeek">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="15 18 9 12 15 6"/></svg>
Prev
</button>
<h2 class="week-range" id="weekRange">Loading…</h2>
<button class="nav-btn" id="nextWeek">
Next
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="9 18 15 12 9 6"/></svg>
</button>
</div>
<!-- Week progress -->
<div class="week-progress-label">
<span id="weekProgressLabel">This week</span>
<span id="weekProgressPct">0%</span>
</div>
<div class="week-progress-bar">
<div class="week-progress-fill" id="weekProgressFill" style="width:0%"></div>
</div>
<!-- Week summary strip -->
<div class="week-summary-strip" id="weekSummaryStrip">
<div class="wss-item"><div class="wss-dot" style="background:var(--success)"></div><span><strong id="wssCompleted">0</strong> done</span></div>
<div class="wss-item"><div class="wss-dot" style="background:var(--border)"></div><span><strong id="wssTotal">0</strong> sessions</span></div>
<div class="wss-item"><div class="wss-dot" style="background:var(--primary)"></div><span><strong id="wssHours">0h</strong> study time</span></div>
<div class="wss-item"><div class="wss-dot" style="background:#111"></div><span><strong id="wssExams">0</strong> exams this week</span></div>
</div>
<!-- Info grid -->
<div class="info-grid">
<div class="info-card">
<div class="info-icon success">
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><circle cx="12" cy="12" r="6"/><circle cx="12" cy="12" r="2"/></svg>
</div>
<div class="info-content"><div class="info-label">Easy Exams</div><div class="info-value">5 hrs prep</div></div>
</div>
<div class="info-card">
<div class="info-icon warning">
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polygon points="13 2 3 14 12 14 11 22 21 10 12 10 13 2"/></svg>
</div>
<div class="info-content"><div class="info-label">Medium Exams</div><div class="info-value">10 hrs prep</div></div>
</div>
<div class="info-card">
<div class="info-icon danger">
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H20v20H6.5a2.5 2.5 0 0 1 0-5H20"/></svg>
</div>
<div class="info-content"><div class="info-label">Hard Exams</div><div class="info-value">15 hrs prep</div></div>
</div>
<div class="info-card">
<div class="info-icon very-danger">
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><circle cx="12" cy="12" r="6"/><circle cx="12" cy="12" r="2"/></svg>
</div>
<div class="info-content"><div class="info-label">Very Hard</div><div class="info-value">20 hrs prep</div></div>
</div>
</div>
<!-- Calendar layout -->
<div class="calendar-layout">
<div class="week-view-card">
<div class="week-grid" id="weekGrid"></div>
</div>
<div class="day-details-card">
<div class="day-header">
<div class="day-title-section">
<h3 id="selectedDayName">Monday</h3>
<p class="day-date" id="selectedDayDate">January 1, 2026</p>
</div>
<div style="display:flex;align-items:center;gap:.75rem">
<!-- Completion ring -->
<div class="day-completion-ring">
<svg viewBox="0 0 52 52">
<circle class="dcr-bg" cx="26" cy="26" r="22"/>
<circle class="dcr-fill" id="dcrFill" cx="26" cy="26" r="22"
stroke-dasharray="138.23" stroke-dashoffset="138.23"/>
<text x="26" y="26" class="dcr-text" transform="rotate(90,26,26)" id="dcrText">0%</text>
</svg>
</div>
<div class="day-stats">
<div class="session-count" id="sessionCount">0</div>
<div class="session-label" id="sessionLabel">items</div>
</div>
</div>
</div>
<div class="sessions-list" id="sessionsList"></div>
<div class="day-summary" id="daySummary" style="display:none;">
<div class="summary-row"><span>Total study time</span><span class="summary-value" id="totalTime">0m</span></div>
<div class="summary-row"><span>Completed</span><span class="summary-value" id="completedCount">0 / 0</span></div>
</div>
</div>
</div>
<!-- Legend -->
<div class="legend">
<div class="legend-item completed">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10z"/><path d="m9 12 2 2 4-4"/></svg>
<span>Completed</span>
</div>
<div class="legend-item scheduled">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/></svg>
<span>Scheduled Study</span>
</div>
<div class="legend-item exam" style="color:#111">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H20v20H6.5a2.5 2.5 0 0 1 0-5H20"/></svg>
<span>Exam Day</span>
</div>
<div class="legend-item" style="color:hsl(221,83%,53%)">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="2" y="3" width="20" height="14" rx="2"/><path d="M8 21h8M12 17v4"/></svg>
<span>Project</span>
</div>
<div class="legend-item" style="color:hsl(38,80%,40%)">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9"/><path d="M13.73 21a2 2 0 0 1-3.46 0"/></svg>
<span>Reminder</span>
</div>
</div>
</main>
<script src="js/config.js"></script>
<script src="js/db.js"></script>
<script src="js/mobile-nav.js"></script>
<script src="js/calendar.js"></script>
</body>
</html>