Download index.html from ismango/abris: direct link, hf CLI and curl.
- Browser
- Download file 27.6 kB
-
https://huggingface.co/spaces/ismango/abris/resolve/main/index.html
- Command line
-
hf download hf://spaces/ismango/abris/index.html
-
curl -L -o index.html https://huggingface.co/spaces/ismango/abris/resolve/main/index.html
27.6 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Car Shelters & Event Tents in Québec – Buy or Rent with Abris Crystal</title> | |
| <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"> | |
| <link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap" rel="stylesheet"> | |
| <style> | |
| body { | |
| font-family: 'Montserrat', sans-serif; | |
| scroll-behavior: smooth; | |
| } | |
| .nav-link:hover { | |
| color: #F58025; | |
| } | |
| .category-icon:hover { | |
| transform: translateY(-5px); | |
| transition: all 0.3s ease; | |
| } | |
| .testimonial-slider { | |
| scroll-snap-type: x mandatory; | |
| } | |
| .testimonial-slide { | |
| scroll-snap-align: start; | |
| } | |
| @keyframes bounce { | |
| 0%, 100% { transform: translateY(0); } | |
| 50% { transform: translateY(-10px); } | |
| } | |
| .bounce-hover:hover { | |
| animation: bounce 0.5s; | |
| } | |
| .language-toggle { | |
| position: relative; | |
| } | |
| .language-toggle::after { | |
| content: ''; | |
| position: absolute; | |
| bottom: -5px; | |
| left: 0; | |
| width: 100%; | |
| height: 2px; | |
| background-color: #F58025; | |
| transform: scaleX(0); | |
| transition: transform 0.3s ease; | |
| } | |
| .language-toggle.active::after { | |
| transform: scaleX(1); | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-[#F7F7F7]"> | |
| <!-- Header --> | |
| <header class="sticky top-0 z-50 bg-white shadow-md"> | |
| <div class="container mx-auto px-4 py-3 flex justify-between items-center"> | |
| <!-- Logo --> | |
| <div class="flex items-center"> | |
| <div class="w-12 h-12 bg-[#002B5B] rounded-md flex items-center justify-center mr-2"> | |
| <div class="w-8 h-8 bg-[#F58025] rounded-sm"></div> | |
| </div> | |
| <span class="text-xl font-bold text-[#002B5B]">ABRIS CRYSTAL</span> | |
| </div> | |
| <!-- Desktop Menu --> | |
| <nav class="hidden md:flex space-x-8"> | |
| <a href="#" class="nav-link text-[#002B5B] font-medium">Car Shelters</a> | |
| <a href="#" class="nav-link text-[#002B5B] font-medium">Event Tents</a> | |
| <a href="#" class="nav-link text-[#002B5B] font-medium">Packages</a> | |
| <a href="#" class="nav-link text-[#002B5B] font-medium">Rentals</a> | |
| <a href="#" class="nav-link text-[#002B5B] font-medium">Quote Builder</a> | |
| <a href="#" class="nav-link text-[#002B5B] font-medium">Blog</a> | |
| </nav> | |
| <!-- Language Toggle and CTA --> | |
| <div class="flex items-center space-x-4"> | |
| <div class="language-toggle active" id="englishToggle">EN</div> | |
| <div class="language-toggle" id="frenchToggle">FR</div> | |
| <button class="hidden md:block bg-[#F58025] text-white px-6 py-2 rounded-md font-medium hover:bg-opacity-90 transition"> | |
| Get a Quote | |
| </button> | |
| <button class="md:hidden text-[#002B5B]"> | |
| <i class="fas fa-bars text-2xl"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Mobile Menu --> | |
| <div class="md:hidden bg-white py-2 px-4 shadow-lg hidden" id="mobileMenu"> | |
| <a href="#" class="block py-2 text-[#002B5B]">Car Shelters</a> | |
| <a href="#" class="block py-2 text-[#002B5B]">Event Tents</a> | |
| <a href="#" class="block py-2 text-[#002B5B]">Packages</a> | |
| <a href="#" class="block py-2 text-[#002B5B]">Rentals</a> | |
| <a href="#" class="block py-2 text-[#002B5B]">Quote Builder</a> | |
| <a href="#" class="block py-2 text-[#002B5B]">Blog</a> | |
| <button class="w-full bg-[#F58025] text-white px-6 py-2 rounded-md font-medium mt-2 mb-2"> | |
| Get a Quote | |
| </button> | |
| </div> | |
| </header> | |
| <!-- Hero Section --> | |
| <section class="bg-white"> | |
| <div class="container mx-auto px-4 py-12 md:py-20 flex flex-col md:flex-row items-center"> | |
| <div class="md:w-1/2 mb-10 md:mb-0"> | |
| <h1 class="text-4xl md:text-5xl font-bold text-[#002B5B] mb-4"> | |
| Winter Shelters & Event Tents – Buy or Rent Today | |
| </h1> | |
| <p class="text-lg text-gray-600 mb-8"> | |
| Reliable, durable solutions for homes and events. | |
| </p> | |
| <div class="flex flex-col sm:flex-row space-y-4 sm:space-y-0 sm:space-x-4"> | |
| <button class="bg-[#F58025] text-white px-8 py-3 rounded-md font-medium hover:bg-opacity-90 transition"> | |
| Get a Quote | |
| </button> | |
| <button class="border-2 border-[#002B5B] text-[#002B5B] px-8 py-3 rounded-md font-medium hover:bg-[#002B5B] hover:text-white transition"> | |
| Browse Products | |
| </button> | |
| </div> | |
| </div> | |
| <div class="md:w-1/2"> | |
| <div class="bg-gray-200 h-80 md:h-96 rounded-lg overflow-hidden relative"> | |
| <!-- Placeholder for hero image --> | |
| <div class="absolute inset-0 bg-gradient-to-r from-[#002B5B] to-transparent opacity-20"></div> | |
| <div class="absolute bottom-0 right-0 w-full h-full flex items-end justify-end"> | |
| <div class="w-2/3 h-2/3 bg-gray-300 rounded-tl-lg"></div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Category Grid --> | |
| <section class="bg-[#F7F7F7] py-16"> | |
| <div class="container mx-auto px-4"> | |
| <div class="grid grid-cols-1 sm:grid-cols-3 gap-8"> | |
| <!-- Single Shelter --> | |
| <div class="bg-white rounded-lg shadow-md p-8 text-center hover:shadow-lg transition cursor-pointer bounce-hover"> | |
| <div class="w-20 h-20 bg-[#002B5B] rounded-full flex items-center justify-center mx-auto mb-6"> | |
| <i class="fas fa-car text-3xl text-white"></i> | |
| </div> | |
| <h3 class="text-xl font-bold text-[#002B5B] mb-2">Single Shelter</h3> | |
| <p class="text-gray-600">Perfect for one vehicle</p> | |
| </div> | |
| <!-- Double Shelter --> | |
| <div class="bg-white rounded-lg shadow-md p-8 text-center hover:shadow-lg transition cursor-pointer bounce-hover"> | |
| <div class="w-20 h-20 bg-[#002B5B] rounded-full flex items-center justify-center mx-auto mb-6"> | |
| <i class="fas fa-car-side text-3xl text-white"></i> | |
| <i class="fas fa-car-side text-3xl text-white ml-1"></i> | |
| </div> | |
| <h3 class="text-xl font-bold text-[#002B5B] mb-2">Double Shelter</h3> | |
| <p class="text-gray-600">Protect two vehicles</p> | |
| </div> | |
| <!-- Event Tents --> | |
| <div class="bg-white rounded-lg shadow-md p-8 text-center hover:shadow-lg transition cursor-pointer bounce-hover"> | |
| <div class="w-20 h-20 bg-[#002B5B] rounded-full flex items-center justify-center mx-auto mb-6"> | |
| <i class="fas fa-umbrella-beach text-3xl text-white"></i> | |
| </div> | |
| <h3 class="text-xl font-bold text-[#002B5B] mb-2">Event Tents</h3> | |
| <p class="text-gray-600">For any occasion</p> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Split Section - Car Shelters & Event Tents --> | |
| <section class="bg-white py-16"> | |
| <div class="container mx-auto px-4"> | |
| <div class="grid grid-cols-1 md:grid-cols-2 gap-8"> | |
| <!-- Car Shelters Card --> | |
| <div class="bg-gray-200 rounded-lg overflow-hidden shadow-md relative h-80"> | |
| <div class="absolute inset-0 bg-gradient-to-t from-black to-transparent opacity-60"></div> | |
| <div class="absolute bottom-0 left-0 p-8 text-white"> | |
| <h3 class="text-2xl font-bold mb-2">Car Shelters – Durable, Safe, Winter-Proof</h3> | |
| <button class="bg-[#F58025] text-white px-6 py-2 rounded-md font-medium hover:bg-opacity-90 transition mt-4"> | |
| View Details | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Event Tents Card --> | |
| <div class="bg-gray-300 rounded-lg overflow-hidden shadow-md relative h-80"> | |
| <div class="absolute inset-0 bg-gradient-to-t from-black to-transparent opacity-60"></div> | |
| <div class="absolute bottom-0 left-0 p-8 text-white"> | |
| <h3 class="text-2xl font-bold mb-2">Host Your Event in Style – Any Size, Any Occasion</h3> | |
| <button class="bg-[#F58025] text-white px-6 py-2 rounded-md font-medium hover:bg-opacity-90 transition mt-4"> | |
| Get a Quote | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Packages Section --> | |
| <section class="bg-[#F7F7F7] py-16"> | |
| <div class="container mx-auto px-4"> | |
| <div class="text-center mb-12"> | |
| <h2 class="text-3xl font-bold text-[#002B5B] mb-2">Complete Packages or Custom Configurations</h2> | |
| <p class="text-lg text-gray-600 max-w-2xl mx-auto"> | |
| Choose ready-made event bundles or mix & match your equipment. | |
| </p> | |
| </div> | |
| <div class="grid grid-cols-1 md:grid-cols-2 gap-8 max-w-4xl mx-auto"> | |
| <!-- Pre-Built Packages --> | |
| <div class="bg-white rounded-lg shadow-md p-8 hover:shadow-lg transition cursor-pointer"> | |
| <div class="w-16 h-16 bg-[#F58025] rounded-full flex items-center justify-center mx-auto mb-6 text-white text-2xl"> | |
| <i class="fas fa-box"></i> | |
| </div> | |
| <h3 class="text-xl font-bold text-[#002B5B] mb-2 text-center">Pre-Built Packages</h3> | |
| <p class="text-gray-600 text-center mb-6">Tent + Tables + Chairs</p> | |
| <button class="w-full bg-[#002B5B] text-white px-6 py-2 rounded-md font-medium hover:bg-opacity-90 transition"> | |
| Browse Packages | |
| </button> | |
| </div> | |
| <!-- Build Your Own --> | |
| <div class="bg-white rounded-lg shadow-md p-8 hover:shadow-lg transition cursor-pointer"> | |
| <div class="w-16 h-16 bg-[#F58025] rounded-full flex items-center justify-center mx-auto mb-6 text-white text-2xl"> | |
| <i class="fas fa-tools"></i> | |
| </div> | |
| <h3 class="text-xl font-bold text-[#002B5B] mb-2 text-center">Build Your Own</h3> | |
| <p class="text-gray-600 text-center mb-6">Choose tent + add accessories</p> | |
| <button class="w-full bg-[#002B5B] text-white px-6 py-2 rounded-md font-medium hover:bg-opacity-90 transition"> | |
| Start Customizing | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Equipment Grid --> | |
| <section class="bg-white py-16"> | |
| <div class="container mx-auto px-4"> | |
| <h2 class="text-3xl font-bold text-[#002B5B] mb-12 text-center">Event Equipment</h2> | |
| <div class="grid grid-cols-2 sm:grid-cols-3 md:grid-cols-6 gap-6"> | |
| <!-- Chairs --> | |
| <div class="bg-[#F7F7F7] rounded-lg p-6 text-center hover:shadow-md transition cursor-pointer category-icon"> | |
| <div class="w-16 h-16 bg-[#002B5B] rounded-full flex items-center justify-center mx-auto mb-4 text-white text-2xl"> | |
| <i class="fas fa-chair"></i> | |
| </div> | |
| <h3 class="font-medium text-[#002B5B]">Chairs</h3> | |
| </div> | |
| <!-- Tables --> | |
| <div class="bg-[#F7F7F7] rounded-lg p-6 text-center hover:shadow-md transition cursor-pointer category-icon"> | |
| <div class="w-16 h-16 bg-[#002B5B] rounded-full flex items-center justify-center mx-auto mb-4 text-white text-2xl"> | |
| <i class="fas fa-table"></i> | |
| </div> | |
| <h3 class="font-medium text-[#002B5B]">Tables</h3> | |
| </div> | |
| <!-- Dance Floor --> | |
| <div class="bg-[#F7F7F7] rounded-lg p-6 text-center hover:shadow-md transition cursor-pointer category-icon"> | |
| <div class="w-16 h-16 bg-[#002B5B] rounded-full flex items-center justify-center mx-auto mb-4 text-white text-2xl"> | |
| <i class="fas fa-music"></i> | |
| </div> | |
| <h3 class="font-medium text-[#002B5B]">Dance Floor</h3> | |
| </div> | |
| <!-- Lighting --> | |
| <div class="bg-[#F7F7F7] rounded-lg p-6 text-center hover:shadow-md transition cursor-pointer category-icon"> | |
| <div class="w-16 h-16 bg-[#002B5B] rounded-full flex items-center justify-center mx-auto mb-4 text-white text-2xl"> | |
| <i class="fas fa-lightbulb"></i> | |
| </div> | |
| <h3 class="font-medium text-[#002B5B]">Lighting</h3> | |
| </div> | |
| <!-- Bar --> | |
| <div class="bg-[#F7F7F7] rounded-lg p-6 text-center hover:shadow-md transition cursor-pointer category-icon"> | |
| <div class="w-16 h-16 bg-[#002B5B] rounded-full flex items-center justify-center mx-auto mb-4 text-white text-2xl"> | |
| <i class="fas fa-glass-martini-alt"></i> | |
| </div> | |
| <h3 class="font-medium text-[#002B5B]">Bar</h3> | |
| </div> | |
| <!-- Linens --> | |
| <div class="bg-[#F7F7F7] rounded-lg p-6 text-center hover:shadow-md transition cursor-pointer category-icon"> | |
| <div class="w-16 h-16 bg-[#002B5B] rounded-full flex items-center justify-center mx-auto mb-4 text-white text-2xl"> | |
| <i class="fas fa-tshirt"></i> | |
| </div> | |
| <h3 class="font-medium text-[#002B5B]">Linens</h3> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Testimonials --> | |
| <section class="bg-[#F7F7F7] py-16"> | |
| <div class="container mx-auto px-4"> | |
| <h2 class="text-3xl font-bold text-[#002B5B] mb-2 text-center">Customer Reviews</h2> | |
| <p class="text-lg text-gray-600 mb-12 text-center">Over 500 Events Served in Québec</p> | |
| <div class="relative"> | |
| <div class="testimonial-slider flex overflow-x-auto space-x-6 pb-6 scrollbar-hide" id="testimonialSlider"> | |
| <!-- Testimonial 1 --> | |
| <div class="testimonial-slide flex-shrink-0 w-full sm:w-1/2 md:w-1/3 bg-white rounded-lg shadow-md p-6"> | |
| <div class="flex items-center mb-4"> | |
| <div class="w-12 h-12 rounded-full bg-gray-300 mr-4"></div> | |
| <div> | |
| <h4 class="font-bold text-[#002B5B]">Jean Tremblay</h4> | |
| <div class="flex text-[#F58025]"> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <p class="text-gray-600"> | |
| "Our winter shelter has held up perfectly through two harsh Québec winters. Highly recommend Abris Crystal for quality and service." | |
| </p> | |
| </div> | |
| <!-- Testimonial 2 --> | |
| <div class="testimonial-slide flex-shrink-0 w-full sm:w-1/2 md:w-1/3 bg-white rounded-lg shadow-md p-6"> | |
| <div class="flex items-center mb-4"> | |
| <div class="w-12 h-12 rounded-full bg-gray-300 mr-4"></div> | |
| <div> | |
| <h4 class="font-bold text-[#002B5B]">Marie-Claude Bélanger</h4> | |
| <div class="flex text-[#F58025]"> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <p class="text-gray-600"> | |
| "Our wedding tent was absolutely beautiful! The team handled everything professionally and made our special day perfect." | |
| </p> | |
| </div> | |
| <!-- Testimonial 3 --> | |
| <div class="testimonial-slide flex-shrink-0 w-full sm:w-1/2 md:w-1/3 bg-white rounded-lg shadow-md p-6"> | |
| <div class="flex items-center mb-4"> | |
| <div class="w-12 h-12 rounded-full bg-gray-300 mr-4"></div> | |
| <div> | |
| <h4 class="font-bold text-[#002B5B]">Robert Smith</h4> | |
| <div class="flex text-[#F58025]"> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star-half-alt"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <p class="text-gray-600"> | |
| "Great quality car shelter that was easy to install. Customer service was excellent when I had questions about assembly." | |
| </p> | |
| </div> | |
| </div> | |
| <!-- Slider Controls --> | |
| <div class="flex justify-center mt-8 space-x-2"> | |
| <button class="w-3 h-3 rounded-full bg-[#002B5B] opacity-30 slider-dot active"></button> | |
| <button class="w-3 h-3 rounded-full bg-[#002B5B] opacity-30 slider-dot"></button> | |
| <button class="w-3 h-3 rounded-full bg-[#002B5B] opacity-30 slider-dot"></button> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- CTA Banner --> | |
| <section class="bg-[#002B5B] py-16 text-white"> | |
| <div class="container mx-auto px-4 text-center"> | |
| <h2 class="text-3xl font-bold mb-6"> | |
| Tell Us About Your Event or Shelter Needs – We'll Handle the Rest | |
| </h2> | |
| <button class="bg-[#F58025] text-white px-8 py-3 rounded-md font-medium hover:bg-opacity-90 transition text-lg"> | |
| Start Quote Wizard | |
| </button> | |
| </div> | |
| </section> | |
| <!-- Footer --> | |
| <footer class="bg-[#002B5B] text-white py-12"> | |
| <div class="container mx-auto px-4"> | |
| <div class="grid grid-cols-1 md:grid-cols-4 gap-8"> | |
| <!-- Quick Links --> | |
| <div> | |
| <h3 class="text-lg font-bold mb-4">Quick Links</h3> | |
| <ul class="space-y-2"> | |
| <li><a href="#" class="hover:text-[#F58025] transition">Products</a></li> | |
| <li><a href="#" class="hover:text-[#F58025] transition">Rentals</a></li> | |
| <li><a href="#" class="hover:text-[#F58025] transition">Packages</a></li> | |
| <li><a href="#" class="hover:text-[#F58025] transition">Blog</a></li> | |
| <li><a href="#" class="hover:text-[#F58025] transition">Contact Us</a></li> | |
| </ul> | |
| </div> | |
| <!-- Contact Info --> | |
| <div> | |
| <h3 class="text-lg font-bold mb-4">Contact Us</h3> | |
| <ul class="space-y-2"> | |
| <li class="flex items-center"> | |
| <i class="fas fa-phone-alt mr-2 text-[#F58025]"></i> | |
| <span>450-900-4149</span> | |
| </li> | |
| <li class="flex items-center"> | |
| <i class="fas fa-envelope mr-2 text-[#F58025]"></i> | |
| <span>info@abriscrystal.com</span> | |
| </li> | |
| </ul> | |
| <div class="mt-6"> | |
| <h4 class="font-medium mb-2">Language</h4> | |
| <div class="flex space-x-4"> | |
| <button class="text-white font-medium">English</button> | |
| <button class="text-white font-medium">Français</button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Social Media --> | |
| <div> | |
| <h3 class="text-lg font-bold mb-4">Follow Us</h3> | |
| <div class="flex space-x-4"> | |
| <a href="#" class="w-10 h-10 bg-white rounded-full flex items-center justify-center text-[#002B5B] hover:bg-[#F58025] hover:text-white transition"> | |
| <i class="fab fa-facebook-f"></i> | |
| </a> | |
| <a href="#" class="w-10 h-10 bg-white rounded-full flex items-center justify-center text-[#002B5B] hover:bg-[#F58025] hover:text-white transition"> | |
| <i class="fab fa-instagram"></i> | |
| </a> | |
| </div> | |
| </div> | |
| <!-- Newsletter --> | |
| <div> | |
| <h3 class="text-lg font-bold mb-4">Newsletter</h3> | |
| <p class="mb-4">Subscribe for updates and special offers</p> | |
| <div class="flex"> | |
| <input type="email" placeholder="Your email" class="px-4 py-2 rounded-l-md w-full text-gray-800"> | |
| <button class="bg-[#F58025] px-4 py-2 rounded-r-md hover:bg-opacity-90 transition"> | |
| <i class="fas fa-paper-plane"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Legal --> | |
| <div class="border-t border-gray-700 mt-12 pt-6 text-center text-sm"> | |
| <div class="flex flex-col md:flex-row justify-center space-y-2 md:space-y-0 md:space-x-6"> | |
| <a href="#" class="hover:text-[#F58025] transition">Privacy Policy</a> | |
| <a href="#" class="hover:text-[#F58025] transition">Terms of Service</a> | |
| <a href="#" class="hover:text-[#F58025] transition">Shipping Policy</a> | |
| <a href="#" class="hover:text-[#F58025] transition">Returns & Refunds</a> | |
| </div> | |
| <p class="mt-4">© 2023 Abris Crystal. All rights reserved.</p> | |
| </div> | |
| </div> | |
| </footer> | |
| <!-- Mobile Sticky CTA --> | |
| <div class="md:hidden fixed bottom-0 left-0 right-0 bg-[#002B5B] text-white py-3 px-4 flex justify-center shadow-lg"> | |
| <button class="bg-[#F58025] text-white px-8 py-2 rounded-md font-medium w-full max-w-md"> | |
| Get a Quote | |
| </button> | |
| </div> | |
| <script> | |
| // Mobile Menu Toggle | |
| const mobileMenuButton = document.querySelector('button.md\\:hidden'); | |
| const mobileMenu = document.getElementById('mobileMenu'); | |
| mobileMenuButton.addEventListener('click', () => { | |
| mobileMenu.classList.toggle('hidden'); | |
| }); | |
| // Language Toggle | |
| const englishToggle = document.getElementById('englishToggle'); | |
| const frenchToggle = document.getElementById('frenchToggle'); | |
| englishToggle.addEventListener('click', () => { | |
| englishToggle.classList.add('active'); | |
| frenchToggle.classList.remove('active'); | |
| // Here you would typically change the language content | |
| }); | |
| frenchToggle.addEventListener('click', () => { | |
| frenchToggle.classList.add('active'); | |
| englishToggle.classList.remove('active'); | |
| // Here you would typically change the language content | |
| }); | |
| // Testimonial Slider | |
| const slider = document.getElementById('testimonialSlider'); | |
| const dots = document.querySelectorAll('.slider-dot'); | |
| let currentSlide = 0; | |
| function goToSlide(index) { | |
| const slideWidth = document.querySelector('.testimonial-slide').offsetWidth; | |
| slider.scrollTo({ | |
| left: index * (slideWidth + 24), // 24 is the gap (1.5rem) | |
| behavior: 'smooth' | |
| }); | |
| // Update dots | |
| dots.forEach((dot, i) => { | |
| if (i === index) { | |
| dot.classList.add('active'); | |
| dot.classList.remove('opacity-30'); | |
| } else { | |
| dot.classList.remove('active'); | |
| dot.classList.add('opacity-30'); | |
| } | |
| }); | |
| currentSlide = index; | |
| } | |
| // Initialize dots | |
| dots.forEach((dot, index) => { | |
| dot.addEventListener('click', () => goToSlide(index)); | |
| }); | |
| // Auto-advance slider | |
| setInterval(() => { | |
| currentSlide = (currentSlide + 1) % 3; | |
| goToSlide(currentSlide); | |
| }, 5000); | |
| </script> | |
| <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=ismango/abris" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
| </html> |