Repository navigation
Expand file tree
/
Copy pathbash.html
More file actions
688 lines (636 loc) · 35.5 KB
/
Copy pathbash.html
File metadata and controls
688 lines (636 loc) · 35.5 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
<!DOCTYPE html>
<html lang='en'>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Bash @ the Beach | FIRST LEGO League | 236 TechnoTicks</title>
<meta name="description" content="Bash @ the Beach is a FIRST LEGO League event hosted by FRC Team 236, the TechnoTicks, where younger students learn robotics.">
<link rel="icon" type="image/x-icon" href="favicon.ico">
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');
body {
font-family: 'Roboto', sans-serif;
background-color: #f0f4f8;
}
.gradient-bg {
background: linear-gradient(135deg, #8ca7fa 0%, #5a7df5 100%);
}
.nav-btn {
transition: all 0.3s ease;
}
.nav-btn:hover {
transform: translateY(-2px);
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.footer-icon {
transition: all 0.3s ease;
}
.footer-icon:hover {
transform: scale(1.1);
}
.robot-slideshow {
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
border-radius: 0.5rem;
}
.header-banner {
max-height: 180px;
object-fit: contain;
border-radius: 24px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
transition: all 0.3s ease;
cursor: pointer;
}
.header-banner:hover {
transform: scale(1.02);
box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}
.disney-border {
position: relative;
overflow: hidden;
}
.disney-border::after {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
border: 4px solid rgba(255, 255, 255, 0.3);
border-radius: 24px;
pointer-events: none;
}
.pulse {
animation: pulse 2s infinite;
}
@keyframes pulse {
0% {
transform: scale(1);
}
50% {
transform: scale(1.05);
}
100% {
transform: scale(1);
}
}
/* ---------------- Theme base (shared with index.html) ---------------- */
body {
margin: 0;
min-height: 100vh;
transition: background 0.8s ease, color 0.6s ease;
}
/* ---------------- EASY READ THEME ---------------- */
body.theme-easyRead {
background: linear-gradient(180deg, #8ca7fa 0%, #e6eef9 50%, #f0f4f8 100%);
color: #222;
}
body.theme-easyRead header.gradient-bg {
background: linear-gradient(135deg, #8ca7fa 0%, #5a7df5 100%);
color: #fff;
backdrop-filter: none;
}
body.theme-easyRead nav,
body.theme-easyRead footer,
body.theme-easyRead .robot-slideshow {
background: #fff;
color: #111;
backdrop-filter: none;
border-radius: 0.5rem;
}
/* ---------------- COOL LOOK THEME ---------------- */
body.theme-coolLook {
background: #0a0a1a;
background-image:
radial-gradient(circle at 20% 30%, rgba(128, 0, 255, 0.38), transparent 50%),
radial-gradient(circle at 80% 20%, rgba(0, 0, 255, 0.32), transparent 50%),
radial-gradient(circle at 70% 80%, rgba(255, 0, 255, 0.22), transparent 50%),
radial-gradient(circle at 30% 70%, rgba(0, 0, 128, 0.28), transparent 50%);
background-blend-mode: screen;
background-attachment: fixed;
color: #fff;
animation: fadeInBg 2s ease forwards, moveBlobs 60s ease-in-out infinite alternate;
}
body.theme-coolLook header.gradient-bg {
background: rgba(20, 20, 60, 0.85);
backdrop-filter: blur(6px);
color: #fff;
}
body.theme-coolLook nav {
background: rgba(10, 10, 20, 0.55);
border-radius: 12px;
padding: 1rem;
margin-top: 2rem;
backdrop-filter: blur(6px);
}
body.theme-coolLook .robot-slideshow {
background: rgba(15, 15, 30, 0.75);
backdrop-filter: blur(4px);
padding: 1rem;
border-radius: 0.75rem;
}
body.theme-coolLook footer {
background: rgba(20, 20, 40, 0.85);
backdrop-filter: blur(8px);
}
.gradient-bg {
background: linear-gradient(135deg, #8ca7fa 0%, #5a7df5 100%);
}
@keyframes fadeInBg {
from { opacity: 0; }
to { opacity: 1; }
}
@keyframes moveBlobs {
0% { background-position: 20% 30%, 80% 20%, 70% 80%, 30% 70%; }
50% { background-position: 22% 32%, 78% 22%, 68% 78%, 32% 68%; }
100% { background-position: 20% 30%, 80% 20%, 70% 80%, 30% 70%; }
}
/* ---------------- Toggle button ---------------- */
.theme-toggle {
position: fixed;
top: 1rem;
right: 1rem;
padding: 0.5rem 0.9rem;
border: none;
border-radius: 8px;
cursor: pointer;
background: rgba(0,0,0,0.6);
color: #fff;
z-index: 999;
font-weight: 700;
backdrop-filter: blur(4px);
}
@media (max-width: 480px) {
.theme-toggle { top: 0.6rem; right: 0.6rem; padding: 0.45rem 0.7rem; font-size: 0.9rem; }
}
/* ======================================================
NAV: sits inside the banner, then pops out into a floating bar on scroll
(the banner itself never floats)
====================================================== */
/* a backdrop-filter on the header would trap the floating nav inside it */
header.gradient-bg { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.site-nav-slot { margin-top: 1.25rem; }
/* in the banner: no panel of its own */
body.theme-coolLook nav.site-nav,
body.theme-easyRead nav.site-nav {
background: transparent; padding: 0; margin: 0; border-radius: 0; border: 0; box-shadow: none; color: inherit;
backdrop-filter: none; -webkit-backdrop-filter: none;
}
/* the page you're on */
.nav-btn.nav-current {
background-image: linear-gradient(135deg, #5a7df5, #8b5cf6);
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}
/* floating bar (JS adds .is-stuck once the nav scrolls past the top) */
body.theme-coolLook nav.site-nav.is-stuck,
body.theme-easyRead nav.site-nav.is-stuck {
position: fixed; top: .6rem; left: 50%; z-index: 900; box-sizing: border-box;
width: calc(100% - 1.5rem); padding: .45rem 4rem; border-radius: 1rem;
backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
transform: translateX(-50%);
animation: navPop .35s cubic-bezier(.2, .8, .2, 1) both;
}
body.theme-coolLook nav.site-nav.is-stuck {
background: rgba(10, 10, 26, 0.84); border: 1px solid rgba(255, 255, 255, 0.14);
box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.75);
}
body.theme-easyRead nav.site-nav.is-stuck {
background: rgba(255, 255, 255, 0.94); border: 1px solid rgba(30, 64, 175, 0.18);
box-shadow: 0 12px 26px -14px rgba(30, 64, 175, 0.45);
}
nav.site-nav.is-stuck .nav-row {
flex-wrap: nowrap; gap: .4rem; overflow-x: auto; scrollbar-width: none;
justify-content: flex-start; justify-content: safe center;
}
nav.site-nav.is-stuck .nav-row::-webkit-scrollbar { display: none; }
nav.site-nav.is-stuck .nav-btn {
flex: 0 0 auto; padding: .45rem .85rem; font-size: .88rem; white-space: nowrap; border-radius: .6rem;
}
nav.site-nav.is-stuck .nav-btn i { margin-right: .4rem; }
@media (min-width: 1300px) {
body.theme-coolLook nav.site-nav.is-stuck,
body.theme-easyRead nav.site-nav.is-stuck { width: 72rem; padding: .45rem .6rem; }
}
@media (max-width: 640px) {
body.theme-coolLook nav.site-nav.is-stuck,
body.theme-easyRead nav.site-nav.is-stuck { padding: .4rem 3.5rem .4rem .5rem; }
nav.site-nav.is-stuck .nav-btn { padding: .4rem .7rem; font-size: .82rem; }
}
@keyframes navPop {
from { opacity: 0; transform: translate(-50%, -14px) scale(.98); }
to { opacity: 1; transform: translate(-50%, 0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
body.theme-coolLook nav.site-nav.is-stuck,
body.theme-easyRead nav.site-nav.is-stuck { animation: none; }
}
/* ======================================================
Theme toggle: a round dark / light mode icon button
====================================================== */
body .theme-toggle {
top: .85rem; right: 1rem; width: 2.75rem; height: 2.75rem; padding: 0; box-sizing: border-box;
display: inline-flex; align-items: center; justify-content: center;
border-radius: 50%; font-size: 1.1rem; line-height: 1; cursor: pointer; color: #fff;
background: rgba(10, 10, 26, 0.78); border: 1px solid rgba(255, 255, 255, 0.28);
box-shadow: 0 6px 16px -6px rgba(0, 0, 0, 0.6);
backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
transition: transform .2s ease, background .2s ease;
}
body .theme-toggle:hover { transform: scale(1.08); }
body .theme-toggle:active { transform: scale(.94); }
body .theme-toggle:focus-visible { outline: 2px solid #8ca7fa; outline-offset: 2px; }
body.theme-coolLook .theme-toggle i { color: #fcd34d; } /* sun */
body.theme-easyRead .theme-toggle { background: #1e40af; border-color: rgba(255, 255, 255, 0.55); }
body.theme-easyRead .theme-toggle:hover { background: #1d4ed8; }
body.theme-easyRead .theme-toggle i { color: #fff; } /* moon */
@media (max-width: 480px) {
body .theme-toggle { top: .88rem; right: 1rem; width: 2.5rem; height: 2.5rem; font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) { body .theme-toggle { transition: none; } }
/* ======================================================
Bash @ the Beach (FLL) page
====================================================== */
.bb-main { display: grid; gap: 1.5rem; max-width: 72rem; }
.bb-card { border-radius: 1rem; padding: 1.75rem; }
body.theme-coolLook .bb-card { background: rgba(15, 15, 30, 0.72); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
body.theme-easyRead .bb-card { background: #fff; color: #111; border: 1px solid rgba(30,64,175,.14); box-shadow: 0 10px 24px -16px rgba(30,64,175,.45); }
.bb-hero { text-align: center; }
.bb-banner { display: block; width: 100%; max-width: 40rem; height: auto; margin: 0 auto 1.5rem; border-radius: 1rem; box-shadow: 0 10px 24px -14px rgba(0,0,0,.6); }
.bb-eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .8; margin-bottom: .4rem; }
.bb-h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); font-weight: 700; line-height: 1.1; }
.bb-tag { display: inline-block; margin: .75rem 0 1rem; padding: .35rem .9rem; border-radius: 999px; font-weight: 700; color: #fff; background-image: linear-gradient(135deg, #5a7df5, #8b5cf6); }
.bb-lead { font-size: 1.1rem; line-height: 1.7; max-width: 46rem; margin: 0 auto; }
.bb-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: 1.25rem; }
.bb-pill { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .85rem; border-radius: .7rem; font-size: .92rem; font-weight: 500; }
body.theme-coolLook .bb-pill { background: rgba(140,167,250,.14); border: 1px solid rgba(140,167,250,.3); }
body.theme-easyRead .bb-pill { background: #eef2ff; border: 1px solid #c7d2fe; color: #1e3a8a; }
.bb-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.bb-h2 { font-size: 1.3rem; font-weight: 700; margin-bottom: .5rem; display: flex; align-items: center; gap: .5rem; }
.bb-h2-lg { font-size: clamp(1.5rem, 4vw, 2rem); }
.bb-info p { line-height: 1.6; margin-bottom: 1rem; }
.bb-btn { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem 1rem; border-radius: .6rem; font-weight: 500; color: #fff; background: #1e40af; transition: transform .2s ease, background .2s ease; }
.bb-btn:hover { background: #1d4ed8; transform: translateY(-2px); }
.bb-sub { opacity: .85; margin-bottom: 1.25rem; }
.bb-gallery { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); }
.bb-tile { position: relative; aspect-ratio: 4 / 3; border-radius: .8rem; overflow: hidden; padding: 0; border: 0; cursor: zoom-in; background: rgba(140,167,250,.15); }
.bb-tile img, .bb-tile video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.bb-tile:hover img, .bb-tile:hover video { transform: scale(1.05); }
.bb-tile:focus-visible { outline: 3px solid #8ca7fa; outline-offset: 2px; }
.bb-tile .bb-tile-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem .7rem .5rem; font-size: .85rem; text-align: left; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.7)); }
.bb-tile .bb-play { position: absolute; top: .5rem; right: .5rem; width: 2rem; height: 2rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; background: rgba(0,0,0,.55); font-size: .8rem; }
.bb-ph { aspect-ratio: 4 / 3; border-radius: .8rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; text-align: center; padding: 1rem; font-size: .9rem; border: 2px dashed rgba(140,167,250,.5); opacity: .8; }
.bb-ph i { font-size: 1.8rem; opacity: .7; }
.bb-credit { margin-top: .75rem; font-size: .8rem; opacity: .7; text-align: center; }
.bb-more { margin-top: 1.25rem; text-align: center; }
.bb-more a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.bb-map { padding: .5rem; overflow: hidden; }
.bb-map iframe { width: 100%; height: 22rem; border: 0; border-radius: .75rem; display: block; }
/* lightbox */
.bb-lb { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; background: rgba(5,5,15,.92); padding: 1rem; }
.bb-lb[hidden] { display: none; }
.bb-lb-fig { max-width: min(92vw, 70rem); max-height: 88vh; display: flex; flex-direction: column; align-items: center; gap: .6rem; margin: 0; }
.bb-lb-media img, .bb-lb-media video { max-width: 100%; max-height: 80vh; border-radius: .6rem; display: block; }
.bb-lb-cap { color: #fff; font-size: .95rem; text-align: center; }
.bb-lb-btn { position: absolute; width: 2.8rem; height: 2.8rem; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); color: #fff; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; cursor: pointer; }
.bb-lb-btn:hover { background: rgba(255,255,255,.22); }
.bb-lb-close { top: 1rem; right: 1rem; }
.bb-lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.bb-lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
.bb-card { padding: 1.25rem; }
.bb-gallery { grid-template-columns: repeat(2, 1fr); gap: .5rem; }
.bb-map iframe { height: 16rem; }
.bb-lb-prev, .bb-lb-next { top: auto; bottom: 1rem; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .bb-tile img, .bb-tile video, .bb-btn { transition: none; } }
</style>
<link rel="stylesheet" href="site-bar.css">
</head>
<body>
<!-- THEME TOGGLE BUTTON -->
<!-- Top bar: styles in site-bar.css, collapse-on-scroll in site-bar.js -->
<header class="site-bar">
<div class="site-bar-inner">
<a class="site-logo" href="https://team236.github.io/" aria-label="Team 236 TechnoTicks home"><img src="Logo.png" alt="Team 236 TechnoTicks, Lyme-Old Lyme and East Lyme High Schools" width="524" height="195"></a>
<nav class="site-bar-nav" aria-label="Main">
<a class="site-bar-link" href="https://team236.github.io/">Home</a>
<a class="site-bar-link" href="https://team236.github.io/about_us">About</a>
<a class="site-bar-link" href="https://team236.github.io/New_members">New Members</a>
<a class="site-bar-link" href="https://team236.github.io/Robot_archive">Robots</a>
<a class="site-bar-link nav-current" href="https://team236.github.io/bash" aria-current="page">Bash @ the Beach</a>
<a class="site-bar-link" href="https://team236.github.io/Links">Links</a>
<a class="site-bar-link" href="https://team236.github.io/Contact_Us">Contact</a>
</nav>
<button class="theme-toggle" type="button" aria-label="Switch to light mode"><i class="fas fa-sun" aria-hidden="true"></i></button>
</div>
</header>
<div class="site-bar-spacer" aria-hidden="true"></div>
<!-- Main Content -->
<main class="container mx-auto px-4 my-10 bb-main">
<!-- ================= Intro ================= -->
<section class="bb-card bb-hero">
<img class="bb-banner" src="bashbanner.png" alt="Bash @ the Beach 25' banner, presented by Dominion Energy" width="8000" height="2000">
<p class="bb-eyebrow"><i class="fas fa-umbrella-beach" aria-hidden="true"></i> Hosted by Team 236, the TechnoTicks</p>
<h1 class="bb-h1">Bash @ the Beach</h1>
<p class="bb-tag">Now a <em>FIRST</em>® LEGO® League event</p>
<p class="bb-lead">
Bash @ the Beach started as an off-season <em>FIRST</em> Robotics Competition event for high school teams.
Today it's a <strong><em>FIRST</em> LEGO League (FLL)</strong> event, where younger students build and program
LEGO robots, many of them for the very first time, and get their first taste of teamwork, problem solving
and gracious professionalism.
</p>
<div class="bb-pills" role="list">
<span class="bb-pill" role="listitem"><i class="fas fa-cubes" aria-hidden="true"></i>Build with LEGO</span>
<span class="bb-pill" role="listitem"><i class="fas fa-code" aria-hidden="true"></i>Program a robot</span>
<span class="bb-pill" role="listitem"><i class="fas fa-lightbulb" aria-hidden="true"></i>Solve a challenge</span>
<span class="bb-pill" role="listitem"><i class="fas fa-handshake" aria-hidden="true"></i>Gracious professionalism</span>
</div>
</section>
<!-- ================= Key info ================= -->
<section class="bb-grid">
<div class="bb-card bb-info">
<h2 class="bb-h2"><i class="fas fa-calendar-day" aria-hidden="true"></i> When</h2>
<p>Date to be announced</p>
<a target="_blank" rel="noopener" class="bb-btn" href="https://calendar.google.com/calendar/event?action=TEMPLATE&tmeid=Nmo5YjZnZ3A4MHJvb2pzYWVkZnJmcDJoc3QgZ29zc2ZAcmVnaW9uMTgub3Jn&tmsrc=gossf%40region18.org">
<i class="far fa-calendar-plus" aria-hidden="true"></i> Add to Google Calendar
</a>
</div>
<div class="bb-card bb-info">
<h2 class="bb-h2"><i class="fas fa-location-dot" aria-hidden="true"></i> Where</h2>
<p>Lyme-Old Lyme High School<br>Old Lyme, Connecticut</p>
<a target="_blank" rel="noopener" class="bb-btn" href="https://maps.google.com/?q=Lyme-Old+Lyme+High+School">
<i class="fas fa-map" aria-hidden="true"></i> Get directions
</a>
</div>
<div class="bb-card bb-info">
<h2 class="bb-h2"><i class="fas fa-circle-question" aria-hidden="true"></i> Questions?</h2>
<p>Teams, families and volunteers are welcome to reach out.</p>
<a class="bb-btn" href="mailto:nullemail@backsoon.net"><i class="fas fa-envelope" aria-hidden="true"></i> Email us</a>
</div>
</section>
<!-- ================= Gallery ================= -->
<section class="bb-card" aria-labelledby="bb-gal-h">
<p class="bb-eyebrow">Gallery</p>
<h2 class="bb-h2 bb-h2-lg" id="bb-gal-h">First robots, big smiles</h2>
<p class="bb-sub">Young builders learning robotics at Bash @ the Beach. Tap a photo to see it larger.</p>
<div class="bb-gallery" id="bb-gallery" aria-live="polite"></div>
<p class="bb-credit" id="bb-credit" hidden>Stand-in photo © <em>FIRST</em>® LEGO® League. Our own Bash @ the Beach photos are coming soon.</p>
<p class="bb-more">
More photos on our
<a href="https://www.instagram.com/236technoticks/" target="_blank" rel="noopener"><i class="fab fa-instagram" aria-hidden="true"></i> Instagram</a>
</p>
</section>
<!-- ================= Map ================= -->
<section class="bb-card bb-map">
<iframe title="Map to Lyme-Old Lyme High School" src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d2541.725117032167!2d-72.32541249648045!3d41.318369149100725!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x89e6180f331b174d%3A0xd02eddba7a7c878c!2sLyme-Old%20Lyme%20High%20School!5e0!3m2!1sen!2sus!4v1750804745710!5m2!1sen!2sus" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe>
</section>
<!-- lightbox -->
<div class="bb-lb" id="bb-lb" role="dialog" aria-modal="true" aria-label="Photo viewer" hidden>
<button class="bb-lb-btn bb-lb-close" type="button" aria-label="Close"><i class="fas fa-xmark" aria-hidden="true"></i></button>
<button class="bb-lb-btn bb-lb-prev" type="button" aria-label="Previous photo"><i class="fas fa-chevron-left" aria-hidden="true"></i></button>
<figure class="bb-lb-fig"><div class="bb-lb-media"></div><figcaption class="bb-lb-cap"></figcaption></figure>
<button class="bb-lb-btn bb-lb-next" type="button" aria-label="Next photo"><i class="fas fa-chevron-right" aria-hidden="true"></i></button>
</div>
</main>
<!-- Footer -->
<footer class="bg-gray-800 text-white py-8">
<div class="container mx-auto px-4">
<div class="flex flex-col items-center">
<!-- Social Media Icons -->
<div class="flex space-x-4 mb-6">
<a href="https://www.facebook.com/FIRSTTeam236/" class="footer-icon bg-blue-600 hover:bg-blue-700 text-white w-12 h-12 rounded-full flex items-center justify-center">
<i class="fab fa-facebook-f text-xl"></i>
</a>
<a href="https://x.com/technoticks236" class="footer-icon bg-blue-400 hover:bg-blue-500 text-white w-12 h-12 rounded-full flex items-center justify-center">
<i class="fab fa-twitter text-xl"></i>
</a>
<a href="https://www.youtube.com/@thetechnoticks" class="footer-icon bg-red-600 hover:bg-red-700 text-white w-12 h-12 rounded-full flex items-center justify-center">
<i class="fab fa-youtube text-xl"></i>
</a>
<a href="https://www.instagram.com/236technoticks/" class="footer-icon bg-pink-600 hover:bg-pink-700 text-white w-12 h-12 rounded-full flex items-center justify-center">
<i class="fab fa-instagram text-xl"></i>
</a>
<a href="https://www.pinterest.com/team236/6" class="footer-icon bg-red-500 hover:bg-red-600 text-white w-12 h-12 rounded-full flex items-center justify-center">
<i class="fab fa-pinterest text-xl"></i>
</a>
</div>
<p class="text-sm mb-2">Copyright © 2024-2025 Team 236 - TechnoTicks</p>
<a href="https://github.com/Team236/team236.github.io" target="_blank" class="text-blue-300 hover:text-blue-100 text-sm mb-4">
<i class="fab fa-github mr-1"></i> GitHub Repository
</a>
</div>
</div>
</footer>
<script>
// Optional: Add animation when banner is clicked
(document.querySelector('.header-banner') || document.createElement('i')).addEventListener('click', function() {
this.style.transform = 'scale(0.98)';
setTimeout(() => {
this.style.transform = 'scale(1.02)';
}, 100);
});
</script>
<!-- Theme switcher -->
<script>
(function(){
const body = document.body;
const btn = document.querySelector('.theme-toggle');
// default to coolLook
body.classList.add('theme-coolLook');
function setLabel() {
const isCool = body.classList.contains('theme-coolLook');
var label = isCool ? 'Switch to light mode' : 'Switch to dark mode';
btn.innerHTML = isCool ? '<i class="fas fa-sun" aria-hidden="true"></i>' : '<i class="fas fa-moon" aria-hidden="true"></i>';
btn.setAttribute('aria-label', label);
btn.title = label;
}
btn.addEventListener('click', function() {
body.classList.toggle('theme-coolLook');
body.classList.toggle('theme-easyRead');
setLabel();
});
setLabel();
})();
</script>
<!-- Nav: floats on scroll -->
<script>
(function () {
var nav = document.querySelector('.site-nav');
var slot = document.querySelector('.site-nav-slot');
if (!nav || !slot) return;
var stuck = false, ticking = false;
// the slot keeps the nav's natural height so nothing jumps when the nav pops out
function measure() {
var was = nav.classList.contains('is-stuck');
nav.classList.remove('is-stuck');
slot.style.minHeight = '';
slot.style.minHeight = nav.offsetHeight + 'px';
if (was) nav.classList.add('is-stuck');
}
// on narrow screens the floating bar scrolls sideways: bring the current page into view
function centerCurrent() {
var row = nav.querySelector('.nav-row'), cur = nav.querySelector('.nav-current');
if (!row || !cur || row.scrollWidth <= row.clientWidth) return;
row.scrollLeft += cur.getBoundingClientRect().left - row.getBoundingClientRect().left - (row.clientWidth - cur.offsetWidth) / 2;
}
function update() {
ticking = false;
var should = slot.getBoundingClientRect().top < 10; // nav's spot has reached the top
if (should !== stuck) {
stuck = should; nav.classList.toggle('is-stuck', stuck);
if (stuck) centerCurrent();
}
}
function onScroll() { if (!ticking) { ticking = true; requestAnimationFrame(update); } }
window.addEventListener('scroll', onScroll, { passive: true });
window.addEventListener('resize', function () { measure(); onScroll(); });
window.addEventListener('load', function () { measure(); update(); });
// Tailwind's CDN builds its styles after first paint, so re-measure whenever the nav changes size
if ('ResizeObserver' in window) {
new ResizeObserver(function () {
if (!nav.classList.contains('is-stuck')) { slot.style.minHeight = nav.offsetHeight + 'px'; update(); }
}).observe(nav);
}
measure(); update();
})();
</script>
<!-- Bash gallery: shows every photo/clip in the "bash images" folder -->
<script>
(function () {
// ---------- settings ----------
var FOLDER = 'bash images'; // folder in the repo (next to bash.html)
var REPO = 'Team236/team236.github.io'; // used to list the folder
var CACHE_KEY = 'bb-gallery-v1', CACHE_MS = 5 * 60 * 1000;
var PLACEHOLDERS = 12; // tiles shown until photos are added to the folder
// Stand-in photo shown in every placeholder tile until team photos arrive (copyright FIRST LEGO League).
// Set to '' to show plain "Photos coming soon" tiles instead.
var PLACEHOLDER_IMG = 'https://www.ironcad.com/wp-content/uploads/2019/02/FLL-picture-2-1200x692.png';
var PLACEHOLDER_CAP = 'FIRST LEGO League in action';
var IMG_EXT = ['jpg', 'jpeg', 'png', 'webp', 'avif', 'gif', 'svg', 'bmp'];
var VID_EXT = ['mp4', 'm4v', 'mov', 'webm', 'ogv'];
var grid = document.getElementById('bb-gallery');
var credit = document.getElementById('bb-credit');
var lb = document.getElementById('bb-lb');
if (!grid || !lb) return;
var base = encodeURIComponent(FOLDER) + '/';
var items = [], cur = 0, lastFocus = null;
function ext(n) { var m = /\.([a-z0-9]+)$/i.exec(n); return m ? m[1].toLowerCase() : ''; }
function kindOf(n) { var e = ext(n); return IMG_EXT.indexOf(e) > -1 ? 'image' : (VID_EXT.indexOf(e) > -1 ? 'video' : ''); }
function captionFrom(name) {
var s = name.replace(/\.[^.]+$/, '');
if (/^(img|dsc|dscn|dscf|pxl|mvimg|vid|mov|photo|image|screenshot)[-_ ]?\d/i.test(s) || /^\d{8}[-_ ]\d+/.test(s)) return '';
s = s.replace(/^\d{1,3}[-_. ]+/, '').replace(/[-_]+/g, ' ').replace(/\s+/g, ' ').trim();
return s.replace(/(^|\s)([a-z])/g, function (m, a, b) { return a + b.toUpperCase(); });
}
function getJSON(url) {
return fetch(url).then(function (r) { if (!r.ok) throw new Error('HTTP ' + r.status); return r.json(); });
}
function fromApi() {
return getJSON('https://api.github.com/repos/' + REPO + '/contents/' + encodeURIComponent(FOLDER)).then(function (list) {
if (!Array.isArray(list)) throw new Error('bad listing');
return list.filter(function (f) { return f.type === 'file'; }).map(function (f) { return f.name; });
});
}
function fromManifest() {
return getJSON(base + 'manifest.json').then(function (m) {
var arr = Array.isArray(m) ? m : (m && m.files);
if (!Array.isArray(arr)) throw new Error('bad manifest');
return arr;
});
}
function readCache() { try { return JSON.parse(localStorage.getItem(CACHE_KEY)); } catch (e) { return null; } }
function writeCache(n) { try { localStorage.setItem(CACHE_KEY, JSON.stringify({ t: Date.now(), names: n })); } catch (e) {} }
function findFiles() {
var c = readCache();
if (c && c.names && Date.now() - c.t < CACHE_MS) return Promise.resolve(c.names);
return fromApi().then(function (n) { writeCache(n); return n; })
.catch(function () { return fromManifest(); })
.catch(function () { return (c && c.names) || []; });
}
function placeholders() {
grid.innerHTML = '';
if (PLACEHOLDER_IMG) {
var list = [];
for (var k = 0; k < PLACEHOLDERS; k++) list.push({ url: PLACEHOLDER_IMG, kind: 'image', caption: PLACEHOLDER_CAP, stand: true });
draw(list);
if (credit) credit.hidden = false;
return;
}
for (var i = 0; i < PLACEHOLDERS; i++) {
var d = document.createElement('div');
d.className = 'bb-ph';
d.innerHTML = '<i class="fas fa-camera" aria-hidden="true"></i><span>Photos coming soon</span>';
grid.appendChild(d);
}
}
function render(names) {
items = names.filter(function (n) { return typeof n === 'string' && !/^[._~]/.test(n) && kindOf(n); })
.sort(function (a, b) { return a.localeCompare(b, undefined, { numeric: true, sensitivity: 'base' }); })
.map(function (n) { return { url: base + encodeURIComponent(n), kind: kindOf(n), caption: captionFrom(n) }; });
if (!items.length) { placeholders(); return; }
if (credit) credit.hidden = true;
draw(items);
}
function draw(list) {
items = list;
grid.innerHTML = '';
items.forEach(function (it, i) {
var b = document.createElement('button');
b.type = 'button'; b.className = 'bb-tile';
b.setAttribute('aria-label', (it.caption || 'Photo ' + (i + 1)) + ', open larger');
var m;
if (it.kind === 'video') {
m = document.createElement('video'); m.src = it.url + '#t=0.1'; m.muted = true; m.playsInline = true; m.preload = 'metadata';
var p = document.createElement('span'); p.className = 'bb-play'; p.innerHTML = '<i class="fas fa-play" aria-hidden="true"></i>'; b.appendChild(p);
} else {
m = document.createElement('img'); m.src = it.url; m.loading = 'lazy'; m.decoding = 'async';
m.alt = it.caption || 'Students learning robotics at Bash @ the Beach';
}
m.addEventListener('error', function () {
if (!it.stand) { b.remove(); return; }
var d = document.createElement('div'); d.className = 'bb-ph'; // stand-in failed to load
d.innerHTML = '<i class="fas fa-camera" aria-hidden="true"></i><span>Photos coming soon</span>';
b.replaceWith(d);
});
b.insertBefore(m, b.firstChild);
if (it.caption) { var c = document.createElement('span'); c.className = 'bb-tile-cap'; c.textContent = it.caption; b.appendChild(c); }
b.addEventListener('click', function () { open(i); });
grid.appendChild(b);
});
}
// ---------- lightbox ----------
var media = lb.querySelector('.bb-lb-media'), cap = lb.querySelector('.bb-lb-cap');
function show(i) {
cur = (i + items.length) % items.length;
var it = items[cur], el;
media.innerHTML = '';
if (it.kind === 'video') { el = document.createElement('video'); el.src = it.url; el.controls = true; el.autoplay = true; el.playsInline = true; }
else { el = document.createElement('img'); el.src = it.url; el.alt = it.caption || 'Students learning robotics at Bash @ the Beach'; }
media.appendChild(el);
cap.textContent = (it.caption ? it.caption + ' · ' : '') + (cur + 1) + ' / ' + items.length;
}
function open(i) { lastFocus = document.activeElement; lb.hidden = false; document.body.style.overflow = 'hidden'; show(i); lb.querySelector('.bb-lb-close').focus(); }
function close() { lb.hidden = true; media.innerHTML = ''; document.body.style.overflow = ''; if (lastFocus) lastFocus.focus(); }
lb.querySelector('.bb-lb-close').addEventListener('click', close);
lb.querySelector('.bb-lb-prev').addEventListener('click', function () { show(cur - 1); });
lb.querySelector('.bb-lb-next').addEventListener('click', function () { show(cur + 1); });
lb.addEventListener('click', function (e) { if (e.target === lb) close(); });
document.addEventListener('keydown', function (e) {
if (lb.hidden) return;
if (e.key === 'Escape') close();
else if (e.key === 'ArrowLeft') show(cur - 1);
else if (e.key === 'ArrowRight') show(cur + 1);
});
var sx = null;
lb.addEventListener('touchstart', function (e) { sx = e.touches[0].clientX; }, { passive: true });
lb.addEventListener('touchend', function (e) {
if (sx === null) return; var dx = e.changedTouches[0].clientX - sx; sx = null;
if (Math.abs(dx) > 50) show(cur + (dx < 0 ? 1 : -1));
});
findFiles().then(render);
})();
</script>
<script src="site-bar.js"></script>
</body>
</html>