-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstudy-plan.html
More file actions
646 lines (594 loc) · 23.4 KB
/
study-plan.html
File metadata and controls
646 lines (594 loc) · 23.4 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
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Study Plan | Next Week</title>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
<style>
:root {
--notion-bg: #ffffff;
--notion-text: #37352f;
--notion-secondary-text: #64748b;
--notion-border: #e0e0e0;
--notion-hover: #f5f5f5;
--notion-tag-blue: #e8f1fd;
--notion-tag-blue-text: #0b6bcb;
--notion-tag-red: #fdebeb;
--notion-tag-red-text: #e03e3e;
--notion-tag-orange: #fff2e6;
--notion-tag-orange-text: #e8700a;
--notion-tag-green: #ddfbe9;
--notion-tag-green-text: #148a4f;
--notion-tag-purple: #f0e8fd;
--notion-tag-purple-text: #9747ff;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
color: var(--notion-text);
background-color: var(--notion-bg);
line-height: 1.5;
padding: 20px;
max-width: 900px;
margin: 0 auto;
}
.header {
padding: 20px 0 10px;
border-bottom: 1px solid var(--notion-border);
margin-bottom: 40px;
}
.page-title {
font-size: 40px;
font-weight: 700;
margin-bottom: 10px;
}
.page-description {
color: var(--notion-secondary-text);
font-size: 16px;
margin-bottom: 20px;
}
.database {
padding-bottom: 100px;
}
.controls {
display: flex;
align-items: center;
margin-bottom: 20px;
gap: 10px;
}
.filter-btn, .view-btn {
display: flex;
align-items: center;
padding: 6px 12px;
border: 1px solid var(--notion-border);
border-radius: 4px;
background: transparent;
color: var(--notion-secondary-text);
font-size: 14px;
cursor: pointer;
transition: background 0.2s;
}
.filter-btn:hover, .view-btn:hover {
background: var(--notion-hover);
}
.filter-btn i, .view-btn i {
margin-right: 6px;
}
.btn-new {
margin-left: auto;
background-color: var(--notion-text);
color: white;
border: none;
}
.btn-new:hover {
background-color: #000;
}
table {
width: 100%;
border-collapse: collapse;
font-size: 14px;
margin-bottom: 40px;
}
th {
text-align: left;
padding: 8px 12px;
font-weight: 500;
color: var(--notion-secondary-text);
border-bottom: 1px solid var(--notion-border);
}
td {
padding: 12px;
border-bottom: 1px solid var(--notion-border);
vertical-align: top;
}
tr:hover {
background-color: var(--notion-hover);
}
.checkbox {
width: 16px;
height: 16px;
border: 1px solid var(--notion-border);
border-radius: 2px;
cursor: pointer;
transition: all 0.2s;
}
.checkbox.checked {
background-color: var(--notion-text);
border-color: var(--notion-text);
position: relative;
}
.checkbox.checked::after {
content: '✓';
position: absolute;
color: white;
font-size: 12px;
top: -2px;
left: 3px;
}
.task {
display: flex;
align-items: flex-start;
}
.task-content {
margin-left: 10px;
width: 100%;
}
.task-title {
font-weight: 500;
margin-bottom: 3px;
}
.task-notes {
font-size: 13px;
color: var(--notion-secondary-text);
}
.task.completed .task-title {
text-decoration: line-through;
color: var(--notion-secondary-text);
}
.tag {
display: inline-block;
padding: 2px 8px;
border-radius: 3px;
font-size: 12px;
font-weight: 500;
margin-right: 6px;
}
.tag.blue {
background-color: var(--notion-tag-blue);
color: var(--notion-tag-blue-text);
}
.tag.red {
background-color: var(--notion-tag-red);
color: var(--notion-tag-red-text);
}
.tag.green {
background-color: var(--notion-tag-green);
color: var(--notion-tag-green-text);
}
.tag.orange {
background-color: var(--notion-tag-orange);
color: var(--notion-tag-orange-text);
}
.tag.purple {
background-color: var(--notion-tag-purple);
color: var(--notion-tag-purple-text);
}
.priority {
display: flex;
align-items: center;
}
.priority i {
color: #ff7066;
margin-right: 5px;
}
.date {
color: var(--notion-secondary-text);
}
@media (max-width: 768px) {
.page-title {
font-size: 32px;
}
table, thead, tbody, th, td, tr {
display: block;
}
thead tr {
position: absolute;
top: -9999px;
left: -9999px;
}
tr {
margin-bottom: 15px;
border: 1px solid var(--notion-border);
border-radius: 5px;
}
td {
border: none;
position: relative;
padding-left: 120px;
min-height: 40px;
}
td:before {
position: absolute;
top: 12px;
left: 12px;
width: 100px;
font-weight: 500;
color: var(--notion-secondary-text);
}
td:nth-of-type(1):before { content: "Status"; }
td:nth-of-type(2):before { content: "Task"; }
td:nth-of-type(3):before { content: "Category"; }
td:nth-of-type(4):before { content: "Priority"; }
td:nth-of-type(5):before { content: "Due Date"; }
}
</style>
</head>
<body>
<div class="notion-page">
<header class="header">
<h1 class="page-title">📚 Study Plan: Next Week</h1>
<p class="page-description">React and Swift learning roadmap for next week</p>
</header>
<main class="database">
<div class="controls">
<button class="filter-btn"><i class="fas fa-filter"></i> Filter</button>
<button class="filter-btn"><i class="fas fa-sort"></i> Sort</button>
<button class="view-btn"><i class="fas fa-table"></i> Table view</button>
<button class="filter-btn btn-new"><i class="fas fa-plus"></i> New</button>
</div>
<table>
<thead>
<tr>
<th width="50">Status</th>
<th>Task</th>
<th width="120">Category</th>
<th width="100">Priority</th>
<th width="120">Due Date</th>
</tr>
</thead>
<tbody>
<!-- Monday -->
<tr>
<td>
<div class="checkbox"></div>
</td>
<td>
<div class="task">
<div class="task-content">
<div class="task-title">React fundamentals: JSX and components</div>
<div class="task-notes">Complete React crash course on components, props, and JSX syntax</div>
</div>
</div>
</td>
<td>
<span class="tag blue">React</span>
</td>
<td>
<div class="priority">
<i class="fas fa-flag"></i> High
</div>
</td>
<td class="date">Monday</td>
</tr>
<tr>
<td>
<div class="checkbox"></div>
</td>
<td>
<div class="task">
<div class="task-content">
<div class="task-title">Swift basics and syntax</div>
<div class="task-notes">Set up Xcode and learn basic Swift syntax, variables, and control flow</div>
</div>
</div>
</td>
<td>
<span class="tag orange">Swift</span>
</td>
<td>
<div class="priority">
<i class="fas fa-flag"></i> High
</div>
</td>
<td class="date">Monday</td>
</tr>
<!-- Tuesday -->
<tr>
<td>
<div class="checkbox"></div>
</td>
<td>
<div class="task">
<div class="task-content">
<div class="task-title">React state management and hooks</div>
<div class="task-notes">Learn useState, useEffect, and implement state management in small app</div>
</div>
</div>
</td>
<td>
<span class="tag blue">React</span>
</td>
<td>
<div class="priority">
<i class="fas fa-flag"></i> High
</div>
</td>
<td class="date">Tuesday</td>
</tr>
<tr>
<td>
<div class="checkbox"></div>
</td>
<td>
<div class="task">
<div class="task-content">
<div class="task-title">Swift functions and closures</div>
<div class="task-notes">Create functions, understand closures, and practice through coding examples</div>
</div>
</div>
</td>
<td>
<span class="tag orange">Swift</span>
</td>
<td>
<div class="priority">
<i class="fas fa-flag"></i> High
</div>
</td>
<td class="date">Tuesday</td>
</tr>
<!-- Wednesday -->
<tr>
<td>
<div class="checkbox"></div>
</td>
<td>
<div class="task">
<div class="task-content">
<div class="task-title">Build a React to-do list application</div>
<div class="task-notes">Practice components, state management, and event handling by building a to-do app</div>
</div>
</div>
</td>
<td>
<span class="tag blue">React</span>
</td>
<td>
<div class="priority">
<i class="fas fa-flag"></i> High
</div>
</td>
<td class="date">Wednesday</td>
</tr>
<tr>
<td>
<div class="checkbox"></div>
</td>
<td>
<div class="task">
<div class="task-content">
<div class="task-title">Swift classes and structs</div>
<div class="task-notes">Learn object-oriented programming in Swift with classes, structs, and properties</div>
</div>
</div>
</td>
<td>
<span class="tag orange">Swift</span>
</td>
<td>
<div class="priority">
<i class="fas fa-flag"></i> Medium
</div>
</td>
<td class="date">Wednesday</td>
</tr>
<!-- Thursday -->
<tr>
<td>
<div class="checkbox"></div>
</td>
<td>
<div class="task">
<div class="task-content">
<div class="task-title">React routing with React Router</div>
<div class="task-notes">Set up multi-page navigation in a React application with React Router</div>
</div>
</div>
</td>
<td>
<span class="tag blue">React</span>
</td>
<td>
<div class="priority">
<i class="fas fa-flag"></i> Medium
</div>
</td>
<td class="date">Thursday</td>
</tr>
<tr>
<td>
<div class="checkbox"></div>
</td>
<td>
<div class="task">
<div class="task-content">
<div class="task-title">SwiftUI basics</div>
<div class="task-notes">Introduction to SwiftUI framework and building simple UI components</div>
</div>
</div>
</td>
<td>
<span class="tag orange">Swift</span>
</td>
<td>
<div class="priority">
<i class="fas fa-flag"></i> High
</div>
</td>
<td class="date">Thursday</td>
</tr>
<!-- Friday -->
<tr>
<td>
<div class="checkbox"></div>
</td>
<td>
<div class="task">
<div class="task-content">
<div class="task-title">Fetching data in React with API calls</div>
<div class="task-notes">Use fetch or axios to make API calls and display data in React components</div>
</div>
</div>
</td>
<td>
<span class="tag blue">React</span>
</td>
<td>
<div class="priority">
<i class="fas fa-flag"></i> Medium
</div>
</td>
<td class="date">Friday</td>
</tr>
<tr>
<td>
<div class="checkbox"></div>
</td>
<td>
<div class="task">
<div class="task-content">
<div class="task-title">Build a simple SwiftUI app</div>
<div class="task-notes">Create a basic iOS app with multiple screens using SwiftUI</div>
</div>
</div>
</td>
<td>
<span class="tag orange">Swift</span>
</td>
<td>
<div class="priority">
<i class="fas fa-flag"></i> Medium
</div>
</td>
<td class="date">Friday</td>
</tr>
<!-- Weekend -->
<tr>
<td>
<div class="checkbox"></div>
</td>
<td>
<div class="task">
<div class="task-content">
<div class="task-title">Mini-project: React weather app</div>
<div class="task-notes">Build a weather app using React that displays forecast data from a public API</div>
</div>
</div>
</td>
<td>
<span class="tag blue">React</span>
<span class="tag green">Project</span>
</td>
<td>
<div class="priority">
<i class="fas fa-flag"></i> High
</div>
</td>
<td class="date">Weekend</td>
</tr>
<tr>
<td>
<div class="checkbox"></div>
</td>
<td>
<div class="task">
<div class="task-content">
<div class="task-title">Mini-project: iOS journal app</div>
<div class="task-notes">Create a simple journal/notes app using SwiftUI with basic storage functionality</div>
</div>
</div>
</td>
<td>
<span class="tag orange">Swift</span>
<span class="tag green">Project</span>
</td>
<td>
<div class="priority">
<i class="fas fa-flag"></i> High
</div>
</td>
<td class="date">Weekend</td>
</tr>
<!-- Additional Resources -->
<tr>
<td>
<div class="checkbox"></div>
</td>
<td>
<div class="task">
<div class="task-content">
<div class="task-title">Collect learning resources</div>
<div class="task-notes">Gather documentation, tutorials, and YouTube channels for both React and Swift</div>
</div>
</div>
</td>
<td>
<span class="tag purple">Resources</span>
</td>
<td>
<div class="priority">
<i class="fas fa-flag"></i> Low
</div>
</td>
<td class="date">Monday</td>
</tr>
<tr>
<td>
<div class="checkbox"></div>
</td>
<td>
<div class="task">
<div class="task-content">
<div class="task-title">Join developer communities</div>
<div class="task-notes">Join React and Swift Discord servers or subreddits for community support</div>
</div>
</div>
</td>
<td>
<span class="tag purple">Resources</span>
</td>
<td>
<div class="priority">
<i class="fas fa-flag"></i> Low
</div>
</td>
<td class="date">Tuesday</td>
</tr>
</tbody>
</table>
</main>
</div>
<script>
document.addEventListener('DOMContentLoaded', function() {
// Handle checkbox clicks
const checkboxes = document.querySelectorAll('.checkbox');
checkboxes.forEach(checkbox => {
checkbox.addEventListener('click', function() {
this.classList.toggle('checked');
// Find the parent row and the task within it
const row = this.closest('tr');
const task = row.querySelector('.task');
// Toggle completed class
task.classList.toggle('completed');
});
});
});
</script>
</body>
</html>