-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
818 lines (715 loc) · 26.2 KB
/
index.html
File metadata and controls
818 lines (715 loc) · 26.2 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
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Hilltop Youth Movement</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Bootstrap 3 -->
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
<!-- Animation libraries -->
<link rel="stylesheet" href="css/animate.css">
<link rel="stylesheet" href="css/animation.css">
<!-- Font Awesome for card icons -->
<link rel="stylesheet" href="css/font-awesome.css">
<!-- Main stylesheet -->
<link rel="stylesheet" href="css/style.css">
<!-- Home-page-specific styles -->
<style>
html {
scroll-behavior: smooth;
}
/* Hero animations */
.home-hero .top_left_cont h1 {
animation: fadeInDown 1s ease-out;
}
/* Hero scroll-down button (same structure as Overview hero arrow) */
.hero_section {
position: relative;
padding-bottom: 80px; /* room for arrow */
}
.hero-scroll-btn {
position: absolute;
left: 50%;
bottom: 20px;
transform: translateX(-50%);
width: 44px;
height: 44px;
border-radius: 50%;
border: 2px solid rgba(255, 255, 255, 0.8);
background: rgba(0, 0, 0, 0.25);
display: flex;
align-items: center;
justify-content: center;
color: #fff;
text-decoration: none;
cursor: pointer;
animation: heroArrowBounce 1.5s infinite;
transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.hero-scroll-btn:hover {
background: rgba(0, 0, 0, 0.45);
border-color: #fff;
transform: translateX(-50%) translateY(2px);
text-decoration: none;
}
.hero-scroll-btn .glyphicon {
font-size: 18px;
}
@keyframes heroArrowBounce {
0%, 20%, 50%, 80%, 100% {
transform: translateX(-50%) translateY(0);
}
40% {
transform: translateX(-50%) translateY(6px);
}
60% {
transform: translateX(-50%) translateY(3px);
}
}
/* Presentation “slide” on Home (same look as Overview presentation section) */
.home-presentation-section {
position: relative;
border-radius: 0;
padding: 60px 0 50px;
margin: 0;
overflow: hidden;
opacity: 0;
transform: translateY(32px);
transition: opacity 0.6s ease, transform 0.6s ease;
min-height: 100vh;
display: flex;
align-items: center;
}
.home-presentation-section.visible {
opacity: 1;
transform: translateY(0);
}
.home-presentation-inner {
position: relative;
z-index: 1;
width: 100%;
max-width: 1170px;
margin: 0 auto;
padding: 0 30px;
}
/* Desert / hilltop gradient */
.home-presentation-section {
background:
linear-gradient(135deg, #fdf3d3 0%, #f5d9a5 32%, #e7b77b 65%, #c98d56 100%);
}
.home-presentation-section::before,
.home-presentation-section::after {
content: "";
position: absolute;
border-radius: 50%;
background: radial-gradient(circle, rgba(255, 255, 255, 0.35), transparent 70%);
opacity: 0.8;
animation: floatOrbs 18s linear infinite;
pointer-events: none;
}
.home-presentation-section::before {
width: 260px;
height: 260px;
top: -90px;
right: -70px;
}
.home-presentation-section::after {
width: 300px;
height: 300px;
bottom: -120px;
left: -90px;
animation-delay: -6s;
}
@keyframes floatOrbs {
0% { transform: translate3d(0, 0, 0); }
50% { transform: translate3d(8px, -12px, 0); }
100% { transform: translate3d(0, 0, 0); }
}
/* Section heading */
.section-heading {
text-align: center;
margin-bottom: 26px;
}
.section-heading h2 {
margin-top: 0;
font-weight: 600;
letter-spacing: 0.05em;
text-transform: uppercase;
font-size: 32px;
}
.section-heading h6 {
margin-top: 8px;
margin-bottom: 0;
font-size: 15px;
}
.home-presentation-section .section-heading h2,
.home-presentation-section .section-heading h6 {
color: #3f2b18;
}
.home-presentation-section .section-heading h6 {
opacity: 0.85;
}
/* Presentation cards */
.presentation-card {
transition: transform 0.25s ease, box-shadow 0.25s ease;
cursor: pointer;
height: 100%;
border-radius: 10px;
background: rgba(255, 255, 255, 0.94);
border: 1px solid rgba(63, 43, 24, 0.08);
color: #3f2b18;
}
.presentation-card .panel-body {
padding: 20px 18px 22px;
}
.presentation-card:hover {
transform: translateY(-6px);
box-shadow: 0 14px 30px rgba(63, 43, 24, 0.35);
}
.presentation-icon {
width: 48px;
height: 48px;
line-height: 48px;
border-radius: 50%;
margin: 0 auto 10px;
background: rgba(201, 141, 86, 0.15);
}
.presentation-icon .fa {
font-size: 22px;
color: #a5612d;
}
.presentation-card h4 {
margin-top: 5px;
margin-bottom: 8px;
font-weight: 600;
}
.presentation-teaser {
font-size: 13px;
color: rgba(63, 43, 24, 0.8);
margin-bottom: 0;
}
/* Overlay / zoomed view */
.presentation-overlay {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.65);
display: none;
align-items: center;
justify-content: center;
z-index: 1050;
padding: 20px;
}
.presentation-modal {
background: #ffffff;
max-width: 900px;
width: 100%;
max-height: 85vh;
overflow-y: auto;
border-radius: 10px;
padding: 32px 32px 26px;
box-shadow: 0 22px 60px rgba(0, 0, 0, 0.5);
position: relative;
animation: presentationZoomIn 0.25s ease-out;
border-top: 4px solid #5c4b8a;
}
.presentation-modal h3 {
margin-top: 0;
margin-bottom: 14px;
font-weight: 600;
}
.presentation-modal p {
font-size: 15px;
line-height: 1.7;
}
.presentation-modal-close {
position: absolute;
top: 10px;
right: 12px;
border: none;
background: transparent;
font-size: 24px;
cursor: pointer;
color: #666;
}
.presentation-modal-close:hover {
color: #000;
}
.modal-open-custom {
overflow: hidden;
}
@keyframes presentationZoomIn {
from {
opacity: 0;
transform: scale(0.9);
}
to {
opacity: 1;
transform: scale(1);
}
}
.presentation-chips {
margin-bottom: 16px;
}
.presentation-chip {
display: inline-block;
padding: 4px 10px;
border-radius: 999px;
background: #f1eefb;
color: #4b3d7a;
font-size: 12px;
font-weight: 600;
margin-right: 6px;
margin-bottom: 6px;
text-transform: uppercase;
letter-spacing: 0.03em;
}
.presentation-section {
margin-bottom: 18px;
}
.presentation-section-title {
font-size: 14px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.05em;
color: #5c4b8a;
margin-bottom: 6px;
}
.presentation-section p {
margin-bottom: 8px;
}
.presentation-list {
padding-left: 18px;
margin-bottom: 6px;
}
.presentation-list li {
margin-bottom: 4px;
}
.presentation-highlight {
background: #f8f5ff;
border-left: 3px solid #5c4b8a;
padding: 10px 12px;
border-radius: 4px;
margin-top: 10px;
margin-bottom: 4px;
font-size: 14px;
}
/* Section nav wrapper + Learn More button under cards */
.section-nav-wrapper {
text-align: center;
margin-top: 24px;
}
.section-nav-btn {
border-radius: 999px;
padding: 8px 18px;
font-size: 13px;
text-transform: uppercase;
letter-spacing: 0.08em;
border-width: 1px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
background: #ffffff;
color: #3f2b18;
border-color: rgba(63, 43, 24, 0.2);
}
.section-nav-btn .fa {
margin-right: 6px;
}
.section-nav-btn:hover {
background: #f8efe3;
color: #3f2b18;
}
/* Responsive tweak */
@media (max-width: 768px) {
.home-presentation-section {
padding: 40px 0 40px;
min-height: 100vh;
}
.home-presentation-inner {
padding: 0 15px;
}
}
</style>
</head>
<body>
<!-- ================= HEADER (fixed, shared) ================= -->
<div id="header_wrapper">
<div class="container">
<div class="header_box">
<!-- Logo (left) -->
<a href="index.html" class="logo">
<img src="img/Hilltop-Youth-Logo.png"
alt="Hilltop Youth Movement Logo">
</a>
<!-- Navigation (right) -->
<nav class="navbar navbar-default" role="navigation">
<div class="navbar-header">
<button type="button"
class="navbar-toggle"
data-toggle="collapse"
data-target="#main-nav">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<div class="collapse navbar-collapse navStyle" id="main-nav">
<ul class="nav navbar-nav">
<li class="active"><a href="index.html">Home</a></li>
<li><a href="overview.html">Overview</a></li>
<li><a href="origins.html">Origins</a></li>
<li><a href="ideology.html">Ideology</a></li>
<li><a href="activities.html">Activities</a></li>
<li><a href="sources.html">Sources</a></li>
</ul>
</div>
</nav>
</div>
</div>
</div>
<!-- ================= HERO / HOME ================= -->
<div class="top_cont_outer home-hero" id="home">
<div class="hero_wrapper">
<div class="container hero_section">
<div class="top_left_cont">
<h1>HILLTOP YOUTH<br> MOVEMENT</h1>
<!-- Down arrow: scrolls to presentation cards -->
<a href="#presentation-section" class="hero-scroll-btn">
<span class="glyphicon glyphicon-chevron-down" aria-hidden="true"></span>
</a>
</div>
</div>
</div>
</div>
<!-- ================= PRESENTATION CARDS SECTION (moved from Overview) ================= -->
<section id="presentation-section" class="home-presentation-section">
<div class="home-presentation-inner">
<div class="section-heading">
<h2>Presentation Guide</h2>
<h6>
Click a card to open a slide-style view of each question for the class presentation.
</h6>
</div>
<div class="row animated fadeInUp" style="margin-bottom: 10px;">
<!-- CARD 1: What the Project Is -->
<div class="col-sm-3">
<div class="panel panel-default text-center presentation-card"
data-presentation-title="What the Project Is">
<div class="panel-body">
<div class="presentation-icon">
<i class="fa fa-lightbulb-o" aria-hidden="true"></i>
</div>
<h4>What the Project Is</h4>
<p class="presentation-teaser">
Topic, research focus, question, and creative website.
</p>
</div>
<div class="presentation-full-content" style="display: none;">
<div class="presentation-chips">
<span class="presentation-chip">Topic</span>
<span class="presentation-chip">Research Focus</span>
<span class="presentation-chip">Question</span>
<span class="presentation-chip">Creative Project</span>
</div>
<div class="presentation-section">
<div class="presentation-section-title">Research Topic</div>
<p>
The Hilltop Youth, a radical Jewish nationalist youth movement based in informal outposts across the West Bank.
</p>
</div>
<div class="presentation-section">
<div class="presentation-section-title">Research Focus</div>
<ul class="presentation-list">
<li>Origins of the movement</li>
<li>Core ideology and theological influences</li>
<li>On-the-ground activities and tactics</li>
<li>Political and religious structures that sustain them</li>
</ul>
</div>
<div class="presentation-section">
<div class="presentation-section-title">Guiding Research Question</div>
<div class="presentation-highlight">
How does the Hilltop Youth movement represent contemporary religious extremism within Judaism, and what political, ideological, and social factors contribute to its persistence and influence in Israeli society?
</div>
</div>
<div class="presentation-section">
<div class="presentation-section-title">Creative Project</div>
<p>
An informative, research-based website that:
</p>
<ul class="presentation-list">
<li>Explains the group’s history, worldview, and actions</li>
<li>Organizes academic findings into accessible sections</li>
<li>Uses visuals and layout to support learning and discussion</li>
</ul>
</div>
</div>
</div>
</div>
<!-- CARD 2: What I Learned -->
<div class="col-sm-3">
<div class="panel panel-default text-center presentation-card"
data-presentation-title="What I Learned">
<div class="panel-body">
<div class="presentation-icon">
<i class="fa fa-book" aria-hidden="true"></i>
</div>
<h4>What I Learned</h4>
<p class="presentation-teaser">
Key insights about origins, ideology, activities, and impact.
</p>
</div>
<div class="presentation-full-content" style="display: none;">
<div class="presentation-chips">
<span class="presentation-chip">Origins</span>
<span class="presentation-chip">Ideology</span>
<span class="presentation-chip">Activities</span>
<span class="presentation-chip">Significance</span>
</div>
<div class="presentation-section">
<div class="presentation-section-title">Origins</div>
<p>
The Hilltop Youth emerged after the Gaza disengagement and intensifying settlement tensions, as young activists who increasingly rejected state authority, formal institutions, and mainstream settler leadership.
</p>
</div>
<div class="presentation-section">
<div class="presentation-section-title">Ideology</div>
<ul class="presentation-list">
<li>Blend of religious Zionism and neo-Kahanist ideas</li>
<li>Strong emphasis on Jewish territorial maximalism</li>
<li>Anti-modern, separatist identity that distances itself from wider Israeli society</li>
</ul>
</div>
<div class="presentation-section">
<div class="presentation-section-title">Activities</div>
<ul class="presentation-list">
<li><em>Price-tag</em> attacks after demolitions or political decisions</li>
<li>Outpost building on hilltops without formal authorization</li>
<li>Confrontations with Palestinians and Israeli authorities</li>
</ul>
</div>
<div class="presentation-section">
<div class="presentation-section-title">Contemporary Significance</div>
<div class="presentation-highlight">
International sanctions, growing media attention, and rising concern about settler extremism show that this youth movement has impacts far beyond its small numbers.
</div>
</div>
</div>
</div>
</div>
<!-- CARD 3: Why It Matters -->
<div class="col-sm-3">
<div class="panel panel-default text-center presentation-card"
data-presentation-title="Why It Matters">
<div class="panel-body">
<div class="presentation-icon">
<i class="fa fa-exclamation-circle" aria-hidden="true"></i>
</div>
<h4>Why It Matters</h4>
<p class="presentation-teaser">
The significance and importance of this research project.
</p>
</div>
<div class="presentation-full-content" style="display: none;">
<div class="presentation-chips">
<span class="presentation-chip">Extremism</span>
<span class="presentation-chip">Youth</span>
<span class="presentation-chip">Global Patterns</span>
</div>
<div class="presentation-section">
<div class="presentation-section-title">Overlooked Extremism</div>
<p>
The project brings attention to forms of Jewish extremism that are often overshadowed by other kinds of terrorism and radicalization in media and public debate.
</p>
</div>
<div class="presentation-section">
<div class="presentation-section-title">Religion & Youth Rebellion</div>
<ul class="presentation-list">
<li>Shows how religious ideas can motivate direct action on the ground</li>
<li>Highlights the role of youth identity, autonomy, and defiance of authority</li>
<li>Illustrates how “fringe” groups can still influence broader conversations</li>
</ul>
</div>
<div class="presentation-section">
<div class="presentation-section-title">From Local Case to Global Lens</div>
<p>
The Hilltop Youth offer a focused case that helps us think about:
</p>
<ul class="presentation-list">
<li>Vigilantism and private violence in contested spaces</li>
<li>How states respond to extremist actors from within their own majority</li>
<li>Patterns that echo in other religious and nationalist movements worldwide</li>
</ul>
</div>
<div class="presentation-section">
<div class="presentation-highlight">
Understanding this movement encourages a more nuanced, comparative view of extremism across different religions, regions, and political contexts.
</div>
</div>
</div>
</div>
</div>
<!-- CARD 4: How It Connects to My Creative Project -->
<div class="col-sm-3">
<div class="panel panel-default text-center presentation-card"
data-presentation-title="How It Connects to My Creative Project">
<div class="panel-body">
<div class="presentation-icon">
<i class="fa fa-desktop" aria-hidden="true"></i>
</div>
<h4>How It Connects to My Creative Project</h4>
<p class="presentation-teaser">
How the website turns research into an informative tool.
</p>
</div>
<div class="presentation-full-content" style="display: none;">
<div class="presentation-chips">
<span class="presentation-chip">Structure</span>
<span class="presentation-chip">Design</span>
<span class="presentation-chip">Audience</span>
</div>
<div class="presentation-section">
<div class="presentation-section-title">Organizing the Research</div>
<p>
The website translates academic research into a clear, guided experience, turning chapters and articles into:
</p>
<ul class="presentation-list">
<li>Overview and context</li>
<li>Origins and historical background</li>
<li>Ideology and theology</li>
<li>Activities and documented incidents</li>
<li>Sources and further reading</li>
</ul>
</div>
<div class="presentation-section">
<div class="presentation-section-title">Visual & Textual Design</div>
<p>
Layout, imagery, and sectioning are chosen to:
</p>
<ul class="presentation-list">
<li>Break down a sensitive topic into manageable pieces</li>
<li>Pair strong visuals with careful, sourced explanation</li>
<li>Encourage critical thinking instead of simple “good vs. bad” narratives</li>
</ul>
</div>
<div class="presentation-section">
<div class="presentation-section-title">From Paper to Public Resource</div>
<div class="presentation-highlight">
The creative project is not just a summary of a research paper—it is an educational tool designed to spark informed conversation among students, educators, and anyone trying to understand this movement more deeply.
</div>
</div>
</div>
</div>
</div>
</div><!-- /.row -->
<!-- Learn More button moved here, under the cards -->
<div class="section-nav-wrapper">
<a href="overview.html" class="btn section-nav-btn">
<i class="fa fa-arrow-right" aria-hidden="true"></i>
Learn More in Overview
</a>
</div>
</div>
</section>
<!-- ============== OVERLAY MODAL FOR PRESENTATION CARDS ============== -->
<div class="presentation-overlay" id="presentation-overlay" aria-hidden="true">
<div class="presentation-modal" role="dialog" aria-modal="true" aria-labelledby="presentation-modal-title">
<button type="button" class="presentation-modal-close" id="presentation-modal-close" aria-label="Close">
×
</button>
<h3 id="presentation-modal-title"></h3>
<div id="presentation-modal-body"></div>
</div>
</div>
<!-- ================= FOOTER ================= -->
<div class="footer_wrapper">
<div class="container">
<div class="footer_bottom">
<span>© 2025 Hilltop Youth Movement Project</span>
</div>
</div>
</div>
<!-- Scripts -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
<script>
document.addEventListener("DOMContentLoaded", function () {
var cards = document.querySelectorAll(".presentation-card");
var overlay = document.getElementById("presentation-overlay");
var modalTitle = document.getElementById("presentation-modal-title");
var modalBody = document.getElementById("presentation-modal-body");
var closeBtn = document.getElementById("presentation-modal-close");
function openModal(title, contentHtml) {
modalTitle.textContent = title;
modalBody.innerHTML = contentHtml;
overlay.style.display = "flex";
document.body.classList.add("modal-open-custom");
overlay.setAttribute("aria-hidden", "false");
}
function closeModal() {
overlay.style.display = "none";
document.body.classList.remove("modal-open-custom");
overlay.setAttribute("aria-hidden", "true");
}
cards.forEach(function (card) {
card.addEventListener("click", function () {
var title = card.getAttribute("data-presentation-title") || "";
var contentEl = card.querySelector(".presentation-full-content");
var html = contentEl ? contentEl.innerHTML : "";
openModal(title, html);
});
});
if (closeBtn) {
closeBtn.addEventListener("click", function (e) {
e.stopPropagation();
closeModal();
});
}
if (overlay) {
overlay.addEventListener("click", function (e) {
if (e.target === overlay) {
closeModal();
}
});
}
document.addEventListener("keydown", function (e) {
if (e.key === "Escape" && overlay.style.display === "flex") {
closeModal();
}
});
// Hero arrow smooth scroll
function scrollToTarget(targetSelector) {
var target = document.querySelector(targetSelector);
if (target) {
target.scrollIntoView({ behavior: "smooth", block: "start" });
}
}
var heroScrollBtn = document.querySelector(".hero-scroll-btn");
if (heroScrollBtn) {
heroScrollBtn.addEventListener("click", function (e) {
e.preventDefault();
var href = heroScrollBtn.getAttribute("href");
if (href) {
scrollToTarget(href);
}
});
}
// Fade-in for presentation section
var presentationSection = document.querySelector(".home-presentation-section");
if ("IntersectionObserver" in window && presentationSection) {
var observer = new IntersectionObserver(function (entries) {
entries.forEach(function (entry) {
if (entry.isIntersecting) {
entry.target.classList.add("visible");
observer.unobserve(entry.target);
}
});
}, { threshold: 0.2 });
observer.observe(presentationSection);
} else if (presentationSection) {
presentationSection.classList.add("visible");
}
});
</script>
</body>
</html>