-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathnew.html
More file actions
641 lines (572 loc) · 20.9 KB
/
new.html
File metadata and controls
641 lines (572 loc) · 20.9 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
<!DOCTYPE html>
<html lang="en" class="no-scroll">
<head>
<title>spruceOS Homepage</title>
<meta property="og:title" content="spruceOS" />
<meta property="og:description" content="SpruceOS custom firmware for the Miyoo A30" />
<meta property="og:image" content="https://github.com/user-attachments/assets/675d57a1-c318-4537-adc6-e7c2151aa175" />
<meta property="og:url" content="https://spruceui.github.io/" />
<meta property="og:type" content="website" />
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="css/styles.css">
<link rel="icon" href=
"img/logo.png"
type="image/x-icon" />
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body, html {
position: relative;
min-height: 100%;
width: 100%;
display: block;
font-family: Arial, sans-serif;
color: #EBDBB2;
background: #282828;
background: -moz-radial-gradient(circle, rgba(0,0,0,1) 0%, rgba(40,40,40,1) 35%, rgba(0,0,0,1) 100%);
background: -webkit-radial-gradient(circle, rgba(0,0,0,1) 0%, rgba(40,40,40,1) 35%, rgba(0,0,0,1) 100%);
background: radial-gradient(circle, rgba(0,0,0,1) 0%, rgba(40,40,40,1) 35%, rgba(0,0,0,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000",endColorstr="#000000",GradientType=1);
overflow-x: hidden;
scroll-behavior: smooth;
}
html.no-scroll,
body.no-scroll {
overflow: hidden;
}
.page_title {
font-size: 50px;
text-align: center;
position: relative;
margin-top:3.69%
}
.additional-content {
margin-top: 1%;
position: relative;
text-align: center;
font-size: 18px;
}
.a30-row {
position: relative;
display: flex;
justify-content: center;
align-items: center;
width: min(92vw, 1100px);
margin: 4% auto 0;
padding: 0 1.5rem;
}
.a30-container {
position: relative;
width: 100%;
}
.a30_bg{
position:absolute;
inset: 18% 14%;
border-radius: 12px;
background-color:#1d1d1d;
filter: blur(20px);
opacity: 0.5;
z-index: 0;
}
.a30_hardware{
display:block;
width:100%;
height:auto;
position: relative;
z-index: 1;
}
.a30-display {
position:absolute;
top: 13.7%;
left: 27.8%;
width: 44.8%;
height: 74.3%;
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: nowrap;
gap: clamp(8px, 1.4vw, 18px);
padding: clamp(10px, 2vw, 26px);
z-index: 2;
}
.a30-display::before {
content: "";
position: absolute;
inset: 0;
border-radius: 8px;
pointer-events: none; /* Makes sure that content beneath is clickable */
background: repeating-linear-gradient(
to bottom,
rgba(0, 0, 0, 0.2),
rgba(0, 0, 0, 0.2) 1px,
transparent 1px,
transparent 3px
);
z-index: 0; /* effect sits beneath interactive elements */
opacity: 0.369; /* fix transparency */
}
.a30-display > * {
position: relative;
z-index: 1;
}
.button, .icon-button {
flex: 1 1 25%;
min-width: 0;
cursor: pointer;
box-sizing: border-box;
text-decoration: none;
color: #b0a89f;
background: transparent;
border: none;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 0;
gap: 8px;
transition: transform 0.2s ease, color 0.2s ease;
}
.button:hover, .icon-button:hover {
color: #EBDBB2; /* color on hover */
transform: translateY(-2px);
}
.spruceLogo{
position:absolute;
opacity: 0.3;
width: 9%;
min-width: 32px;
top: 8%;
left: 6%;
}
.logo-below {
position: absolute;
display: block;
margin: 0 auto; /* center image */
width: 9%; /* fix image dimension */
bottom: 3.69%;
left:3.69%;
opacity:0.369;
}
.github-icon-right {
position: absolute;
bottom: 3.69%;
right: 3.69%;
width: 8%;
opacity: 0.369;
transition: opacity 0.3s ease;
}
.github-icon-right:hover {
opacity: 0.77;
}
.github-icon-right svg {
width: 100%;
height: auto;
fill: #ffffff;
}
.learn-more-button {
background: #282828;
border-radius: 3.69px;
opacity:0.639;
position: absolute;
bottom: 3.69%;
left: 50%;
transform: translateX(-50%);
font-size: 18px;
color: #EBDBB2;
text-decoration: none;
padding: 2px;
border: 1px solid rgba(235, 219, 178, 0.2);
padding: 6px 12px;
cursor: pointer;
transition: opacity 0.3s ease, border-color 0.3s ease;
}
.hero {
position: relative;
min-height: 100vh;
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-start;
padding-bottom: 110px;
padding-left: clamp(16px, 4vw, 48px);
padding-right: clamp(16px, 4vw, 48px);
}
.learn-more-button:hover {
opacity: 0.9;
border-color: rgba(235, 219, 178, 0.55);
}
.learn-more-section {
width: 100%;
position: relative;
background: radial-gradient(circle at 20% 20%, rgba(95, 71, 35, 0.4), transparent 45%),
radial-gradient(circle at 80% 0%, rgba(86, 114, 64, 0.35), transparent 55%),
#0f0f0f;
overflow: hidden;
padding: 5rem 0;
}
.learn-more-section::before {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(120deg, rgba(255,255,255,0.05) 0%, transparent 30%, transparent 70%, rgba(255,255,255,0.05) 100%);
opacity: 0.4;
pointer-events: none;
}
.learn-more-wrapper {
width: min(95vw, 1100px);
margin: 0 auto;
display: flex;
flex-direction: column;
gap: clamp(24px, 3vw, 48px);
}
.learn-more-wrapper h2 {
font-size: clamp(32px, 4vw, 48px);
text-align: center;
}
.lead-text {
font-size: clamp(16px, 2vw, 20px);
text-align: center;
line-height: 1.6;
color: #d5c9b8;
}
.learn-more-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
gap: clamp(18px, 3vw, 32px);
width: 100%;
}
.learn-card {
background: rgba(12, 12, 12, 0.45);
border: 1px solid rgba(235, 219, 178, 0.16);
border-radius: 28px;
padding: clamp(22px, 3vw, 32px);
box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
backdrop-filter: blur(14px);
position: relative;
overflow: hidden;
}
.learn-card h3 {
font-size: clamp(20px, 2.4vw, 26px);
margin-bottom: 6px;
}
.learn-card p {
font-size: clamp(14px, 1.6vw, 17px);
line-height: 1.7;
color: #c8bbab;
margin-bottom: 12px;
}
.learn-card::before {
content: "";
position: absolute;
inset: 0;
border-radius: inherit;
border: 1px solid rgba(255, 255, 255, 0.05);
opacity: 0.6;
pointer-events: none;
}
.card-icon {
width: 54px;
height: 54px;
border-radius: 16px;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 18px;
background: linear-gradient(135deg, rgba(235, 219, 178, 0.35), rgba(235, 219, 178, 0.05));
box-shadow: inset 0 0 20px rgba(255,255,255,0.08), 0 10px 25px rgba(0,0,0,0.45);
}
.join-saplings {
text-align: center;
border: 1px solid rgba(235, 219, 178, 0.2);
border-radius: 32px;
padding: clamp(32px, 5vw, 54px);
background: rgba(0, 0, 0, 0.55);
box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
backdrop-filter: blur(16px);
}
.join-saplings h2 {
font-size: clamp(28px, 3vw, 42px);
margin-bottom: 16px;
}
.join-saplings p {
font-size: clamp(15px, 2vw, 18px);
line-height: 1.7;
color: #d5c9b8;
}
.join-saplings a {
color: #9ec07c;
text-decoration: underline;
}
.button svg, .icon-button svg {
width: clamp(42px, 4.6vw, 64px);
height: clamp(42px, 4.6vw, 64px);
}
.button.clicked svg {
fill: currentColor;
}
.button p, .icon-button p {
font-size: clamp(11px, 1.2vw, 15px);
letter-spacing: 0.5px;
}
@media only screen and (hover: none) and (pointer: coarse) and (min-width: 800px) {
.a30-row {
width: min(96vw, 860px);
}
}
@media only screen and (max-width: 768px){
.page_title{
margin-top: 16%;
}
.additional-content{
font-size: 16px;
}
.a30-row {
width: 160vw;
margin-top: 12%;
margin-left: -30vw;
padding: 0;
}
.a30-container{
overflow: visible;
}
.a30-display{
padding: clamp(18px, 5vw, 36px);
gap: clamp(12px, 4vw, 28px);
}
.button svg, .icon-button svg {
width: clamp(52px, 12vw, 78px);
height: clamp(52px, 12vw, 78px);
}
.button p, .icon-button p {
font-size: clamp(11px, 2.6vw, 15px);
}
}
@media only screen and (max-width: 640px){
.hero {
min-height: 100vh;
padding-top: 60px;
padding-bottom: 120px;
}
.learn-more-wrapper {
gap: 36px;
padding-left: 10px;
padding-right: 10px;
}
.learn-more-grid {
display: flex;
flex-direction: column;
gap: 28px;
}
.learn-card {
border-radius: 30px;
padding: 26px;
border-width: 1.5px;
box-shadow: 0 35px 65px rgba(0,0,0,0.55);
}
.learn-card h3 {
font-size: 22px;
}
.learn-card p {
font-size: 15px;
line-height: 1.8;
}
.card-icon {
width: 60px;
height: 60px;
border-radius: 20px;
}
.join-saplings {
border-radius: 36px;
padding: 32px 28px 40px;
}
}
/* scrolling animation (right to left) */
.slide-in-right {
transform: translateX(100%); /* initially moved at the right */
opacity: 0;
animation: slideInRight 0.5s forwards;
}
@keyframes slideInRight {
to {
transform: translateX(0); /* resets original position */
opacity: 1;
}
}
/* scrolling animation (top to bottom) */
.slide-in-down {
transform: translateY(-100%); /* initially moved to the top */
opacity: 0;
animation: slideInDown 0.5s forwards;
}
@keyframes slideInDown {
to {
transform: translateY(0); /* resets original position */
opacity: 1;
}
}
/* scrolling animation (bottom to top) */
.slide-in-up {
transform: translateY(100%); /* initially moved to the bottom */
opacity: 0;
animation: slideInUp 0.5s forwards;
}
@keyframes slideInUp {
to {
transform: translateY(0); /* resets original position */
opacity: 1;
}
}
</style>
</head>
<body class="no-scroll">
<div class="hero">
<h1 class="page_title hidden slide-in-down">spruceOS</h1>
<div class="additional-content hidden slide-in-down">
<p>Make the most out of your Miyoo A30</p>
</div>
<div class="a30-row">
<div class="a30-container">
<div class="a30_bg"></div>
<img src="img/miyooa30.png" class="a30_hardware"></img>
<div class="a30-display">
<img class="spruceLogo" src="img/logo.png">
<a href="https://github.com/spruceUI/spruceOS/releases/latest" class="button hidden slide-in-up" id="downloadButton">
<div id="downloadIcon">
<!-- download icon -->
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24">
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M12 13V4M7 14H5a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1h-2m-1-5-4 5-4-5m9 8h.01"/>
</svg>
</div>
<p>Download</p>
</a>
<a href="https://github.com/spruceUI/Ports-and-Free-Games" class="button hidden slide-in-up" id="gamesButton">
<div id="gamesIcon">
<!-- games icon -->
<svg class="w-[48px] h-[48px] text-gray-800 dark:text-white" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
<path stroke="currentColor" stroke-linejoin="round" stroke-width="1.5" d="M4 5a1 1 0 0 1 1-1h11.586a1 1 0 0 1 .707.293l2.414 2.414a1 1 0 0 1 .293.707V19a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V5Z"/>
<path stroke="currentColor" stroke-linejoin="round" stroke-width="1.5" d="M8 4h8v4H8V4Zm7 10a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"/>
</svg>
</div>
<p>Games</p>
</a>
<a href="https://github.com/spruceUI/spruceOS/wiki" class="icon-button hidden slide-in-up" id="wikiButton">
<div id="wikiIcon">
<!-- wiki icon -->
<svg class="w-[48px] h-[48px] text-gray-800 dark:text-white" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M12 6.03v13m0-13c-2.819-.831-4.715-1.076-8.029-1.023A.99.99 0 0 0 3 6v11c0 .563.466 1.014 1.03 1.007 3.122-.043 5.018.212 7.97 1.023m0-13c2.819-.831 4.715-1.076 8.029-1.023A.99.99 0 0 1 21 6v11c0 .563-.466 1.014-1.03 1.007-3.122-.043-5.018.212-7.97 1.023"/>
</svg>
</div>
<p>Wiki</p>
</a>
<a href="https://github.com/spruceUI/spruceOS/" class="icon-button hidden slide-in-up" id="faqButton">
<div id="faqIcon">
<!-- GitHub icon -->
<svg class="w-[48px] h-[48px] text-gray-800 dark:text-white" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M15 17h3a3 3 0 0 0 0-6h-.025a5.56 5.56 0 0 0 .025-.5A5.5 5.5 0 0 0 7.207 9.021C7.137 9.017 7.071 9 7 9a4 4 0 1 0 0 8h2.167M12 19v-9m0 0-2 2m2-2 2 2"/>
</svg>
</div>
<p>Connect</p>
</a>
</div>
</div>
</div>
<img src="img/spruce_logo.png" class="logo-below" alt="Spruce Logo">
<a href="#" class="learn-more-button">▼ Learn More ▼</a>
<a href="https://github.com/spruceUI/spruceOS" class="github-icon-right">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24">
<path fill-rule="evenodd" d="M12 2C6.477 2 2 6.477 2 12a10.001 10.001 0 006.838 9.481c.5.092.682-.217.682-.482 0-.237-.009-.867-.014-1.701-2.782.605-3.369-1.343-3.369-1.343-.454-1.154-1.11-1.46-1.11-1.46-.907-.62.069-.608.069-.608 1.002.07 1.53 1.029 1.53 1.029.891 1.528 2.34 1.087 2.91.832.091-.646.35-1.088.636-1.338-2.22-.253-4.555-1.112-4.555-4.951 0-1.093.39-1.988 1.03-2.686-.103-.253-.446-1.272.098-2.65 0 0 .84-.27 2.75 1.025A9.56 9.56 0 0112 6.845c.853.004 1.71.115 2.512.337 1.91-1.295 2.75-1.025 2.75-1.025.544 1.378.202 2.397.1 2.65.64.698 1.03 1.593 1.03 2.686 0 3.847-2.337 4.695-4.565 4.942.36.31.68.923.68 1.859 0 1.342-.013 2.425-.013 2.754 0 .267.18.578.688.48A10.001 10.001 0 0022 12c0-5.523-4.477-10-10-10z"/>
</svg>
</a>
</div>
<main id="learn-more-content" class="learn-more-section">
<div class="learn-more-wrapper">
<h2>What is spruceUl</h2>
<p class="lead-text">SpruceUI is our pledge to craft the most trusted custom firmware experience, taking every handheld from curiosity to legend with obsessive tuning, long-haul stability, and the kind of detail work that keeps collectors talking.</p>
<div class="learn-more-grid">
<article class="learn-card">
<div class="card-icon">
<svg width="28" height="28" viewBox="0 0 24 24" fill="none" stroke="#EBDBB2" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
<rect x="4" y="4" width="16" height="10" rx="2"></rect>
<path d="M8 18h8M10 21h4"></path>
</svg>
</div>
<h3>Miyoo Core Builds</h3>
<p>SpruceUI began by rewiring the Miyoo a30 firmware from the boot stack up, blending official stability with Miyoo a30 custom firmware flourishes so a pocket console feels intentionally crafted rather than hastily modded, even when you drop a fresh Miyoo a30 cfw profile on top.</p>
<p>Long-form release notes walk through each Miyoo a30 firmware download, highlight when a Miyoo a30 update firmware step is optional, and flag any Miyoo custom firmware edge cases so you can script upgrades once and share them across the entire shelf without repeating work.</p>
</article>
<article class="learn-card">
<div class="card-icon">
<svg width="30" height="30" viewBox="0 0 24 24" fill="none" stroke="#EBDBB2" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
<path d="M7 3h10l4 5v9a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4V8l4-5z"></path>
<path d="M12 11v6m0 0-3-3m3 3 3-3"></path>
</svg>
</div>
<h3>Miyoo Flip Lab</h3>
<p>The lab side obsesses over every Miyoo flip os quirk, moving from the playful Miyoo flip cow persona to latency-friendly Miyoo flip firmware tuning so docked play, tabletop play, and lap play all feel equally polished.</p>
<p>Weekly build notes outline what changed inside each Miyoo flip custom firmware sprint, link the preferred Miyoo flip firmware download mirrors, and explain when a Miyoo flip firmware update is worth a clean flash versus a quick patch.</p>
<p>Forward-looking branches keep tabs on Miyoo flip v2 firmware drops, the pocket-sized Miyoo mini flip v2 custom firmware scene, and the benchmarking data that crowns the best firmware for Miyoo flip whenever a new challenger appears.</p>
</article>
<article class="learn-card">
<div class="card-icon">
<svg width="28" height="28" viewBox="0 0 24 24" fill="none" stroke="#EBDBB2" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
<path d="M12 3l8 4v6c0 4-3 7-8 8-5-1-8-4-8-8V7l8-4z"></path>
<path d="M9 10l3 3 4-4"></path>
</svg>
</div>
<h3>Trimui Tribe</h3>
<p>Trimui players get the same finish: Trimui smart pro firmware releases balance the stock feel with thoughtful touches, while dedicated trims of Trimui smart pro custom firmware keep theme artists and speed runners operating from the same polished base.</p>
<p>Deep-dive changelogs cover every Trimui smart pro firmware update, list Trimui custom firmware load-outs by playstyle, and include recovery kits so a risky Trimui brick firmware experiment or Trimui brick custom firmware theme can be rolled back with a calm Trimui brick firmware update checklist.</p>
</article>
</div>
<section class="join-saplings">
<h2>Join the Saplings!</h2>
<p>This is our little love message: every download is a new tree ring, and every new friend makes the forest louder. Jump into the <a href="https://discord.gg/28pBG78w9" target="_blank" rel="noopener">Discord grove</a> to swap builds, trade stickers, and cheer on fellow modders.</p>
</section>
</div>
</main>
<script>
function toggleIcon(buttonId, iconId) {
const button = document.getElementById(buttonId);
const iconContainer = document.getElementById(iconId);
const isClicked = button.classList.toggle('clicked');
if (iconId === 'wikiIcon') {
iconContainer.innerHTML = isClicked ?
`<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M11 4.717c-2.286-.58-4.16-.756-7.045-.71A1.99 1.99 0 0 0 2 6v11c0 1.133.934 2.022 2.044 2.007..."/></svg>` :
`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 6.03v13..."/></svg>`;
}
}
if ('scrollRestoration' in history) {
history.scrollRestoration = 'manual';
}
document.addEventListener('DOMContentLoaded', () => {
window.scrollTo(0, 0);
const elements = document.querySelectorAll('.hidden');
// add animation classes
elements.forEach((element, index) => {
setTimeout(() => {
element.classList.remove('hidden');
element.classList.add(element.classList.contains('slide-in-right') ? 'slide-in-right' : 'slide-in-down');
}, index * 200); // add increasing delay for each element
});
const learnMoreButton = document.querySelector('.learn-more-button');
const learnMoreSection = document.getElementById('learn-more-content');
const htmlElement = document.documentElement;
if (learnMoreButton && learnMoreSection) {
learnMoreButton.addEventListener('click', (event) => {
event.preventDefault();
document.body.classList.remove('no-scroll');
htmlElement.classList.remove('no-scroll');
requestAnimationFrame(() => {
learnMoreSection.scrollIntoView({ behavior: 'smooth', block: 'start' });
});
});
}
});
</script>
</body>
</html>