Spaces:
Running
Running
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Atlantic Shores Roleplay | Home</title> | |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> | |
| <link rel="stylesheet" href="style.css"> | |
| <link rel="icon" href="Assets/fav.png"/> | |
| <!-- SEO Meta Tags --> | |
| <meta name="description" content="Atlantic Shores Roleplay is a FiveM community for players aged 18 and older, set in Key West, Florida. Join a realistic roleplay experience today!"> | |
| <meta name="keywords" content="Atlantic Shores Roleplay, FiveM, GTA V Roleplay, Key West, Florida Roleplay, 18+ Community, Realistic Roleplay"> | |
| <meta name="robots" content="index, follow"> | |
| <!-- Open Graph Tags --> | |
| <meta property="og:type" content="website"> | |
| <meta property="og:title" content="Atlantic Shores Roleplay"> | |
| <meta property="og:description" content="Atlantic Shores Roleplay is a FiveM community for players aged 18 and older, set in Key West, Florida. Join a realistic roleplay experience today!"> | |
| <meta property="og:image" content="https://asrp.us/Assets/Heya.png"> | |
| <meta property="og:url" content="https://asrp.us"> | |
| <meta property="og:site_name" content="Atlantic Shores Roleplay"> | |
| <!-- Twitter Card Tags --> | |
| <meta name="twitter:card" content="summary_large_image"> | |
| <meta name="twitter:title" content="Atlantic Shores Roleplay"> | |
| <meta name="twitter:description" content="Atlantic Shores Roleplay is a 18+ FiveM Community based in Key West, Florida"> | |
| <meta name="twitter:image" content="https://asrp.us/Assets/Heya.png"> | |
| <!-- Structured Data (Schema.org) --> | |
| <script type="application/ld+json"> | |
| { | |
| "@context": "https://schema.org", | |
| "@type": "Organization", | |
| "url": "https://asrp.us", | |
| "logo": "https://asrp.us/Assets/logo.png", | |
| "name": "Atlantic Shores Roleplay", | |
| "description": "Atlantic Shores Roleplay is a FiveM community for players aged 18 and older, set in Key West, Florida. Join a realistic roleplay experience today!", | |
| "sameAs": [ | |
| "https://facebook.com/AtlanticShoresRP", | |
| "https://twitter.com/AtlanticShoresRP" | |
| ] | |
| } | |
| </script> | |
| </head> | |
| <body class="bg-black text-gray-100 font-sans"> | |
| <!-- Header with Logo and Navigation --> | |
| <header class="fixed w-full z-50 bg-black bg-opacity-90 shadow-lg"> | |
| <div class="container mx-auto px-4 py-3 flex justify-between items-center"> | |
| <div class="flex items-center"> | |
| <img src="Assets/logo.png" alt="Atlantic Shores Logo" class="h-[50px] w-[320px]" align=left> | |
| </div> | |
| <nav class="hidden md:flex space-x-6"> | |
| <a href="https://asrp.us" class="nav-link px-3 py-2 text-gray-300 hover:text-white hover:bg-gradient-to-r hover:from-[#23d7d6]/10 hover:to-[#327aaf]/10 rounded-lg transition-all duration-300 flex items-center"> | |
| <i class="fas fa-home mr-2 text-sm"></i> Home | |
| </a> | |
| <a href="#about" class="nav-link px-3 py-2 text-gray-300 hover:text-white hover:bg-gradient-to-r hover:from-[#23d7d6]/10 hover:to-[#327aaf]/10 rounded-lg transition-all duration-300 flex items-center"> | |
| <i class="fas fa-info-circle mr-2 text-sm"></i> About | |
| </a> | |
| <a href="#dept" class="nav-link px-3 py-2 text-gray-300 hover:text-white hover:bg-gradient-to-r hover:from-[#23d7d6]/10 hover:to-[#327aaf]/10 rounded-lg transition-all duration-300 flex items-center"> | |
| <i class="fas fa-building mr-2 text-sm"></i> Departments | |
| </a> | |
| <a href="https://docs.google.com/document/d/1smQRxW98qs1LAvXO69y3h4DE5JOkwmAURhBy3I4_usc/edit?tab=t.0" class="nav-link px-3 py-2 text-gray-300 hover:text-white hover:bg-gradient-to-r hover:from-[#23d7d6]/10 hover:to-[#327aaf]/10 rounded-lg transition-all duration-300 flex items-center"> | |
| <i class="fas fa-book mr-2 text-sm"></i> Requirements | |
| </a> | |
| <a href="https://asrp.us/apply" class="nav-link px-3 py-2 text-gray-300 hover:text-white hover:bg-gradient-to-r hover:from-[#23d7d6]/10 hover:to-[#327aaf]/10 rounded-lg transition-all duration-300 flex items-center"> | |
| <i class="fas fa-user-plus mr-2 text-sm"></i> Apply Now | |
| </a> | |
| </nav> | |
| <button class="md:hidden text-gray-300 hover:text-white bg-gray-800 hover:bg-gray-700 p-2 rounded-lg transition-colors duration-300"> | |
| <i class="fas fa-bars text-xl"></i> | |
| </button> | |
| </div> | |
| </header> | |
| <br><br><br> | |
| <!-- Hero Section with Video Background --> | |
| <section class="video-background"> | |
| <video autoplay muted loop> | |
| <source src="Assets/AboutUs.mp4" type="video/mp4"> | |
| Your browser does not support the video tag. | |
| </video> | |
| <div class="video-overlay"></div> | |
| <div class="content h-full flex flex-col justify-center items-center text-center px-4"> | |
| <div class="max-w-4xl mx-auto"> | |
| <div class="flex items-center mb-10"> | |
| <div class="text-left pr-6 border-r border-gray-500"> | |
| <p class="text-xl md:text-2xl font-bold gradient-text">Unleashing Passion,<br>Redefining Reality</p> | |
| </div> | |
| <div class="text-left pl-6 text-gray-300"> | |
| <p class="text-lg md:text-xl">Established in early 2023, we are dedicated to creating a unique, realistic, inclusive and authentic Florida based community</p> | |
| </div> | |
| </div> | |
| <div class="flex flex-wrap justify-center gap-4 mb-16"> | |
| <a href="https://asrp.us/apply" class="px-8 py-3 bg-gradient-to-r from-[#23d7d6] to-[#327aaf] hover:from-[#327aaf] hover:to-[#43067c] rounded-full font-semibold transition duration-300 transform hover:scale-105 shadow-lg"> | |
| <i class="fas fa-user-plus mr-2"></i> Apply Now | |
| </a> | |
| <a href="https://docs.google.com/document/d/1smQRxW98qs1LAvXO69y3h4DE5JOkwmAURhBy3I4_usc/edit?tab=t.0" class="px-8 py-3 bg-transparent border-2 border-blue-500 hover:bg-blue-900 hover:bg-opacity-30 rounded-full font-semibold transition duration-300 transform hover:scale-105"> | |
| <i class="fas fa-book-open mr-2"></i> Requirements | |
| </a> | |
| </div> | |
| <div class="grid grid-cols-2 md:grid-cols-4 gap-4 mt-8"> | |
| <div class="counter-item bg-gray-900 bg-opacity-70 p-4 rounded-lg"> | |
| <div class="text-3xl font-bold text-[#23d7d6]" id="playerCount">0</div> | |
| <div class="text-gray-400">Arrests</div> | |
| </div> | |
| <div class="counter-item bg-gray-900 bg-opacity-70 p-4 rounded-lg"> | |
| <div class="text-3xl font-bold text-blue-400">5000+</div> | |
| <div class="text-gray-400">Citations</div> | |
| </div> | |
| <div class="counter-item bg-gray-900 bg-opacity-70 p-4 rounded-lg"> | |
| <div class="text-3xl font-bold text-blue-400">2 Years</div> | |
| <div class="text-gray-400">Of Service</div> | |
| </div> | |
| <div class="counter-item bg-gray-900 bg-opacity-70 p-4 rounded-lg"> | |
| <div class="text-3xl font-bold text-blue-400">100%</div> | |
| <div class="text-gray-400">Whitelisted</div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- About Us Section --> | |
| <section class="py-20 bg-gradient-to-b from-gray-900 to-black"> | |
| <div class="container mx-auto px-4"> | |
| <div class="text-center mb-16"> | |
| <h2 id="about" class="text-3xl md:text-4xl font-bold mb-4 bg-gradient-to-r from-blue-400 to-blue-600 bg-clip-text text-transparent">Our Community</h2> | |
| <p class="max-w-4xl mx-auto text-gray-400">What Sets Us Apart.</p> | |
| </div> | |
| <div class="grid grid-cols-1 lg:grid-cols-2 gap-12 items-center"> | |
| <div> | |
| <h3 class="text-2xl font-bold mb-4 text-white">Our Mission</h3> | |
| <p class="text-gray-400 mb-6">Our mission is to create an immersive, well-balanced roleplay environment rooted in the unique setting of Key West, Florida. We aim to provide a space where players can enjoy realistic law enforcement, emergency services, and civilian experiences, all while fostering community, creativity, and respect for quality roleplay. Every department, from public safety to private security, plays a part in keeping the world alive and engaging and we're committed to maintaining a server where that effort shows.</p> | |
| <h3 class="text-2xl font-bold mb-4 text-white">What We Offer</h3> | |
| <ul class="space-y-3 text-gray-400"> | |
| <li class="flex items-start"> | |
| <i class="fas fa-check-circle text-[#23d7d6] mt-1 mr-3"></i> | |
| <span>Whitelisted, high-quality roleplay with active staff</span> | |
| </li> | |
| <li class="flex items-start"> | |
| <i class="fas fa-check-circle text-[#23d7d6] mt-1 mr-3"></i> | |
| <span>Custom Assets And Active Development</span> | |
| </li> | |
| <li class="flex items-start"> | |
| <i class="fas fa-check-circle text-[#23d7d6] mt-1 mr-3"></i> | |
| <span>Multiple Departments And Sub-Divisons</span> | |
| </li> | |
| <li class="flex items-start"> | |
| <i class="fas fa-check-circle text-[#23d7d6] mt-1 mr-3"></i> | |
| <span>Fun And Engaging Roleplay</span> | |
| </li> | |
| </ul> | |
| </div> | |
| <iframe width="560" height="315" src="https://www.youtube.com/embed/o8SovrWRHYQ?si=mfDSI_iCPkuDqmk_" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Departments Section --> | |
| <section class="py-20 bg-gradient-to-b from-gray-900 to-black"> | |
| <div class="container mx-auto px-4"> | |
| <div class="text-center mb-16"> | |
| <h2 id="dept" class="text-3xl md:text-4xl font-bold mb-4 bg-gradient-to-r from-blue-400 to-blue-600 bg-clip-text text-transparent">Our Departments</h2> | |
| <p class="max-w-2xl mx-auto text-gray-400">Be Who You Want To Be.</p> | |
| </div> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-5 gap-8"> | |
| <!-- LSPD --> | |
| <div class="department-card bg-gray-800 rounded-lg overflow-hidden hover:bg-gray-700"> | |
| <div class="h-48 bg-gradient-to-br from-[#23d7d6] to-[#327aaf] flex items-center justify-center" oncontextmenu="return false;"> | |
| <img src="Assets/Depts/lspd.png" alt="LSPD Logo" class="h-32 w-32 object-contain"> | |
| </div> | |
| <div class="p-6"> | |
| <h3 class="text-xl font-bold mb-2 text-blue-400">Los Santos Police Department</h3> | |
| <p class="text-gray-400 mb-4">We will ensure public safety, enforce the law with integrity, and provide extraordinary service.</p> | |
| </div> | |
| </div> | |
| <!-- BCSO --> | |
| <div class="department-card bg-gray-800 rounded-lg overflow-hidden hover:bg-gray-700"> | |
| <div class="h-48 bg-blue-800 flex items-center justify-center" oncontextmenu="return false;"> | |
| <img src="Assets/Depts/BCSO.png" alt="BCSO Logo" class="h-32 w-32 object-contain"> | |
| </div> | |
| <div class="p-6"> | |
| <h3 class="text-xl font-bold mb-2 text-blue-400">Blaine County Sheriff's Office</h3> | |
| <p class="text-gray-400 mb-4">The Blaine County Sheriff’s Office is committed to excellence in law enforcement, ensuring the safety of our residents and visitors</p> | |
| </div> | |
| </div> | |
| <!-- EMS --> | |
| <div class="department-card bg-gray-800 rounded-lg overflow-hidden hover:bg-gray-700"> | |
| <div class="h-48 bg-gradient-to-br from-[#23d7d6] to-[#327aaf] flex items-center justify-center" oncontextmenu="return false;"> | |
| <img src="Assets/Depts/SAHP.png" alt="EMS Logo" class="h-32 w-32 object-contain"> | |
| </div> | |
| <div class="p-6"> | |
| <h3 class="text-xl font-bold mb-2 text-blue-400">San Andreas Highway Patrol</h3> | |
| <p class="text-gray-400 mb-4">The San Andreas Highway Patrol Is Dedicated To Protecting The Visitors And Residents Of San Andreas</p> | |
| </div> | |
| </div> | |
| <!-- DOJ --> | |
| <div class="department-card bg-gray-800 rounded-lg overflow-hidden hover:bg-gray-700"> | |
| <div class="h-48 bg-purple-900 flex items-center justify-center" oncontextmenu="return false;"> | |
| <img src="Assets/Depts/civ.png" alt="DOJ Logo" class="h-32 w-32 object-contain"> | |
| </div> | |
| <div class="p-6"> | |
| <h3 class="text-xl font-bold mb-2 text-purple-400">Civilian Operations</h3> | |
| <p class="text-gray-400 mb-4">It is our ambition to ensure San Andreas comes to life in a manner that all can enjoy and participate in.</p> | |
| </div> | |
| </div> | |
| <!-- Fire Department --> | |
| <div class="department-card bg-gray-800 rounded-lg overflow-hidden hover:bg-gray-700"> | |
| <div class="h-48 bg-orange-900 flex items-center justify-center" oncontextmenu="return false;"> | |
| <img src="Assets/Depts/FIRE.png" alt="Fire Department Logo" class="h-32 w-32 object-contain"> | |
| </div> | |
| <div class="p-6"> | |
| <h3 class="text-xl font-bold mb-2 text-orange-400">Fire Department</h3> | |
| <p class="text-gray-400 mb-4">The mission of San Andreas Fire Operations is to ensure our citizen and visitors safety</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Requirements Section --> | |
| <section class="py-20 bg-gradient-to-b from-gray-900 to-black"> | |
| <div class="container mx-auto px-4"> | |
| <div class="text-center mb-16"> | |
| <h2 class="text-3xl md:text-4xl font-bold mb-4 bg-gradient-to-r from-blue-400 to-blue-600 bg-clip-text text-transparent">Community Requirements</h2> | |
| <p class="max-w-2xl mx-auto text-gray-400">What you'll need to join our community</p> | |
| </div> | |
| <div class="grid grid-cols-1 md:grid-cols-3 gap-8 max-w-6xl mx-auto"> | |
| <!-- Requirement 1 --> | |
| <div class="bg-gray-800 rounded-lg p-8 hover:bg-gray-700 transition duration-300"> | |
| <div class="text-blue-400 text-4xl mb-4"> | |
| <i class="fas fa-microphone"></i> | |
| </div> | |
| <h3 class="text-xl font-bold mb-3 text-white">Microphone</h3> | |
| <p class="text-gray-400">A working microphone is required for all members to ensure quality roleplay.</p> | |
| </div> | |
| <!-- Requirement 2 --> | |
| <div class="bg-gray-800 rounded-lg p-8 hover:bg-gray-700 transition duration-300"> | |
| <div class="text-blue-400 text-4xl mb-4"> | |
| <i class="fas fa-user-check"></i> | |
| </div> | |
| <h3 class="text-xl font-bold mb-3 text-white">Age Requirement</h3> | |
| <p class="text-gray-400">You must be at least 18 years old to join our community.</p> | |
| </div> | |
| <!-- Requirement 3 --> | |
| <div class="bg-gray-800 rounded-lg p-8 hover:bg-gray-700 transition duration-300"> | |
| <div class="text-blue-400 text-4xl mb-4"> | |
| <i class="fas fa-gamepad"></i> | |
| </div> | |
| <h3 class="text-xl font-bold mb-3 text-white">FiveM Ready</h3> | |
| <p class="text-gray-400">You'll need a legitimate copy of GTA V and FiveM installed to play on our server.</p> | |
| </div> | |
| </div> | |
| <div class="text-center mt-12"> | |
| <a href="https://docs.google.com/document/d/1smQRxW98qs1LAvXO69y3h4DE5JOkwmAURhBy3I4_usc/edit?tab=t.0" class="inline-block px-8 py-3 bg-gradient-to-r from-[#23d7d6] to-[#327aaf] hover:from-[#327aaf] hover:to-[#43067c] rounded-full font-semibold transition duration-300 transform hover:scale-105 shadow-lg"> | |
| <i class="fas fa-info-circle mr-2"></i> Full Requirements Guide | |
| </a> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Image Gallery Section | |
| <section class="py-20 bg-gradient-to-b from-gray-900 to-black"> | |
| <div class="container mx-auto px-4"> | |
| <div class="text-center mb-16"> | |
| <h2 class="text-3xl md:text-4xl font-bold mb-4 bg-gradient-to-r from-blue-400 to-blue-600 bg-clip-text text-transparent">Community Gallery</h2> | |
| <p class="max-w-2xl mx-auto text-gray-400">See moments from our community</p> | |
| </div> | |
| <div class="relative max-w-4xl mx-auto"> | |
| <div class="relative h-[500px] overflow-hidden rounded-xl"> | |
| <div class="gallery-slides flex transition-transform duration-500 ease-in-out"> | |
| <div class="min-w-full"> | |
| <img src="Assets/Gallery/1.png" alt="Community Event" class="w-full h-96 object-cover"> | |
| </div> | |
| <div class="min-w-full"> | |
| <img src="https://via.placeholder.com/1366x768/23d7d6/ffffff?text=Roleplay+Scene" alt="Roleplay Scene" class="w-full h-[500px] object-cover"> | |
| </div> | |
| <div class="min-w-full"> | |
| <img src="https://via.placeholder.com/1366x768/43067c/ffffff?text=Department+Training" alt="Department Training" class="w-full h-[500px] object-cover"> | |
| </div> | |
| </div> | |
| </div> | |
| <button class="gallery-prev absolute left-4 top-1/2 -translate-y-1/2 bg-black bg-opacity-50 text-white p-3 rounded-full hover:bg-opacity-75 transition"> | |
| <i class="fas fa-chevron-left text-xl"></i> | |
| </button> | |
| <button class="gallery-next absolute right-4 top-1/2 -translate-y-1/2 bg-black bg-opacity-50 text-white p-3 rounded-full hover:bg-opacity-75 transition"> | |
| <i class="fas fa-chevron-right text-xl"></i> | |
| </button> | |
| <div class="flex justify-center mt-4 space-x-2"> | |
| <button class="gallery-indicator w-3 h-3 rounded-full bg-gray-600 hover:bg-gray-400 transition" data-slide="0"></button> | |
| <button class="gallery-indicator w-3 h-3 rounded-full bg-gray-600 hover:bg-gray-400 transition" data-slide="1"></button> | |
| <button class="gallery-indicator w-3 h-3 rounded-full bg-gray-600 hover:bg-gray-400 transition" data-slide="2"></button> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| --> | |
| <!-- Footer --> | |
| <footer class="bg-black py-12 border-t border-gray-800"> | |
| <div class="container mx-auto px-4"> | |
| <div class="grid grid-cols-1 md:grid-cols-4 gap-8"> | |
| <div> | |
| <div class="flex items-center mb-4"> | |
| <img src="Assets/fav.png" alt="Atlantic Shores Logo" class="h-[190px] w-[220px]"> | |
| </div> | |
| <p class="text-gray-400">A 18+ Whitelisted FiveM Community Based In Key West Florida. We Strive To Create A Inclusive And Welcoming Community</p> | |
| </div> | |
| <div> | |
| <h4 class="text-lg font-semibold mb-4 text-white">Quick Links</h4> | |
| <ul class="space-y-2"> | |
| <li><a href="https://asrp.us" class="text-gray-400 hover:text-blue-400 transition">Home</a></li> | |
| <li><a href="https://asrp.us/apply" class="text-gray-400 hover:text-blue-400 transition">Apply</a></li> | |
| <li><a href="#dept" class="text-gray-400 hover:text-blue-400 transition">Departments</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h4 class="text-lg font-semibold mb-4 text-white">Connect</h4> | |
| <ul class="space-y-2"> | |
| <li><a href="https://discord.gg/js6qx7PbQC" class="text-gray-400 hover:text-blue-400 transition"><i class="fab fa-discord mr-2"></i> Discord</a></li> | |
| <li><a href="https://x.com/ASRP_Official_" class="text-gray-400 hover:text-blue-400 transition"><i class="fab fa-twitter mr-2"></i> Twitter</a></li> | |
| <li><a href="https://www.youtube.com/@asrp.online" class="text-gray-400 hover:text-blue-400 transition"><i class="fab fa-youtube mr-2"></i> YouTube</a></li> | |
| <li><a href="https://www.instagram.com/asrp.us/" class="text-gray-400 hover:text-blue-400 transition"><i class="fab fa-instagram mr-2"></i> Instagram</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h4 class="text-lg font-semibold mb-4 text-white">Server Info</h4> | |
| <div class="bg-gray-900 p-4 rounded-lg"> | |
| <div class="flex items-center mb-2"> | |
| <div class="w-3 h-3 rounded-full bg-green-500 mr-2"></div> | |
| <span class="text-gray-300">Server Status: <span class="text-green-400">Online</span></span> | |
| </div> | |
| <div class="text-gray-400">Website: <a href="https://asrp.us" class="text-[#23d7d6] hover:underline">asrp.us</a></div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="border-t border-gray-800 mt-12 pt-8 text-center text-gray-500"> | |
| <p>© 2023 Atlantic Shores Roleplay. All rights reserved. | Developed By RedneckRyan</p> | |
| </div> | |
| </div> | |
| </footer> | |
| <style> | |
| .gallery-slides { | |
| display: flex; | |
| width: 300%; | |
| } | |
| .gallery-slide { | |
| flex: 0 0 33.333%; | |
| transition: transform 0.5s ease; | |
| } | |
| </style> | |
| <script> | |
| // Image Gallery Functionality | |
| document.addEventListener('DOMContentLoaded', function() { | |
| const slides = document.querySelector('.gallery-slides'); | |
| const prevBtn = document.querySelector('.gallery-prev'); | |
| const nextBtn = document.querySelector('.gallery-next'); | |
| const indicators = document.querySelectorAll('.gallery-indicator'); | |
| let currentIndex = 0; | |
| let slideInterval; | |
| function goToSlide(index) { | |
| slides.style.transform = `translateX(-${index * 100}%)`; | |
| currentIndex = index; | |
| updateIndicators(); | |
| } | |
| function nextSlide() { | |
| currentIndex = (currentIndex + 1) % 3; | |
| goToSlide(currentIndex); | |
| } | |
| function prevSlide() { | |
| currentIndex = (currentIndex - 1 + 3) % 3; | |
| goToSlide(currentIndex); | |
| } | |
| function updateIndicators() { | |
| indicators.forEach((indicator, index) => { | |
| indicator.classList.toggle('bg-blue-500', index === currentIndex); | |
| indicator.classList.toggle('bg-gray-600', index !== currentIndex); | |
| }); | |
| } | |
| function startAutoSlide() { | |
| slideInterval = setInterval(nextSlide, 5000); | |
| } | |
| function stopAutoSlide() { | |
| clearInterval(slideInterval); | |
| } | |
| // Event listeners | |
| nextBtn.addEventListener('click', () => { | |
| stopAutoSlide(); | |
| nextSlide(); | |
| startAutoSlide(); | |
| }); | |
| prevBtn.addEventListener('click', () => { | |
| stopAutoSlide(); | |
| prevSlide(); | |
| startAutoSlide(); | |
| }); | |
| indicators.forEach(indicator => { | |
| indicator.addEventListener('click', () => { | |
| stopAutoSlide(); | |
| goToSlide(parseInt(indicator.dataset.slide)); | |
| startAutoSlide(); | |
| }); | |
| }); | |
| // Start auto sliding | |
| startAutoSlide(); | |
| // Pause on hover | |
| const gallery = document.querySelector('.gallery-slides'); | |
| gallery.addEventListener('mouseenter', stopAutoSlide); | |
| gallery.addEventListener('mouseleave', startAutoSlide); | |
| }); | |
| // Animated counter for player count | |
| function animateCounter(elementId, target, duration = 2000) { | |
| const element = document.getElementById(elementId); | |
| const start = 0; | |
| const increment = target / (duration / 16); | |
| let current = start; | |
| const timer = setInterval(() => { | |
| current += increment; | |
| if (current >= target) { | |
| clearInterval(timer); | |
| current = target; | |
| } | |
| element.textContent = Math.floor(current); | |
| document.getElementById('footerPlayerCount').textContent = Math.floor(current); | |
| }, 16); | |
| } | |
| // Start counters when page loads | |
| window.addEventListener('load', () => { | |
| // Simulate 87 players online | |
| animateCounter('playerCount', 3000); | |
| }); | |
| </script> | |
| <script> | |
| // Prevent right-click on entire document | |
| document.addEventListener('contextmenu', function(e) { | |
| if (e.target.tagName === 'IMG') { | |
| e.preventDefault(); | |
| } | |
| }); | |
| </script> | |
| <script defer src="https://static.cloudflareinsights.com/beacon.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015" integrity="sha512-ZpsOmlRQV6y907TI0dKBHq9Md29nnaEIPlkf84rnaERnq6zvWvPUqr2ft8M1aS28oN72PdrCzSjY4U6VaAw1EQ==" data-cf-beacon='{"version":"2024.11.0","token":"326180491b2f4db492c1cd2edb37cc7a","r":1,"server_timing":{"name":{"cfCacheStatus":true,"cfEdge":true,"cfExtPri":true,"cfL4":true,"cfOrigin":true,"cfSpeedBrain":true},"location_startswith":null}}' crossorigin="anonymous"></script> | |
| </body> | |
| </html> |