-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
106 lines (98 loc) · 4.56 KB
/
index.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>GitHub Streak Creator</title>
<script src="https://code.iconify.design/2/2.1.0/iconify.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<link rel="stylesheet" href="styles.css" type="text/css">
</head>
<body>
<header class="header">
<h1>GitHub Streak Creator</h1>
</header>
<section class="hero">
<div class="hero-shapes">
<div class="hero-shape hero-shape-1"></div>
<div class="hero-shape hero-shape-2"></div>
<div class="hero-shape hero-shape-3"></div>
</div>
<h1>Bring Your Contributions to Life</h1>
<p>Design, visualize, and share your ideal GitHub contribution graph. Perfect for planning your coding journey or just for fun!</p>
<a href="#" class="hero-cta">Get Started</a>
</section>
<div class="container">
<div class="controls">
<button id="prevYearBtn"><span class="iconify" data-icon="mdi:chevron-left"></span>Previous Year</button>
<button id="nextYearBtn">Next Year<span class="iconify" data-icon="mdi:chevron-right"></span></button>
<button id="resetBtn"><span class="iconify" data-icon="mdi:refresh"></span>Reset Grid</button>
<button id="randomizeBtn"><span class="iconify" data-icon="mdi:shuffle"></span>Randomize</button>
<button id="syncGitHubBtn"><span class="iconify" data-icon="mdi:github"></span>Sync with GitHub</button>
<button id="shareBtn"><span class="iconify" data-icon="mdi:share"></span>Share</button>
<button id="printBtn"><span class="iconify" data-icon="mdi:printer"></span>Print Todo List</button>
<button id="saveBtn"><span class="iconify"
data-icon="mdi:content-save"></span>Save</button>
<button id="loadBtn"><span class="iconify" data-icon="mdi:folder-open"></span>Load</button>
<button id="reminderBtn"><span class="iconify" data-icon="mdi:bell"></span>Set Reminder</button>
<label class="switch">
<input type="checkbox" id="darkModeToggle">
<span class="slider"></span>
</label>
</div>
<div id="colorPalette"></div>
<input type="text" id="textInput" placeholder="Enter text to display on the grid (max 10 characters)" maxlength="10">
<div id="viewToggle">
<button id="gridViewBtn">Grid View</button>
<button id="heatmapViewBtn" disabled style="cursor: not-allowed;" title="Coming Soon!">Heatmap View</button>
</div>
<div id="timelapse">
<div id="timelapseHandle"></div>
</div>
<div class="grid-container">
<div class="days">
<span>Mon</span>
<span>Wed</span>
<span>Fri</span>
</div>
<div>
<div class="months" id="months"></div>
<div class="grid" id="grid"></div>
</div>
</div>
<div id="heatmap" style="display: none;"></div>
<div class="legend">
<span>Less</span>
<div class="legend-item" data-level="0"></div>
<div class="legend-item" data-level="1"></div>
<div class="legend-item" data-level="2"></div>
<div class="legend-item" data-level="3"></div>
<div class="legend-item" data-level="4"></div>
<span>More</span>
</div>
<div id="statsContainer"></div>
<div id="achievementsContainer"></div>
<h2>Todo List</h2>
<div class="todo-list" id="todoList"></div>
</div>
<div class="tooltip" id="tooltip"></div>
<div class="popup" id="sharePopup">
<div class="popup-content">
<span class="close-popup">×</span>
<h3>Share Your Streak</h3>
<input type="text" id="shareUrl" readonly>
</div>
</div>
<div class="popup" id="reminderPopup">
<div class="popup-content">
<span class="close-popup">×</span>
<h3>Set Reminder</h3>
<input type="date" id="reminderDate">
<input type="text" id="reminderText" placeholder="Reminder text">
<button id="addReminderBtn">Add Reminder</button>
</div>
</div>
<div id="remindersContainer"></div>
<script src="script.js"></script>
</body>
</html>