-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
579 lines (537 loc) · 30.8 KB
/
index.html
File metadata and controls
579 lines (537 loc) · 30.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
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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Theory to Trade by TRACE</title>
<meta name="description"
content="TRACE Theory to Trade equips students and graduates with industry-ready skills through CRISP program and T2T Masterclasses on AI, freelancing, marketing, and film business." />
<meta name="theme-color" content="#0f172a" />
<link rel="icon" type="image/png" href="images/t2t_logo.png" />
<link rel="stylesheet" href="styles.css" />
<meta property="og:title" content="Theory to Trade by TRACE" />
<meta property="og:description" content="Employable is good. Irreplaceable is better. That’s the gap we close." />
<meta property="og:type" content="website" />
<meta property="og:image" content="images/T2T-Website.png" />
<style>
/* Responsive Grid Adjustments for Tablet/Mobile */
@media (max-width: 768px) {
.grid.cols-2,
.quotes {
grid-template-columns: 1fr !important;
}
}
</style>
</head>
<body>
<header>
<div class="container nav">
<a href="#top" class="brand" aria-label="Home">
<img src="images/logos/t2t.png" alt="Theory to Trade by TRACE logo" loading="eager" />
<strong>
<span class="brand-full">Theory to Trade (T2T) by TRACE</span>
<span class="brand-short">T2T by TRACE</span>
</strong>
</a>
<nav aria-label="Primary">
<ul>
<li><a class="active" href="#about">About</a></li>
<li><a href="#programs">Programs</a></li>
<li><a href="#events">Events</a></li>
<li><a href="#testimonials">Alumni</a></li>
<li><a href="#partners">Partners</a></li>
<li><a href="https://trace.lk/" target="_blank" rel="noopener">Visit TRACE</a></li>
</ul>
</nav>
<div class="actions">
<div class="social-links">
<a href="https://www.linkedin.com/company/trace-theory-to-trade/" target="_blank" rel="noopener"
aria-label="LinkedIn">
<svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor">
<path
d="M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z" />
</svg>
</a>
<a href="https://www.facebook.com/theory2trade" target="_blank" rel="noopener" aria-label="Facebook">
<svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor">
<path
d="M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z" />
</svg>
</a>
<a href="https://www.instagram.com/theory2trade" target="_blank" rel="noopener" aria-label="Instagram">
<svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor">
<path
d="M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z" />
</svg>
</a>
<a href="https://youtube.com/@tracet2t" target="_blank" rel="noopener" aria-label="YouTube">
<svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor">
<path
d="M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z" />
</svg>
</a>
<a href="https://www.tiktok.com/@t2t445" target="_blank" rel="noopener" aria-label="TikTok">
<svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor">
<path
d="M12.525.02c1.31-.02 2.61-.01 3.91-.02.08 1.53.63 3.09 1.75 4.17 1.12 1.11 2.7 1.62 4.24 1.79v4.03c-1.44-.05-2.89-.35-4.2-.97-.57-.26-1.1-.59-1.62-.93-.01 2.92.01 5.84-.02 8.75-.08 1.4-.54 2.79-1.35 3.94-1.31 1.92-3.58 3.17-5.91 3.21-1.43.08-2.86-.31-4.08-1.03-2.02-1.19-3.44-3.37-3.65-5.71-.02-.5-.03-1-.01-1.49.18-1.9 1.12-3.72 2.58-4.96 1.66-1.44 3.98-2.13 6.15-1.72.02 1.48-.04 2.96-.04 4.44-.99-.32-2.15-.23-3.02.37-.63.41-1.11 1.04-1.36 1.75-.21.51-.15 1.07-.14 1.61.24 1.64 1.82 3.02 3.5 2.87 1.12-.01 2.19-.66 2.77-1.61.19-.33.4-.67.41-1.06.1-1.79.06-3.57.07-5.36.01-4.03-.01-8.05.02-12.07z" />
</svg>
</a>
</div>
<button class="menu btn secondary" id="menuBtn" aria-expanded="false" aria-controls="mobileNav">Menu</button>
</div>
</div>
<div id="mobileNav" class="container hide" role="dialog" aria-modal="false">
<nav>
<ul style="display:grid; gap:8px; padding:12px 0">
<li><a href="#about">About</a></li>
<li><a href="#programs">Programs</a></li>
<li><a href="#events">Events</a></li>
<li><a href="#testimonials">Alumni</a></li>
<li><a href="#partners">Partners</a></li>
<li><a href="https://trace.lk/" target="_blank" rel="noopener">Visit TRACE</a></li>
</ul>
</nav>
</div>
</header>
<main id="top">
<!-- HERO -->
<section class="hero" aria-label="Hero">
<div class="bg"></div>
<div class="container hero-wrap">
<div>
<span class="badge">Theory to Trade (T2T) by TRACE</span>
<h1>Employable is good. Irreplaceable is better. That’s the gap we close.</h1>
<p>Knowledge is the starting point. Industry looks for readiness. T2T equips you with real‑world skills, a
professional mindset, and project experience to stand out from day one.</p>
<div class="row" style="margin-top:14px">
<a class="btn secondary" href="#programs">Explore programs</a>
</div>
<div class="stats">
<div class="stat"><b>3</b><span>Learning Paths</span></div>
<div class="stat"><b>20+</b><span>Training Programs</span></div>
<div class="stat"><b>10+</b><span>Mentors</span></div>
<div class="stat"><b>300+</b><span>Students</span></div>
</div>
</div>
<div class="hero-media">
<div class="frame">
<img src="images/T2T-Website.png" alt="T2T preview" class="cover" loading="eager" />
</div>
</div>
</div>
</section>
<!-- ABOUT -->
<section id="about" aria-label="About">
<div class="container">
<h2>Theory to Trade (T2T) by TRACE</h2>
<p class="lead">T2T bridges the gap between what you learn in class and what the industry expects. Through
hands‑on projects, guided internships, and industry‑focused training, T2T helps undergraduates and recent
graduates become industry‑ready. With mentor support, you go beyond textbooks and build the practical skills
and confidence needed to thrive.</p>
<div class="about">
<div class="card">
<h3>Your launchpad to industry</h3>
<p>Build a complete skill set for today's tech‑driven workplace: career readiness, real‑world tech exposure,
and the soft skills and mindset employers expect. Whether you start with the flagship
<strong>CRISP</strong> program or launch your film career through <strong>IFAP</strong>,
every path is designed to help you grow where it matters most.
</p>
<div class="spacer"></div>
<div class="row">
<a class="btn" href="#programs">View programs</a>
</div>
</div>
<div class="card">
<div class="carousel-container">
<div class="carousel">
<div class="carousel-slide"><img src="images/IMG_20250329_105130-scaled.jpg" alt="T2T students workshop"
loading="lazy" /></div>
<div class="carousel-slide"><img src="images/IMG_20250329_105407-scaled.jpg"
alt="T2T students presentation" loading="lazy" /></div>
<div class="carousel-slide"><img src="images/IMG_20250330_094523-scaled.jpg" alt="T2T team meeting"
loading="lazy" /></div>
<div class="carousel-slide"><img src="images/IMG_20250330_095136-scaled.jpg" alt="T2T training session"
loading="lazy" /></div>
<div class="carousel-slide"><img src="images/IMG_20250330_121315-scaled.jpg" alt="T2T classroom"
loading="lazy" /></div>
<div class="carousel-slide"><img src="images/IMG_20250330_121443-scaled.jpg" alt="T2T group photo"
loading="lazy" /></div>
</div>
<div class="carousel-indicators">
<span class="indicator active" data-slide="0"></span>
<span class="indicator" data-slide="1"></span>
<span class="indicator" data-slide="2"></span>
<span class="indicator" data-slide="3"></span>
<span class="indicator" data-slide="4"></span>
<span class="indicator" data-slide="5"></span>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- WHO IT'S FOR -->
<section id="who" aria-label="Is T2T for you?">
<div class="container">
<h2>Is T2T for you?</h2>
<p class="lead">If you’re a final‑year student or fresh graduate in IT or a related field, a self‑taught coder
with limited real‑world experience, or already working but unsure whether your skills match industry
expectations, then T2T is built for you.</p>
<div class="grid cols-3">
<div class="card">
<h3>Students & graduates</h3>
<p>Turn theory into proven capability with real projects and guided internships.</p>
</div>
<div class="card">
<h3>Self‑taught developers</h3>
<p>Structure your skills, fill gaps, and practice in team environments.</p>
</div>
<div class="card">
<h3>Early‑career professionals</h3>
<p>Benchmark against industry expectations and level up with targeted training.</p>
</div>
</div>
<p class="lead" style="margin-top:16px">Industry values industry‑ready skills: clear communication, real‑world
problem‑solving, and working in agile teams. T2T helps bridge the gap and turn potential into job‑ready
capability.</p>
<div class="row" style="justify-content:center; margin-top:24px">
<a class="btn" href="#registration">Join now</a>
</div>
</div>
</section>
<!-- PROGRAMS -->
<section id="programs" aria-label="Programs">
<div class="container">
<h2>T2T Programs</h2>
<p class="lead">Choose a path. Gain practice. Build credibility.</p>
<div class="grid cols-2">
<article class="tile">
<img class="cover" src="programs/crisp/batch/1/crisp-batch-1.jpg" alt="CRISP program" loading="lazy" />
<div class="body">
<h3>CRISP</h3>
<p class="meta">Career Readiness and Industry Skills Program</p>
<p>You’ve learned the theory. Now prove value in the real world with projects, tools, and practices the
industry demands.</p>
<div class="row"><a class="btn" href="programs/crisp/index.html">Explore CRISP</a></div>
</div>
</article>
<article class="tile">
<img class="cover" src="programs/ifap/ifap.png" alt="IFAP Program" loading="lazy" />
<div class="body">
<h3>IFAP</h3>
<p class="meta">International Filmmaker Accelerator Program</p>
<p>Launchpad for Sri Lankan filmmakers. Take your films global with workshops, mentorship, development
labs, and live pitch forums.</p>
<div class="row"><a class="btn" href="programs/ifap/index.html">Explore IFAP</a></div>
</div>
</article>
</div>
</div>
</section>
<!-- CRISP DETAIL -->
<section id="crisp" aria-label="CRISP details">
<div class="container">
<h2>CRISP - Career Readiness and Industry Skills Program</h2>
<p class="lead">Still searching for a first job or internship? Feeling unprepared? CRISP is a structured path to
rebuild from the basics and practice the exact skills, tools, and workflows employers expect. Work on real
projects guided by industry experts and graduate with confidence.</p>
<div class="grid cols-2" style="text-align: left;">
<div class="card">
<h3>CRISP Foundation</h3>
<p>Not sure where to start an IT career? Build confidence, gain essential skills, and be ready for the next
opportunity.</p>
<div class="spacer"></div>
<div class="row">
<a class="btn" href="docs/CRISP-Foundation.pdf" target="_blank" rel="noopener">Show details</a>
</div>
</div>
<div class="card">
<h3>CRISP Practitioner</h3>
<p>Completed Foundation? Work on industry projects, collaborate with real clients, and level up with mentor
guidance.</p>
<div class="spacer"></div>
<div class="row">
<a class="btn" href="docs/CRISP-Practitioner.pdf" target="_blank" rel="noopener">Show details</a>
</div>
</div>
</div>
</div>
</section>
<!-- REGISTRATION -->
<section id="registration" aria-label="Registration">
<div class="container center" style="flex-direction:column; gap:16px; padding:20px 0">
<h2>Join Our Programs</h2>
<p class="lead" style="margin-bottom:24px">Ready to start your journey? Join as a student or support as a
mentor.</p>
<div class="row" style="gap:20px">
<a class="btn" href="https://tracet2t.github.io/t2t-platform/index.html" target="_blank"
rel="noopener">Register as Student</a>
<a class="btn secondary" href="https://tracet2t.github.io/t2t-platform/add-mentor.html" target="_blank"
rel="noopener">Support as Mentor</a>
</div>
</div>
</section>
<!-- TESTIMONIALS -->
<section id="testimonials" aria-label="Testimonials">
<div class="container">
<h2>Trained with us. Hired by the best.</h2>
<p class="lead">See how alumni turned potential into paychecks.</p>
<div class="quotes">
<div class="quote">
<blockquote>"During the middle of my academic journey, I discovered the T2T program. I applied with
curiosity and it became one of the best decisions I made. Under professionals, I gained experience and
learned how to establish myself. Thanks to T2T, I joined HNB Assurance PLC as an IT Technician."
</blockquote>
<div class="who"><img class="avatar" src="images/P.K.U-Dewaki.jpg" alt="P. K. U. Devaki">
<div><strong>P. K. U. Devaki</strong><br><span class="meta">T2T Batch 1</span></div>
</div>
</div>
<div class="quote">
<blockquote>"The T2T training program is one of the best. The team matched internship roles to our
strengths, gave hands‑on technologies, and we followed Agile Scrum to stay organized and deliver. Thank
you to the whole T2T team for the opportunity."</blockquote>
<div class="who"><img class="avatar" src="images/Sivalingam-Lakshanan.jpg" alt="Sivalingam Lakshanan">
<div><strong>Sivalingam Lakshanan</strong><br><span class="meta">T2T Batch 1</span></div>
</div>
</div>
<div class="quote">
<blockquote>"My training at T2T through TRACE Sri Lanka was eye‑opening. I bridged the gap between academic
learning and real‑world software development. I worked on a logbook and reservation system, improved
backend and database skills, and learned to collaborate with Git and agile workflows."</blockquote>
<div class="who"><img class="avatar" src="images/Shazan-Shazan.jpg" alt="Mohamed Shazan">
<div><strong>Mohamed Shazan</strong><br><span class="meta">T2T Batch 1</span></div>
</div>
</div>
</div>
</div>
</section>
<!-- Events -->
<section id="events" aria-label="Events">
<div class="container">
<h2>T2T Events</h2>
<p class="lead">Interactive workshops designed to equip you with cutting-edge skills for today's competitive job
market.</p>
<div class="grid cols-2" id="events-grid">
<!-- Events will be dynamically injected here -->
</div>
</div>
</section>
<!-- PARTNERS -->
<section id="partners" aria-label="Partners">
<div class="container">
<h2>Our partners in progress</h2>
<p class="lead">Highlighting partners who help shape tomorrow’s talent.</p>
<div class="logos">
<a href="https://trace.lk/" target="_blank" rel="noopener" title="TRACE Sri Lanka - Visit our main website">
<img src="images/logos/trace.png" alt="TRACE Sri Lanka" loading="lazy" />
</a>
<a href="https://www.nagarro.com/" target="_blank" rel="noopener"
title="Nagarro - Global software development company">
<img src="images/logos/nagarro.png" alt="Nagarro" loading="lazy" />
</a>
<a href="https://www.99x.io/" target="_blank" rel="noopener"
title="99x - Leading technology company in Sri Lanka">
<img src="images/logos/99x.png" alt="99x Technology" loading="lazy" />
</a>
<a href="https://www.thinktank.lk/" target="_blank" rel="noopener"
title="ThinkTank - Innovation and technology solutions">
<img src="images/logos/ThinkTank.jpg" alt="ThinkTank" loading="lazy" />
</a>
<a href="https://www.worklenz.com/" target="_blank" rel="noopener"
title="Worklenz - Project management platform">
<img src="images/logos/worklenz.jpg" alt="Worklenz" loading="lazy" />
</a>
<a href="https://www.ou.ac.lk/" target="_blank" rel="noopener" title="Open University of Sri Lanka">
<img src="images/logos/ousl.jpeg" alt="Open University of Sri Lanka" loading="lazy" />
</a>
<a href="https://fct.kln.ac.lk/centres-units/iicfct" target="_blank" rel="noopener"
title="University of Kelaniya - IICFCT">
<img src="images/logos/uok-iicfct.png" alt="University of Kelaniya - IICFCT" loading="lazy" />
</a>
<a href="https://www.ieeeyp.lk/" target="_blank" rel="noopener" title="IEEE Young Professionals Sri Lanka">
<img src="images/logos/ieeeypsl.webp" alt="IEEE Young Professionals Sri Lanka" loading="lazy" />
</a>
<a href="https://colombo.iiba.org/" target="_blank" rel="noopener"
title="IIBA Colombo Chapter - International Institute of Business Analysis">
<img src="images/logos/IIBA-Colombo.png" alt="IIBA Colombo" loading="lazy" />
</a>
<a href="https://isc2colombochapter.lk/" target="_blank" rel="noopener"
title="ISC2 Colombo Sri Lanka Chapter">
<img src="images/logos/isc-chapter-colombo-sri-lanka.png" alt="ISC2 Colombo Sri Lanka Chapter"
loading="lazy" />
</a>
</div>
</div>
</section>
</main>
<footer>
<div class="container">
<div class="footer-content">
<small>© <span id="year"></span> Theory to Trade by TRACE</small>
<div class="footer-social-links">
<a href="https://www.linkedin.com/company/trace-theory-to-trade/" target="_blank" rel="noopener"
aria-label="LinkedIn">
<svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor">
<path
d="M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z" />
</svg>
</a>
<a href="https://www.facebook.com/theory2trade" target="_blank" rel="noopener" aria-label="Facebook">
<svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor">
<path
d="M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z" />
</svg>
</a>
<a href="https://www.instagram.com/theory2trade" target="_blank" rel="noopener" aria-label="Instagram">
<svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor">
<path
d="M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.40s-.644-1.44-1.439-1.44z" />
</svg>
</a>
<a href="https://youtube.com/@tracet2t" target="_blank" rel="noopener" aria-label="YouTube">
<svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor">
<path
d="M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z" />
</svg>
</a>
<a href="https://www.tiktok.com/@t2t445" target="_blank" rel="noopener" aria-label="TikTok">
<svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor">
<path
d="M12.525.02c1.31-.02 2.61-.01 3.91-.02.08 1.53.63 3.09 1.75 4.17 1.12 1.11 2.7 1.62 4.24 1.79v4.03c-1.44-.05-2.89-.35-4.2-.97-.57-.26-1.1-.59-1.62-.93-.01 2.92.01 5.84-.02 8.75-.08 1.4-.54 2.79-1.35 3.94-1.31 1.92-3.58 3.17-5.91 3.21-1.43.08-2.86-.31-4.08-1.03-2.02-1.19-3.44-3.37-3.65-5.71-.02-.5-.03-1-.01-1.49.18-1.9 1.12-3.72 2.58-4.96 1.66-1.44 3.98-2.13 6.15-1.72.02 1.48-.04 2.96-.04 4.44-.99-.32-2.15-.23-3.02.37-.63.41-1.11 1.04-1.36 1.75-.21.51-.15 1.07-.14 1.61.24 1.64 1.82 3.02 3.5 2.87 1.12-.01 2.19-.66 2.77-1.61.19-.33.4-.67.41-1.06.1-1.79.06-3.57.07-5.36.01-4.03-.01-8.05.02-12.07z" />
</svg>
</a>
</div>
</div>
</div>
</footer>
<script>
// Mobile menu toggle
const btn = document.getElementById('menuBtn');
const mobile = document.getElementById('mobileNav');
if (btn) btn.addEventListener('click', () => {
const open = mobile.classList.toggle('hide');
btn.setAttribute('aria-expanded', String(!open));
});
// Footer year
document.getElementById('year').textContent = new Date().getFullYear();
// Smooth scroll for anchor links
document.addEventListener('click', (e) => {
const a = e.target.closest('a[href^="#"]');
if (!a) return;
const id = a.getAttribute('href');
const el = document.querySelector(id);
if (!el) return;
e.preventDefault();
el.scrollIntoView({ behavior: 'smooth', block: 'start' });
});
// Reveal on scroll (progressive)
const observer = new IntersectionObserver((entries) => {
for (const e of entries) { if (e.isIntersecting) { e.target.animate([{ opacity: 0, transform: 'translateY(8px)' }, { opacity: 1, transform: 'none' }], { duration: 400, easing: 'ease-out', fill: 'both' }); observer.unobserve(e.target); } }
}, { threshold: .15 });
document.querySelectorAll('section, .tile, .card').forEach(el => observer.observe(el));
// Carousel functionality
const carousel = document.querySelector('.carousel');
const indicators = document.querySelectorAll('.indicator');
let currentSlide = 0;
let isPaused = false;
let animationInterval;
let manualControl = false;
// Function to update active indicator
function updateIndicators() {
indicators.forEach((indicator, index) => {
indicator.classList.toggle('active', index === currentSlide);
});
}
// Function to update current slide based on animation progress
function updateCurrentSlide() {
if (manualControl || isPaused) return;
const animationDuration = 24000; // 24 seconds
const slideDuration = animationDuration / 6; // 4000ms per slide
const elapsed = Date.now() % animationDuration;
const newSlide = Math.floor(elapsed / slideDuration);
if (newSlide !== currentSlide) {
currentSlide = newSlide;
updateIndicators();
}
}
// Function to jump to specific slide
function goToSlide(slideIndex) {
currentSlide = slideIndex;
const translateValue = -slideIndex * 16.6667;
carousel.style.transform = `translateX(${translateValue}%)`;
carousel.style.animationPlayState = 'paused';
updateIndicators();
manualControl = true;
// Resume animation after 3 seconds
setTimeout(() => {
if (!isPaused) {
carousel.style.animationPlayState = 'running';
manualControl = false;
}
}, 3000);
}
// Add click handlers to indicators
indicators.forEach((indicator, index) => {
indicator.addEventListener('click', () => goToSlide(index));
});
// Pause carousel on hover
const carouselContainer = document.querySelector('.carousel-container');
carouselContainer.addEventListener('mouseenter', () => {
isPaused = true;
carousel.style.animationPlayState = 'paused';
});
carouselContainer.addEventListener('mouseleave', () => {
isPaused = false;
carousel.style.animationPlayState = 'running';
manualControl = false;
});
// Track animation progress to update indicators
animationInterval = setInterval(updateCurrentSlide, 100);
updateIndicators(); // Initialize indicators
// Fetch and render events dynamically
async function loadEvents() {
const eventsGrid = document.getElementById('events-grid');
if (!eventsGrid) return;
try {
const response = await fetch('data/events.json');
if (!response.ok) throw new Error('Failed to fetch events');
const events = await response.json();
eventsGrid.innerHTML = ''; // Clear fallback text if any
events.reverse().forEach(event => {
const article = document.createElement('article');
article.className = 'tile';
let buttonsHtml = '';
event.buttons.forEach(btn => {
if (btn.isButton) {
const titleAttr = btn.title ? ` title="${btn.title}"` : '';
buttonsHtml += ` <button class="${btn.class}"${titleAttr}>${btn.text}</button>\n`;
} else {
const targetAttr = btn.target ? ` target="${btn.target}"` : '';
const relAttr = btn.rel ? ` rel="${btn.rel}"` : '';
buttonsHtml += ` <a class="${btn.class}" href="${btn.link}"${targetAttr}${relAttr}>${btn.text}</a>\n`;
}
});
article.innerHTML = `
<img class="cover" src="${event.image}" alt="${event.title}" loading="lazy" />
<div class="body">
<h3>${event.title}</h3>
<p class="meta"><strong>📅 ${event.date}</strong><br>${event.meta}</p>
<p>${event.description}</p>
<div class="row">
${buttonsHtml} </div>
</div>
`;
eventsGrid.appendChild(article);
});
// Re-observe newly created elements for scroll animation
document.querySelectorAll('#events-grid .tile').forEach(el => observer.observe(el));
} catch (error) {
console.error('Error loading events:', error);
}
}
// Call the function to load events
loadEvents();
</script>
<noscript>This site works without JavaScript. Smooth scrolling requires JavaScript.</noscript>
</body>
</html>