-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
387 lines (335 loc) · 12.4 KB
/
index.html
File metadata and controls
387 lines (335 loc) · 12.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Indigo Protocol Timeline</title>
<link href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.0/css/bootstrap.min.css" rel="stylesheet">
<style>
:root {
--proposal-color: #1e90ff;
--wg-creation: #20b2aa;
--protocol-update: #4682b4;
--milestone: #330387;
--financial: #304b61;
--platform: #9370db;
}
body {
font-family: 'Montserrat', sans-serif;
background-color: #121212;
color: #f5f5f5;
padding-bottom: 50px;
}
header {
text-align: center;
padding: 40px 20px;
background: linear-gradient(135deg, #1e2a78 0%, #283593 100%);
margin-bottom: 40px;
border-bottom: 4px solid #384cb7;
}
header h1 {
font-weight: 700;
font-size: 2.8rem;
margin-bottom: 15px;
}
header h1 a {
color: white;
text-decoration: none;
}
header h2 {
font-weight: 400;
font-size: 1.4rem;
max-width: 800px;
margin: 0 auto;
color: rgba(255, 255, 255, 0.85);
}
.timeline-container {
position: relative;
max-width: 1200px;
margin: 0 auto;
padding: 0 30px;
}
.timeline-line {
position: absolute;
left: 50%;
width: 4px;
top: 0;
bottom: 0;
background: linear-gradient(to bottom, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.3) 100%);
transform: translateX(-50%);
}
.year-marker {
position: relative;
text-align: center;
padding: 30px 0;
z-index: 10;
}
.year-marker h3 {
display: inline-block;
font-size: 3rem;
font-weight: 700;
padding: 10px 40px;
border-radius: 50px;
background: linear-gradient(135deg, #1e2a78 0%, #283593 100%);
box-shadow: 0 5px 15px rgba(0,0,0,0.3);
margin: 0;
}
.timeline-event {
position: relative;
margin-bottom: 30px;
padding-left: 35px;
padding-right: 35px;
}
.timeline-event:nth-child(odd) {
margin-left: auto;
margin-right: 50%;
text-align: right;
}
.timeline-event:nth-child(even) {
margin-right: auto;
margin-left: 50%;
text-align: left;
}
.event-dot {
position: absolute;
top: 15px;
width: 20px;
height: 20px;
border-radius: 50%;
box-shadow: 0 0 0 4px #121212, 0 0 0 6px rgba(255,255,255,0.3);
}
.timeline-event:nth-child(odd) .event-dot {
right: -10px;
}
.timeline-event:nth-child(even) .event-dot {
left: -10px;
}
.event-line {
position: absolute;
top: 24px;
width: 35px;
height: 2px;
}
.timeline-event:nth-child(odd) .event-line {
right: 0;
}
.timeline-event:nth-child(even) .event-line {
left: 0;
}
.event-card {
padding: 20px;
border-radius: 10px;
margin-bottom: 20px;
box-shadow: 0 5px 15px rgba(0,0,0,0.2);
transition: transform 0.3s, box-shadow 0.3s;
cursor: pointer;
}
.event-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}
.event-date {
font-size: 1.1rem;
font-weight: 500;
opacity: 0.9;
margin-bottom: 5px;
}
.event-card h4 {
font-size: 1.4rem;
font-weight: 600;
margin-bottom: 10px;
}
.event-card .subtitle {
display: inline-block;
padding: 4px 10px;
border-radius: 20px;
font-size: 0.9rem;
font-weight: 500;
background-color: rgba(255,255,255,0.15);
margin-bottom: 10px;
}
/* Category colors */
.category-proposal { background-color: var(--proposal-color); }
.category-wg-creation { background-color: var(--wg-creation); }
.category-protocol-update { background-color: var(--protocol-update); }
.category-milestone { background-color: var(--milestone); }
.category-financial { background-color: var(--financial); }
.category-platform { background-color: var(--platform); }
.legend {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 15px;
margin: 40px auto;
max-width: 800px;
padding: 15px;
background-color: rgba(255,255,255,0.05);
border-radius: 10px;
}
.legend-item {
display: flex;
align-items: center;
font-size: 0.9rem;
}
.legend-color {
width: 20px;
height: 20px;
border-radius: 5px;
margin-right: 8px;
}
footer {
text-align: center;
padding: 30px 20px;
background-color: rgba(255,255,255,0.05);
margin-top: 70px;
}
footer h3 {
font-size: 1.1rem;
font-weight: 400;
}
footer a {
color: var(--proposal-color);
text-decoration: none;
font-weight: 600;
}
footer a:hover {
text-decoration: underline;
}
@media (max-width: 767px) {
.timeline-line {
left: 30px;
}
.year-marker {
text-align: left;
}
.year-marker h3 {
margin-left: 50px;
}
.timeline-event {
margin-left: 60px !important;
margin-right: 0 !important;
text-align: left !important;
padding-left: 0;
padding-right: 0;
}
.event-dot {
left: -45px !important;
right: auto !important;
}
.event-line {
left: -35px !important;
right: auto !important;
}
}
</style>
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap" rel="stylesheet">
</head>
<body>
<header>
<h1><a href="index.html"><b>Indigo Protocol Timeline</b></a></h1>
<h2>Explore the key dates and events that have shaped the Indigo Protocol.</h2>
</header>
<div class="container">
<div class="legend">
<div class="legend-item">
<div class="legend-color" style="background-color: var(--proposal-color);"></div>
<div>Proposals</div>
</div>
<div class="legend-item">
<div class="legend-color" style="background-color: var(--wg-creation);"></div>
<div>Working Groups</div>
</div>
<div class="legend-item">
<div class="legend-color" style="background-color: var(--protocol-update);"></div>
<div>Protocol Updates</div>
</div>
<div class="legend-item">
<div class="legend-color" style="background-color: var(--milestone);"></div>
<div>Milestones</div>
</div>
<div class="legend-item">
<div class="legend-color" style="background-color: var(--financial);"></div>
<div>Financial</div>
</div>
<div class="legend-item">
<div class="legend-color" style="background-color: var(--platform);"></div>
<div>Platform</div>
</div>
</div>
</div>
<div class="timeline-container" id="timeline">
<div class="timeline-line"></div>
</div>
<footer>
<h3>Created by POG members, with <i class="fas fa-heart" style="color: #ff6b6b;"></i>, for the <a href="https://indigodao.org/">Indigo DAO</a></h3>
</footer>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.0/js/bootstrap.bundle.min.js"></script>
<script>
// Timeline data
const timelineData = [
{date: new Date(2021, 7, 7), name: 'Indigo Laboratories, Inc. was incorporated in Wyoming', subtitle: 'Genesis', category: 'proposal', color: 'var(--proposal-color)'},
{date: new Date(2022, 8, 22), name: 'The Indigo Foundation, a nonprofit created by an Indigo DAO vote, in the Cayman Islands to support Indigo Protocol\'s development.', subtitle: 'Genesis', category: 'proposal', color: 'var(--proposal-color)'},
{date: new Date(2022, 11, 7), name: 'Indigo V1 Launch: iBTC, iETH, iUSD', subtitle: 'Proposal #1', category: 'protocol-update', color: 'var(--protocol-update)'},
{date: new Date(2023, 3, 4), name: 'Protocol Working Group Creation', subtitle: 'Proposal #16', category: 'wg-creation', color: 'var(--wg-creation)'},
{date: new Date(2023, 5, 14), name: 'Technical Working Group Creation', subtitle: 'Proposal #21', category: 'wg-creation', color: 'var(--wg-creation)'},
{date: new Date(2023, 11, 1), name: 'the DAO vote Yes to develop Indigo V2', subtitle: 'Proposal #30', category: 'protocol-update', color: 'var(--protocol-update)'},
{date: new Date(2023, 11, 8), name: 'TVL surpasses 100m $US for the first time', subtitle: 'Milestone Event', category: 'milestone', color: 'var(--milestone)'},
{date: new Date(2024, 2, 21), name: 'Protocol Outreach Group Creation', subtitle: 'Proposal #32', category: 'wg-creation', color: 'var(--wg-creation)'},
{date: new Date(2024, 3, 21), name: 'Upgrade Protocol to Indigo V2', subtitle: 'Proposal #33', category: 'protocol-update', color: 'var(--protocol-update)'},
{date: new Date(2024, 4, 11), name: 'The DAO Stake with Easy1 Stakepool', subtitle: 'Proposal #38', link: 'https://www.easy1staking.com/', category: 'platform', color: 'var(--platform)'},
{date: new Date(2024, 6, 13), name: 'Buyback Strategy v1', subtitle: 'Proposal #53', category: 'financial', color: 'var(--financial)'},
{date: new Date(2024, 8, 4), name: 'Indigo Insight unveiled by PWG', subtitle: 'Analytics platform', link: 'http://insights.indigodao.org/', category: 'platform', color: 'var(--platform)'},
{date: new Date(2024, 9, 6), name: 'Upgrade Protocol to Indigo V2.1', subtitle: 'Proposal #63', category: 'protocol-update', color: 'var(--protocol-update)'},
{date: new Date(2024, 10, 25), name: 'New iAsset : iSOL', subtitle: 'Proposal #71', category: 'protocol-update', color: 'var(--protocol-update)'},
{date: new Date(2024, 11, 1), name: 'Indigo PoCoP unveiled by POG', subtitle: 'Decentralized Marketing platform', link: 'http://pocop.indigodao.org/', category: 'platform', color: 'var(--platform)'},
{date: new Date(2024, 11, 17), name: 'Buyback Strategy v2', subtitle: 'Proposal #73', category: 'financial', color: 'var(--financial)'},
{date: new Date(2025, 0, 6), name: '$INDY surpasses 10k holders', subtitle: 'Milestone event', category: 'milestone', color: 'var(--milestone)'}
];
// Group events by year
const eventsByYear = {};
timelineData.forEach(event => {
const year = event.date.getFullYear();
if (!eventsByYear[year]) {
eventsByYear[year] = [];
}
eventsByYear[year].push(event);
});
// Sort years
const years = Object.keys(eventsByYear).sort();
// Create timeline
const timeline = document.getElementById('timeline');
// Add events by year
years.forEach((year, yearIndex) => {
// Add year marker
const yearMarker = document.createElement('div');
yearMarker.className = 'year-marker';
yearMarker.innerHTML = `<h3>${year}</h3>`;
timeline.appendChild(yearMarker);
// Add events for this year
eventsByYear[year].forEach((event, eventIndex) => {
const eventDiv = document.createElement('div');
eventDiv.className = 'timeline-event';
// Format date
const dateOptions = { month: 'long', day: 'numeric' };
const formattedDate = event.date.toLocaleDateString('en-US', dateOptions);
// Create event card
const cardClass = `category-${event.category}`;
let eventContent = `
<div class="event-card ${cardClass}" style="background-color: ${event.color}" ${event.link ? `onclick="window.open('${event.link}', '_blank')"` : ''}>
<div class="event-date">${formattedDate}</div>
<h4>${event.name}</h4>
<div class="subtitle">${event.subtitle}</div>
${event.link ? '<i class="fas fa-external-link-alt" style="font-size: 0.9rem; opacity: 0.7;"></i>' : ''}
</div>
<div class="event-dot" style="background-color: ${event.color}"></div>
<div class="event-line" style="background-color: ${event.color}"></div>
`;
eventDiv.innerHTML = eventContent;
timeline.appendChild(eventDiv);
});
});
</script>
</body>
</html>