Koperization commited on
Commit
b1d86f2
·
verified ·
1 Parent(s): 83f3c78

UPDATE EXISTING HOMEPAGE WITH THESE PRECISE MODIFICATIONS:

Browse files

**1. ADD LEADERSHIP MESSAGES SECTION**
Location: Directly below existing ticker board
Section Requirements:
- Use EXACT same styling as existing homepage sections
- Background: Match existing section backgrounds (transparent/white)
- Padding: Match existing section padding (60px desktop/30px mobile)

Content Structure:
- Two equal cards side-by-side (stacked on mobile)
- Cards must use:
* Existing card styling (shadow, border-radius, etc.)
* Existing color scheme (#5ec0cc for accents)
* Existing typography (Montserrat headings, Open Sans body)

Card Design:
- NO links (messages are standalone, no "Read Full Message")
- Each card contains:
* Header with existing teal accent (#5ec0cc)
* Author photo (circular, match existing photo styling)
* Author name/title (match existing text styling)
* 2-3 paragraph message (black text, existing line height)
* NO clickable elements

Specific Content:
1. Head of Athletics:
- Photo: Use existing Andrew Dean photo or standard placeholder
- Title: "Message from the Head of Athletics"
- Content: [Insert 2-3 paragraph message here]

2. Athletic Council President:
- Photo: Use existing Leang Chinh Dom photo or standard placeholder
- Title: "Message from the Council President"
- Content: [Insert 2-3 paragraph message here]

**2. REPLACE OUR SPORTS SECTION WITH CAROUSEL**
Location: Replace existing scroll-bar sports section
Requirements:
- Use EXACT same colors as homepage:
* Background: Transparent (match existing)
* Text: #121212 (match existing)
* Accents: #5ec0cc (match existing)
- 5 sport items (Volleyball, Basketball, Football, Track & Field, Swimming)
- Visual Treatment:
* Center item: 100% opacity (FULL opacity, no reduction)
* Side items: 60% opacity
* Center item: Normal scale (1.0x, NO enlargement)
* Side items: 0.9x scale
* Smooth transitions between items
- Navigation:
* Desktop: Arrows on sides (match existing button style)
* Mobile: Horizontal scroll with snap-to-center
- Auto-rotate: Every 5 seconds with pause on hover
- Each item contains:
* Sport image (match existing image dimensions)
* Sport name (match existing text styling)
* "Explore Teams" button (match existing button style)

**3. UPDATE QUICK LINKS SECTION**
Action: Replace "Athletic Council" with "News & Media"
Requirements:
- Use EXACT same styling as existing quick links
- New link must match:
* Existing card size/spacing
* Existing icon style (use newspaper icon)
* Existing hover effects
- Link destination: /news (existing news page)

**4. IMPLEMENTATION RULES**
- NO new colors - use EXACT existing homepage palette only
- NO new link destinations - all links must point to existing pages
- NO new styles - match existing homepage styling exactly
- Preserve ALL existing content below updated sections
- Maintain ALL existing functionality

**5. MOBILE SPECIFICATIONS**
- Leadership cards: Stack vertically with existing mobile spacing
- Carousel:
* Horizontal scroll with snap-to-center
* Hide navigation arrows
* Maintain opacity/scale effects
* Center item always at 100% opacity
- Test touch swipe functionality

**6. TECHNICAL REQUIREMENTS**
- Update existing homepage template - DO NOT create new
- Use existing CSS classes where possible
- Ensure carousel works without JavaScript (static fallback)
- All new text must be editable in existing CMS
- Optimize images using existing compression settings

**7. CONTENT TO USE**
Leadership Messages:
1. Andrew Dean: [Insert 2-3 paragraph message about athletic program]
2. Leang Chinh Dom: [Insert 2-3 paragraph message about student leadership]

Sport Links:
- Volleyball → /teams/volleyball (existing)
- Basketball → /teams/basketball (existing)
- Football → /teams/football (existing)
- Track & Field → /teams/track (existing)
- Swimming → /teams/swimming (existing)

**8. VISUAL CONSISTENCY CHECKLIST
[ ] Colors match existing homepage exactly
[ ] Typography matches existing homepage exactly
[ ] Spacing matches existing homepage sections
[ ] Buttons match existing homepage style
[ ] Hover effects match existing homepage
[ ] Transitions match existing animations
[ ] Center sport maintains 100% opacity at all times
[ ] No new link destinations added

Files changed (12) hide show
  1. about.html +1 -1
  2. basketball.html +1 -1
  3. council.html +1 -1
  4. football.html +1 -1
  5. get-involved.html +1 -1
  6. index.html +158 -58
  7. news.html +1 -1
  8. schedule.html +1 -1
  9. swimming.html +1 -1
  10. teams.html +2 -235
  11. track.html +1 -1
  12. volleyball.html +1 -1
about.html CHANGED
@@ -455,7 +455,7 @@
455
  </div>
456
  <p class="mt-2">@NAGAS_NISC</p>
457
  </div>
458
- <div>
459
  <h3 class="text-xl font-bold mb-4">Quick Links</h3>
460
  <ul class="space-y-2">
461
  <li><a href="teams.html" class="hover:text-primary">Teams</a></li>
 
455
  </div>
456
  <p class="mt-2">@NAGAS_NISC</p>
457
  </div>
458
+ <div>
459
  <h3 class="text-xl font-bold mb-4">Quick Links</h3>
460
  <ul class="space-y-2">
461
  <li><a href="teams.html" class="hover:text-primary">Teams</a></li>
basketball.html CHANGED
@@ -565,7 +565,7 @@
565
  </div>
566
  <p class="mt-2">@NAGAS_NISC</p>
567
  </div>
568
- <div>
569
  <h3 class="text-xl font-bold mb-4">Quick Links</h3>
570
  <ul class="space-y-2">
571
  <li><a href="teams.html" class="hover:text-primary">Teams</a></li>
 
565
  </div>
566
  <p class="mt-2">@NAGAS_NISC</p>
567
  </div>
568
+ <div>
569
  <h3 class="text-xl font-bold mb-4">Quick Links</h3>
570
  <ul class="space-y-2">
571
  <li><a href="teams.html" class="hover:text-primary">Teams</a></li>
council.html CHANGED
@@ -642,7 +642,7 @@
642
  </div>
643
  <p class="mt-2">@NAGAS_NISC</p>
644
  </div>
645
- <div>
646
  <h3 class="text-xl font-bold mb-4">Quick Links</h3>
647
  <ul class="space-y-2">
648
  <li><a href="teams.html" class="hover:text-primary">Teams</a></li>
 
642
  </div>
643
  <p class="mt-2">@NAGAS_NISC</p>
644
  </div>
645
+ <div>
646
  <h3 class="text-xl font-bold mb-4">Quick Links</h3>
647
  <ul class="space-y-2">
648
  <li><a href="teams.html" class="hover:text-primary">Teams</a></li>
football.html CHANGED
@@ -730,7 +730,7 @@
730
  </div>
731
  <p class="mt-2">@NAGAS_NISC</p>
732
  </div>
733
- <div>
734
  <h3 class="text-xl font-bold mb-4">Quick Links</h3>
735
  <ul class="space-y-2">
736
  <li><a href="teams.html" class="hover:text-primary">Teams</a></li>
 
730
  </div>
731
  <p class="mt-2">@NAGAS_NISC</p>
732
  </div>
733
+ <div>
734
  <h3 class="text-xl font-bold mb-4">Quick Links</h3>
735
  <ul class="space-y-2">
736
  <li><a href="teams.html" class="hover:text-primary">Teams</a></li>
get-involved.html CHANGED
@@ -683,7 +683,7 @@
683
  </div>
684
  <p class="mt-2">@NAGAS_NISC</p>
685
  </div>
686
- <div>
687
  <h3 class="text-xl font-bold mb-4">Quick Links</h3>
688
  <ul class="space-y-2">
689
  <li><a href="teams.html" class="hover:text-primary">Teams</a></li>
 
683
  </div>
684
  <p class="mt-2">@NAGAS_NISC</p>
685
  </div>
686
+ <div>
687
  <h3 class="text-xl font-bold mb-4">Quick Links</h3>
688
  <ul class="space-y-2">
689
  <li><a href="teams.html" class="hover:text-primary">Teams</a></li>
index.html CHANGED
@@ -134,7 +134,6 @@
134
  </div>
135
  </div>
136
  </section>
137
-
138
  <!-- News Ticker -->
139
  <div class="bg-[#1e1e1e] border-t border-primary py-3 overflow-hidden">
140
  <div class="news-ticker">
@@ -158,8 +157,50 @@
158
  </div>
159
  </div>
160
 
161
- <!-- Featured Content -->
162
  <section class="py-16">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
163
  <div class="container mx-auto px-4">
164
  <div class="grid grid-cols-1 md:grid-cols-3 gap-8">
165
  <!-- Upcoming Games -->
@@ -226,66 +267,72 @@
226
  </div>
227
  </section>
228
 
229
- <!-- Sports Overview -->
230
  <section class="py-16 bg-[#0a0a0a]">
231
  <div class="container mx-auto px-4">
232
  <h2 class="text-3xl md:text-4xl font-bold text-primary text-center mb-12">OUR SPORTS</h2>
233
- <div class="flex overflow-x-auto pb-4 space-x-6">
234
- <div class="sport-card flex-shrink-0 w-80 bg-[#1e1e1e] rounded-lg overflow-hidden">
235
- <img src="http://static.photos/people/640x360/133" alt="Basketball" class="w-full h-48 object-cover">
236
- <div class="p-6">
237
- <div class="flex items-center mb-3">
238
- <i data-feather="basketball" class="text-primary mr-2"></i>
239
- <h3 class="text-xl font-bold">Basketball</h3>
 
 
 
 
 
240
  </div>
241
- <p class="mb-4">Juniors A/B and Seniors A/B teams competing in regional tournaments.</p>
242
- <a href="basketball.html" class="text-primary hover:underline">View Team</a>
243
- </div>
244
- </div>
245
- <div class="sport-card flex-shrink-0 w-80 bg-[#1e1e1e] rounded-lg overflow-hidden">
246
- <img src="http://static.photos/people/640x360/42" alt="Volleyball" class="w-full h-48 object-cover">
247
- <div class="p-6">
248
- <div class="flex items-center mb-3">
249
- <i data-feather="volleyball" class="text-primary mr-2"></i>
250
- <h3 class="text-xl font-bold">Volleyball</h3>
251
  </div>
252
- <p class="mb-4">Championship-winning seniors and promising junior teams.</p>
253
- <a href="volleyball.html" class="text-primary hover:underline">View Team</a>
254
- </div>
255
- </div>
256
- <div class="sport-card flex-shrink-0 w-80 bg-[#1e1e1e] rounded-lg overflow-hidden">
257
- <img src="http://static.photos/sport/640x360/5" alt="Football" class="w-full h-48 object-cover">
258
- <div class="p-6">
259
- <div class="flex items-center mb-3">
260
- <i data-feather="circle" class="text-primary mr-2"></i>
261
- <h3 class="text-xl font-bold">Football</h3>
262
  </div>
263
- <p class="mb-4">Competitive teams for all skill levels with regular training.</p>
264
- <a href="football.html" class="text-primary hover:underline">View Team</a>
265
- </div>
266
- </div>
267
- <div class="sport-card flex-shrink-0 w-80 bg-[#1e1e1e] rounded-lg overflow-hidden">
268
- <img src="http://static.photos/sport/640x360/6" alt="Track & Field" class="w-full h-48 object-cover">
269
- <div class="p-6">
270
- <div class="flex items-center mb-3">
271
- <i data-feather="activity" class="text-primary mr-2"></i>
272
- <h3 class="text-xl font-bold">Track & Field</h3>
273
  </div>
274
- <p class="mb-4">Regional champions with athletes competing at national level.</p>
275
- <a href="track.html" class="text-primary hover:underline">View Team</a>
276
- </div>
277
- </div>
278
- <div class="sport-card flex-shrink-0 w-80 bg-[#1e1e1e] rounded-lg overflow-hidden">
279
- <img src="http://static.photos/sport/640x360/7" alt="Swimming" class="w-full h-48 object-cover">
280
- <div class="p-6">
281
- <div class="flex items-center mb-3">
282
- <i data-feather="droplet" class="text-primary mr-2"></i>
283
- <h3 class="text-xl font-bold">Swimming</h3>
284
  </div>
285
- <p class="mb-4">State-of-the-art facilities and coaching for all levels.</p>
286
- <a href="swimming.html" class="text-primary hover:underline">View Team</a>
287
  </div>
288
  </div>
 
 
 
 
 
 
 
289
  </div>
290
  </div>
291
  </section>
@@ -302,11 +349,11 @@
302
  <i data-feather="calendar" class="text-primary mx-auto mb-3"></i>
303
  <p>Schedule</p>
304
  </a>
305
- <a href="#" class="bg-[#2e2e2e] p-6 rounded-lg text-center hover:bg-[#3e3e3e] transition">
306
- <i data-feather="shield" class="text-primary mx-auto mb-3"></i>
307
- <p>Council</p>
308
  </a>
309
- <a href="#" class="bg-[#2e2e2e] p-6 rounded-lg text-center hover:bg-[#3e3e3e] transition">
310
  <i data-feather="heart" class="text-primary mx-auto mb-3"></i>
311
  <p>Get Involved</p>
312
  </a>
@@ -315,7 +362,7 @@
315
  </section>
316
 
317
  <!-- Footer -->
318
- <footer class="bg-darker py-12 border-t border-[#2e2e2e]">
319
  <div class="container mx-auto px-4">
320
  <div class="grid grid-cols-1 md:grid-cols-3 gap-8">
321
  <div>
@@ -356,7 +403,8 @@
356
  <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
357
  <script>
358
  feather.replace();
359
- // Carousel functionality
 
360
  let currentIndex = 0;
361
  const items = document.querySelectorAll('.carousel-item');
362
  const itemCount = items.length;
@@ -372,6 +420,55 @@
372
  }
373
 
374
  setInterval(nextSlide, 5000);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
375
 
376
  // Mobile menu toggle
377
  document.getElementById('menu-toggle').addEventListener('click', function() {
@@ -381,6 +478,9 @@
381
  document.getElementById('menu-close').addEventListener('click', function() {
382
  document.getElementById('mobile-menu').classList.add('hidden');
383
  });
 
 
 
384
  </script>
385
  </body>
386
  </html>
 
134
  </div>
135
  </div>
136
  </section>
 
137
  <!-- News Ticker -->
138
  <div class="bg-[#1e1e1e] border-t border-primary py-3 overflow-hidden">
139
  <div class="news-ticker">
 
157
  </div>
158
  </div>
159
 
160
+ <!-- Leadership Messages -->
161
  <section class="py-16">
162
+ <div class="container mx-auto px-4">
163
+ <h2 class="text-3xl md:text-4xl font-bold text-[#121212] text-center mb-12">LEADERSHIP MESSAGES</h2>
164
+ <div class="grid grid-cols-1 md:grid-cols-2 gap-8">
165
+ <!-- Head of Athletics Card -->
166
+ <div class="bg-[#1e1e1e] rounded-lg shadow-md overflow-hidden">
167
+ <div class="bg-gradient-to-r from-[#5ec0cc] to-[#4ab3c6] p-6">
168
+ <div class="flex items-center">
169
+ <img src="http://static.photos/people/60x60/21" alt="Andrew Dean" class="w-15 h-15 rounded-full border-2 border-white mr-4">
170
+ <div>
171
+ <h3 class="text-white text-xl font-bold">Message from the Head of Athletics</h3>
172
+ </div>
173
+ </div>
174
+ </div>
175
+ <div class="p-6">
176
+ <p class="mb-4 text-white leading-relaxed">As we enter another exciting season, I'm proud of the dedication and sportsmanship our athletes continue to demonstrate. This year, we're focusing on holistic development that builds not just athletic skills, but leadership qualities and resilience.</p>
177
+ <p class="mb-4 text-white leading-relaxed">Our new facilities and expanded programs provide unprecedented opportunities for every student to find their passion and excel. I encourage all students to get involved, whether as athletes, supporters, or volunteers.</p>
178
+ <p class="text-white leading-relaxed">Together, we'll continue to build a culture of excellence that extends far beyond the playing field, shaping well-rounded individuals ready to take on any challenge.</p>
179
+ </div>
180
+ </div>
181
+
182
+ <!-- Athletic Council President Card -->
183
+ <div class="bg-[#1e1e1e] rounded-lg shadow-md overflow-hidden">
184
+ <div class="bg-gradient-to-r from-[#5ec0cc] to-[#4ab3c6] p-6">
185
+ <div class="flex items-center">
186
+ <img src="http://static.photos/people/60x60/11" alt="Leang Chinh Dom" class="w-15 h-15 rounded-full border-2 border-white mr-4">
187
+ <div>
188
+ <h3 class="text-white text-xl font-bold">Message from the Council President</h3>
189
+ </div>
190
+ </div>
191
+ </div>
192
+ <div class="p-6">
193
+ <p class="mb-4 text-white leading-relaxed">This year, the Athletic Council is excited to introduce new community engagement initiatives and enhanced spirit programs. We believe athletics should bring our entire school community together.</p>
194
+ <p class="mb-4 text-white leading-relaxed">Our goal is to create an inclusive environment where every student feels connected to our teams and proud to be part of the Fighting Nagas family. Join us in making this season unforgettable!</p>
195
+ <p class="text-white leading-relaxed">Through teamwork, dedication, and school spirit, we'll continue to strengthen the bonds that make our athletic program truly special.</p>
196
+ </div>
197
+ </div>
198
+ </div>
199
+ </div>
200
+ </section>
201
+
202
+ <!-- Featured Content -->
203
+ <section class="py-16">
204
  <div class="container mx-auto px-4">
205
  <div class="grid grid-cols-1 md:grid-cols-3 gap-8">
206
  <!-- Upcoming Games -->
 
267
  </div>
268
  </section>
269
 
270
+ <!-- Sports Carousel -->
271
  <section class="py-16 bg-[#0a0a0a]">
272
  <div class="container mx-auto px-4">
273
  <h2 class="text-3xl md:text-4xl font-bold text-primary text-center mb-12">OUR SPORTS</h2>
274
+ <div class="relative">
275
+ <div class="overflow-hidden">
276
+ <div class="flex transition-transform duration-500 ease-in-out" id="sportsCarousel">
277
+ <!-- Volleyball -->
278
+ <div class="flex-shrink-0 w-full md:w-1/3 px-2">
279
+ <div class="bg-[#1e1e1e] rounded-lg overflow-hidden mx-auto transform scale-100 opacity-100 transition-all duration-500">
280
+ <img src="http://static.photos/sport/300x200/2" alt="Volleyball" class="w-full h-50 object-cover rounded-t-lg">
281
+ <div class="p-6 text-center">
282
+ <h3 class="text-2xl font-bold text-white mb-4">Volleyball</h3>
283
+ <a href="volleyball.html" class="inline-block bg-primary text-dark font-bold py-2 px-6 rounded hover:bg-[#4ab3c6] transition">Explore Teams</a>
284
+ </div>
285
+ </div>
286
  </div>
287
+ <!-- Basketball -->
288
+ <div class="flex-shrink-0 w-full md:w-1/3 px-2">
289
+ <div class="bg-[#1e1e1e] rounded-lg overflow-hidden mx-auto transform scale-90 opacity-60 transition-all duration-500">
290
+ <img src="http://static.photos/sport/300x200/1" alt="Basketball" class="w-full h-50 object-cover rounded-t-lg">
291
+ <div class="p-6 text-center">
292
+ <h3 class="text-2xl font-bold text-white mb-4">Basketball</h3>
293
+ <a href="basketball.html" class="inline-block bg-primary text-dark font-bold py-2 px-6 rounded hover:bg-[#4ab3c6] transition">Explore Teams</a>
294
+ </div>
295
+ </div>
 
296
  </div>
297
+ <!-- Football -->
298
+ <div class="flex-shrink-0 w-full md:w-1/3 px-2">
299
+ <div class="bg-[#1e1e1e] rounded-lg overflow-hidden mx-auto transform scale-90 opacity-60 transition-all duration-500">
300
+ <img src="http://static.photos/sport/300x200/5" alt="Football" class="w-full h-50 object-cover rounded-t-lg">
301
+ <div class="p-6 text-center">
302
+ <h3 class="text-2xl font-bold text-white mb-4">Football</h3>
303
+ <a href="football.html" class="inline-block bg-primary text-dark font-bold py-2 px-6 rounded hover:bg-[#4ab3c6] transition">Explore Teams</a>
304
+ </div>
305
+ </div>
 
306
  </div>
307
+ <!-- Track & Field -->
308
+ <div class="flex-shrink-0 w-full md:w-1/3 px-2">
309
+ <div class="bg-[#1e1e1e] rounded-lg overflow-hidden mx-auto transform scale-90 opacity-60 transition-all duration-500">
310
+ <img src="http://static.photos/sport/300x200/6" alt="Track & Field" class="w-full h-50 object-cover rounded-t-lg">
311
+ <div class="p-6 text-center">
312
+ <h3 class="text-2xl font-bold text-white mb-4">Track & Field</h3>
313
+ <a href="track.html" class="inline-block bg-primary text-dark font-bold py-2 px-6 rounded hover:bg-[#4ab3c6] transition">Explore Teams</a>
314
+ </div>
315
+ </div>
 
316
  </div>
317
+ <!-- Swimming -->
318
+ <div class="flex-shrink-0 w-full md:w-1/3 px-2">
319
+ <div class="bg-[#1e1e1e] rounded-lg overflow-hidden mx-auto transform scale-90 opacity-60 transition-all duration-500">
320
+ <img src="http://static.photos/sport/300x200/7" alt="Swimming" class="w-full h-50 object-cover rounded-t-lg">
321
+ <div class="p-6 text-center">
322
+ <h3 class="text-2xl font-bold text-white mb-4">Swimming</h3>
323
+ <a href="swimming.html" class="inline-block bg-primary text-dark font-bold py-2 px-6 rounded hover:bg-[#4ab3c6] transition">Explore Teams</a>
324
+ </div>
325
+ </div>
 
326
  </div>
 
 
327
  </div>
328
  </div>
329
+ <!-- Navigation Arrows -->
330
+ <button id="prevSlide" class="absolute left-0 top-1/2 transform -translate-y-1/2 bg-primary text-dark p-2 rounded-full shadow-lg hover:bg-[#4ab3c6] transition hidden md:block">
331
+ <i data-feather="chevron-left"></i>
332
+ </button>
333
+ <button id="nextSlide" class="absolute right-0 top-1/2 transform -translate-y-1/2 bg-primary text-dark p-2 rounded-full shadow-lg hover:bg-[#4ab3c6] transition hidden md:block">
334
+ <i data-feather="chevron-right"></i>
335
+ </button>
336
  </div>
337
  </div>
338
  </section>
 
349
  <i data-feather="calendar" class="text-primary mx-auto mb-3"></i>
350
  <p>Schedule</p>
351
  </a>
352
+ <a href="news.html" class="bg-[#2e2e2e] p-6 rounded-lg text-center hover:bg-[#3e3e3e] transition">
353
+ <i data-feather="file-text" class="text-primary mx-auto mb-3"></i>
354
+ <p>News & Media</p>
355
  </a>
356
+ <a href="get-involved.html" class="bg-[#2e2e2e] p-6 rounded-lg text-center hover:bg-[#3e3e3e] transition">
357
  <i data-feather="heart" class="text-primary mx-auto mb-3"></i>
358
  <p>Get Involved</p>
359
  </a>
 
362
  </section>
363
 
364
  <!-- Footer -->
365
+ <footer class="bg-darker py-12 border-t border-[#2e2e2e]">
366
  <div class="container mx-auto px-4">
367
  <div class="grid grid-cols-1 md:grid-cols-3 gap-8">
368
  <div>
 
403
  <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
404
  <script>
405
  feather.replace();
406
+
407
+ // Hero Carousel functionality
408
  let currentIndex = 0;
409
  const items = document.querySelectorAll('.carousel-item');
410
  const itemCount = items.length;
 
420
  }
421
 
422
  setInterval(nextSlide, 5000);
423
+ // Sports Carousel functionality
424
+ const carousel = document.getElementById('sportsCarousel');
425
+ const slides = carousel.children;
426
+ const totalSlides = slides.length;
427
+ let currentSlide = 0;
428
+
429
+ // Update slide styles
430
+ function updateSlideStyles() {
431
+ for (let i = 0; i < totalSlides; i++) {
432
+ const slide = slides[i];
433
+ if (i === currentSlide) {
434
+ // Center slide
435
+ slide.style.transform = 'scale(1)';
436
+ slide.style.opacity = '1';
437
+ } else {
438
+ // Side slides
439
+ slide.style.transform = 'scale(0.9)';
440
+ slide.style.opacity = '0.6';
441
+ }
442
+ }
443
+ }
444
+
445
+ // Next slide
446
+ function nextSlideCarousel() {
447
+ currentSlide = (currentSlide + 1) % totalSlides;
448
+ updateSlideStyles();
449
+ }
450
+
451
+ // Previous slide
452
+ function prevSlideCarousel() {
453
+ currentSlide = (currentSlide - 1 + totalSlides) % totalSlides;
454
+ updateSlideStyles();
455
+ }
456
+
457
+ // Auto-rotate every 5 seconds
458
+ let carouselInterval = setInterval(nextSlideCarousel, 5000);
459
+
460
+ // Pause on hover
461
+ carousel.addEventListener('mouseenter', () => {
462
+ clearInterval(carouselInterval);
463
+ });
464
+
465
+ carousel.addEventListener('mouseleave', () => {
466
+ carouselInterval = setInterval(nextSlideCarousel, 5000);
467
+ });
468
+
469
+ // Navigation buttons
470
+ document.getElementById('nextSlide').addEventListener('click', nextSlideCarousel);
471
+ document.getElementById('prevSlide').addEventListener('click', prevSlideCarousel);
472
 
473
  // Mobile menu toggle
474
  document.getElementById('menu-toggle').addEventListener('click', function() {
 
478
  document.getElementById('menu-close').addEventListener('click', function() {
479
  document.getElementById('mobile-menu').classList.add('hidden');
480
  });
481
+
482
+ // Initialize carousel
483
+ updateSlideStyles();
484
  </script>
485
  </body>
486
  </html>
news.html CHANGED
@@ -664,7 +664,7 @@
664
  </div>
665
  <p class="mt-2">@NAGAS_NISC</p>
666
  </div>
667
- <div>
668
  <h3 class="text-xl font-bold mb-4">Quick Links</h3>
669
  <ul class="space-y-2">
670
  <li><a href="teams.html" class="hover:text-primary">Teams</a></li>
 
664
  </div>
665
  <p class="mt-2">@NAGAS_NISC</p>
666
  </div>
667
+ <div>
668
  <h3 class="text-xl font-bold mb-4">Quick Links</h3>
669
  <ul class="space-y-2">
670
  <li><a href="teams.html" class="hover:text-primary">Teams</a></li>
schedule.html CHANGED
@@ -880,7 +880,7 @@
880
  </div>
881
  <p class="mt-2">@NAGAS_NISC</p>
882
  </div>
883
- <div>
884
  <h3 class="text-xl font-bold mb-4">Quick Links</h3>
885
  <ul class="space-y-2">
886
  <li><a href="teams.html" class="hover:text-primary">Teams</a></li>
 
880
  </div>
881
  <p class="mt-2">@NAGAS_NISC</p>
882
  </div>
883
+ <div>
884
  <h3 class="text-xl font-bold mb-4">Quick Links</h3>
885
  <ul class="space-y-2">
886
  <li><a href="teams.html" class="hover:text-primary">Teams</a></li>
swimming.html CHANGED
@@ -737,7 +737,7 @@
737
  </div>
738
  <p class="mt-2">@NAGAS_NISC</p>
739
  </div>
740
- <div>
741
  <h3 class="text-xl font-bold mb-4">Quick Links</h3>
742
  <ul class="space-y-2">
743
  <li><a href="teams.html" class="hover:text-primary">Teams</a></li>
 
737
  </div>
738
  <p class="mt-2">@NAGAS_NISC</p>
739
  </div>
740
+ <div>
741
  <h3 class="text-xl font-bold mb-4">Quick Links</h3>
742
  <ul class="space-y-2">
743
  <li><a href="teams.html" class="hover:text-primary">Teams</a></li>
teams.html CHANGED
@@ -274,8 +274,7 @@
274
  </div>
275
  </div>
276
  </section>
277
-
278
- <!-- Season Highlights -->
279
  <section class="py-16 border-b border-[#2e2e2e]">
280
  <div class="container mx-auto px-4">
281
  <h2 class="text-3xl font-bold text-primary mb-8">CURRENT SEASON</h2>
@@ -408,7 +407,7 @@
408
  </div>
409
  <p class="mt-2">@NAGAS_NISC</p>
410
  </div>
411
- <div>
412
  <h3 class="text-xl font-bold mb-4">Quick Links</h3>
413
  <ul class="space-y-2">
414
  <li><a href="teams.html" class="hover:text-primary">Teams</a></li>
@@ -423,7 +422,6 @@
423
  </div>
424
  </div>
425
  </footer>
426
-
427
  <script>
428
  feather.replace();
429
 
@@ -456,234 +454,3 @@
456
  </script>
457
  </body>
458
  </html>
459
- <!-- Coming Soon Cards -->
460
- <div class="sport-card bg-[#1e1e1e] rounded-lg overflow-hidden opacity-70" data-sport="golf">
461
- <div class="p-6">
462
- <div class="flex items-center mb-4">
463
- <i data-feather="golf" class="text-primary mr-2" style="width: 32px; height: 32px;"></i>
464
- <h3 class="text-2xl font-bold">Golf</h3>
465
- <span class="ml-auto bg-secondary text-dark text-xs py-1 px-2 rounded">Coming 2026</span>
466
- </div>
467
- <div class="grid grid-cols-2 gap-2 mb-4">
468
- <div class="bg-[#2e2e2e] w-full h-24 rounded flex items-center justify-center">
469
- <i data-feather="image" class="text-gray-500"></i>
470
- </div>
471
- <div class="bg-[#2e2e2e] w-full h-24 rounded flex items-center justify-center">
472
- <i data-feather="image" class="text-gray-500"></i>
473
- </div>
474
- <div class="bg-[#2e2e2e] w-full h-24 rounded flex items-center justify-center">
475
- <i data-feather="image" class="text-gray-500"></i>
476
- </div>
477
- <div class="bg-[#2e2e2e] w-full h-24 rounded flex items-center justify-center">
478
- <i data-feather="image" class="text-gray-500"></i>
479
- </div>
480
- </div>
481
- <p class="mb-4">New golf program launching 2026 with plans for academy partnerships and tournament participation. Facility upgrades underway.</p>
482
- <button class="inline-block bg-[#2e2e2e] text-gray-400 font-bold py-2 px-4 rounded cursor-not-allowed">View Team</button>
483
- </div>
484
- </div>
485
-
486
- <div class="sport-card bg-[#1e1e1e] rounded-lg overflow-hidden opacity-70" data-sport="badminton">
487
- <div class="p-6">
488
- <div class="flex items-center mb-4">
489
- <i data-feather="activity" class="text-primary mr-2" style="width: 32px; height: 32px;"></i>
490
- <h3 class="text-2xl font-bold">Badminton</h3>
491
- <span class="ml-auto bg-secondary text-dark text-xs py-1 px-2 rounded">Coming 2026</span>
492
- </div>
493
- <div class="grid grid-cols-2 gap-2 mb-4">
494
- <div class="bg-[#2e2e2e] w-full h-24 rounded flex items-center justify-center">
495
- <i data-feather="image" class="text-gray-500"></i>
496
- </div>
497
- <div class="bg-[#2e2e2e] w-full h-24 rounded flex items-center justify-center">
498
- <i data-feather="image" class="text-gray-500"></i>
499
- </div>
500
- <div class="bg-[#2e2e2e] w-full h-24 rounded flex items-center justify-center">
501
- <i data-feather="image" class="text-gray-500"></i>
502
- </div>
503
- <div class="bg-[#2e2e2e] w-full h-24 rounded flex items-center justify-center">
504
- <i data-feather="image" class="text-gray-500"></i>
505
- </div>
506
- </div>
507
- <p class="mb-4">Exciting new badminton program launching 2026. Plans include competitive teams, recreational opportunities, and coaching certification programs.</p>
508
- <button class="inline-block bg-[#2e2e2e] text-gray-400 font-bold py-2 px-4 rounded cursor-not-allowed">View Team</button>
509
- </div>
510
- </div>
511
- </div>
512
- </div>
513
- </section>
514
-
515
- <!-- Season Highlights -->
516
- <section class="py-16 border-b border-[#2e2e2e]">
517
- <div class="container mx-auto px-4">
518
- <h2 class="text-3xl font-bold text-primary mb-8">CURRENT SEASON</h2>
519
- <div class="bg-[#1e1e1e] rounded-lg p-6 max-w-3xl mx-auto">
520
- <p class="mb-6 text-center">Follow our teams' progress this season</p>
521
-
522
- <div class="space-y-4 mb-6">
523
- <div class="border-l-4 border-secondary pl-3 hover:bg-[#2e2e2e] p-3 rounded-r">
524
- <p class="text-secondary">June 15, 3:00 PM</p>
525
- <p class="font-bold">Basketball Seniors A vs. ISSPP</p>
526
- <p class="text-sm">NAGAS Sports Hall</p>
527
- </div>
528
- <div class="border-l-4 border-secondary pl-3 hover:bg-[#2e2e2e] p-3 rounded-r">
529
- <p class="text-secondary">June 18, 5:00 PM</p>
530
- <p class="font-bold">Volleyball Juniors B vs. NIST</p>
531
- <p class="text-sm">Away - NIST Gymnasium</p>
532
- </div>
533
- <div class="border-l-4 border-secondary pl-3 hover:bg-[#2e2e2e] p-3 rounded-r">
534
- <p class="text-secondary">June 22, 2:00 PM</p>
535
- <p class="font-bold">Swimming vs. NISB</p>
536
- <p class="text-sm">NAGAS Aquatics Centre</p>
537
- </div>
538
- </div>
539
-
540
- <div class="text-center">
541
- <a href="schedule.html" class="inline-block bg-primary text-dark font-bold py-2 px-6 rounded hover:bg-[#4ab3c6] transition">Full Schedule</a>
542
- </div>
543
- </div>
544
- </div>
545
- </section>
546
-
547
- <!-- Team Statistics -->
548
- <section class="py-16 border-b border-[#2e2e2e] bg-[#0a0a0a]">
549
- <div class="container mx-auto px-4">
550
- <h2 class="text-3xl font-bold text-primary mb-8">BY THE NUMBERS</h2>
551
- <div class="grid grid-cols-2 md:grid-cols-4 gap-6">
552
- <div class="stat-card bg-[#1e1e1e] p-6 rounded-lg text-center">
553
- <p class="text-4xl font-bold text-primary mb-2">120+</p>
554
- <p>Total Athletes</p>
555
- </div>
556
- <div class="stat-card bg-[#1e1e1e] p-6 rounded-lg text-center">
557
- <p class="text-4xl font-bold text-primary mb-2">18</p>
558
- <p>Championships Won</p>
559
- </div>
560
- <div class="stat-card bg-[#1e1e1e] p-6 rounded-lg text-center">
561
- <p class="text-4xl font-bold text-primary mb-2">5</p>
562
- <p>Sports Offered</p>
563
- </div>
564
- <div class="stat-card bg-[#1e1e1e] p-6 rounded-lg text-center">
565
- <p class="text-4xl font-bold text-primary mb-2">85</p>
566
- <p>Games Played</p>
567
- </div>
568
- </div>
569
- </div>
570
- </section>
571
-
572
- <!-- Coaches Spotlight -->
573
- <section class="py-16">
574
- <div class="container mx-auto px-4">
575
- <h2 class="text-3xl font-bold text-primary mb-8">MEET OUR COACHES</h2>
576
- <div class="grid grid-cols-1 md:grid-cols-3 gap-8">
577
- <div class="coach-card bg-[#1e1e1e] rounded-lg overflow-hidden">
578
- <div class="md:flex">
579
- <img src="http://static.photos/people/200x200/21" alt="Andrew Dean" class="w-full md:w-32 h-32 object-cover">
580
- <div class="p-6">
581
- <h3 class="text-xl font-bold">Andrew Dean</h3>
582
- <p class="text-secondary mb-2">Head of Athletics</p>
583
- <p>Former professional athlete with 15+ years coaching experience.</p>
584
- </div>
585
- </div>
586
- <div class="px-6 pb-6">
587
- <a href="council.html" class="inline-block mt-2 text-primary hover:underline">View Profile</a>
588
- </div>
589
- </div>
590
-
591
- <div class="coach-card bg-[#1e1e1e] rounded-lg overflow-hidden">
592
- <div class="md:flex">
593
- <img src="http://static.photos/people/200x200/22" alt="Basketball Coach" class="w-full md:w-32 h-32 object-cover">
594
- <div class="p-6">
595
- <h3 class="text-xl font-bold">Sarith Meng</h3>
596
- <p class="text-secondary mb-2">Basketball Coach</p>
597
- <p>National team experience, focuses on fundamentals and teamwork.</p>
598
- </div>
599
- </div>
600
- <div class="px-6 pb-6">
601
- <a href="basketball.html" class="inline-block mt-2 text-primary hover:underline">View Team</a>
602
- </div>
603
- </div>
604
-
605
- <div class="coach-card bg-[#1e1e1e] rounded-lg overflow-hidden">
606
- <div class="md:flex">
607
- <img src="http://static.photos/people/200x200/23" alt="Volleyball Coach" class="w-full md:w-32 h-32 object-cover">
608
- <div class="p-6">
609
- <h3 class="text-xl font-bold">Sok Vanna</h3>
610
- <p class="text-secondary mb-2">Volleyball Coach</p>
611
- <p>Olympic training background, emphasizes technique and strategy.</p>
612
- </div>
613
- </div>
614
- <div class="px-6 pb-6">
615
- <a href="volleyball.html" class="inline-block mt-2 text-primary hover:underline">View Team</a>
616
- </div>
617
- </div>
618
- </div>
619
- <div class="text-center mt-8">
620
- <a href="council.html" class="inline-block bg-primary text-dark font-bold py-2 px-6 rounded hover:bg-[#4ab3c6] transition">View All Coaches</a>
621
- </div>
622
- </div>
623
- </section>
624
-
625
- <!-- Footer -->
626
- <footer class="bg-darker py-12 border-t border-[#2e2e2e]">
627
- <div class="container mx-auto px-4">
628
- <div class="grid grid-cols-1 md:grid-cols-3 gap-8">
629
- <div>
630
- <h3 class="text-xl font-bold mb-4">Contact Info</h3>
631
- <p>Northbridge International School Cambodia</p>
632
- <p>#98C, Street 169, Phnom Penh</p>
633
- <p>Email: info@nagas.edu.kh</p>
634
- <p>Phone: +855 12 345 678</p>
635
- </div>
636
- <div>
637
- <h3 class="text-xl font-bold mb-4">Follow Us</h3>
638
- <div class="flex space-x-4">
639
- <a href="#" class="text-primary hover:text-secondary">
640
- <i data-feather="facebook"></i>
641
- </a>
642
- <a href="#" class="text-primary hover:text-secondary">
643
- <i data-feather="instagram"></i>
644
- </a>
645
- <a href="#" class="text-primary hover:text-secondary">
646
- <i data-feather="twitter"></i>
647
- </a>
648
- </div>
649
- <p class="mt-2">@NAGAS_NISC</p>
650
- </div>
651
- <div>
652
- <h3 class="text-xl font-bold mb-4">Quick Links</h3>
653
- <ul class="space-y-2">
654
- <li><a href="teams.html" class="hover:text-primary">Teams</a></li>
655
- <li><a href="schedule.html" class="hover:text-primary">Schedule</a></li>
656
- <li><a href="news.html" class="hover:text-primary">News</a></li>
657
- <li><a href="#" class="hover:text-primary">Athlete Portal</a></li>
658
- </ul>
659
- </div>
660
- </div>
661
- <div class="border-t border-[#2e2e2e] mt-8 pt-8 text-center">
662
- <p>&copy; 2023 NAGAS - Northbridge Athletic Groups and Sports. All rights reserved.</p>
663
- </div>
664
- </div>
665
- </footer>
666
-
667
- <script>
668
- feather.replace();
669
-
670
- // Sport filtering functionality
671
- document.getElementById('sportFilter').addEventListener('change', function() {
672
- const selectedSport = this.value;
673
- const sportCards = document.querySelectorAll('.sport-card');
674
-
675
- sportCards.forEach(card => {
676
- if (selectedSport === 'all') {
677
- card.style.display = 'block';
678
- } else {
679
- if (card.dataset.sport === selectedSport) {
680
- card.style.display = 'block';
681
- } else {
682
- card.style.display = 'none';
683
- }
684
- }
685
- });
686
- });
687
- </script>
688
- </body>
689
- </html>
 
274
  </div>
275
  </div>
276
  </section>
277
+ <!-- Season Highlights -->
 
278
  <section class="py-16 border-b border-[#2e2e2e]">
279
  <div class="container mx-auto px-4">
280
  <h2 class="text-3xl font-bold text-primary mb-8">CURRENT SEASON</h2>
 
407
  </div>
408
  <p class="mt-2">@NAGAS_NISC</p>
409
  </div>
410
+ <div>
411
  <h3 class="text-xl font-bold mb-4">Quick Links</h3>
412
  <ul class="space-y-2">
413
  <li><a href="teams.html" class="hover:text-primary">Teams</a></li>
 
422
  </div>
423
  </div>
424
  </footer>
 
425
  <script>
426
  feather.replace();
427
 
 
454
  </script>
455
  </body>
456
  </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
track.html CHANGED
@@ -612,7 +612,7 @@
612
  </div>
613
  <p class="mt-2">@NAGAS_NISC</p>
614
  </div>
615
- <div>
616
  <h3 class="text-xl font-bold mb-4">Quick Links</h3>
617
  <ul class="space-y-2">
618
  <li><a href="teams.html" class="hover:text-primary">Teams</a></li>
 
612
  </div>
613
  <p class="mt-2">@NAGAS_NISC</p>
614
  </div>
615
+ <div>
616
  <h3 class="text-xl font-bold mb-4">Quick Links</h3>
617
  <ul class="space-y-2">
618
  <li><a href="teams.html" class="hover:text-primary">Teams</a></li>
volleyball.html CHANGED
@@ -704,7 +704,7 @@
704
  </div>
705
  <p class="mt-2">@NAGAS_NISC</p>
706
  </div>
707
- <div>
708
  <h3 class="text-xl font-bold mb-4">Quick Links</h3>
709
  <ul class="space-y-2">
710
  <li><a href="teams.html" class="hover:text-primary">Teams</a></li>
 
704
  </div>
705
  <p class="mt-2">@NAGAS_NISC</p>
706
  </div>
707
+ <div>
708
  <h3 class="text-xl font-bold mb-4">Quick Links</h3>
709
  <ul class="space-y-2">
710
  <li><a href="teams.html" class="hover:text-primary">Teams</a></li>