Download gallery.html from iWaffle21/phoenix-sparkle-power-wash-pro: direct link, hf CLI and curl.
- Browser
- Download file 19.3 kB
-
https://huggingface.co/spaces/iWaffle21/phoenix-sparkle-power-wash-pro/resolve/main/gallery.html
- Command line
-
hf download hf://spaces/iWaffle21/phoenix-sparkle-power-wash-pro/gallery.html
-
curl -L -o gallery.html https://huggingface.co/spaces/iWaffle21/phoenix-sparkle-power-wash-pro/resolve/main/gallery.html
19.3 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Transformation Gallery | Phoenix Pressure Washing | Oklahoma City</title> | |
| <meta name="description" content="See the dramatic before and after results of our professional pressure washing services in Oklahoma City. Residential and commercial projects."> | |
| <link rel="icon" type="image/x-icon" href="/assets/img/favicon.ico"> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script> | |
| <link rel="stylesheet" href="/assets/css/styles.css"> | |
| </head> | |
| <body class="bg-gray-50"> | |
| <custom-navbar></custom-navbar> | |
| <!-- Gallery Hero --> | |
| <section class="hero-banner pt-32 pb-16"> | |
| <div class="container mx-auto px-4"> | |
| <div class="max-w-3xl bg-black/90 p-8 rounded-lg"> | |
| <h1 class="text-white text-4xl font-bold mb-4">Our Transformation Gallery</h1> | |
| <p class="text-white/90 text-xl mb-6">See the dramatic difference our professional pressure washing services can make for your Oklahoma City property</p> | |
| <div class="flex flex-wrap gap-4"> | |
| <a href="/contact.html" class="bg-primary text-white font-bold py-3 px-6 rounded-lg hover:bg-red-600 transition duration-300">Get a Free Quote</a> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <script> | |
| document.addEventListener('DOMContentLoaded', function() { | |
| // Set up before/after buttons | |
| const viewButtons = document.querySelectorAll('.view-before-after'); | |
| const modal = document.getElementById('beforeAfterModal'); | |
| const modalBefore = document.getElementById('modalBefore'); | |
| const modalAfter = document.getElementById('modalAfter'); | |
| const modalTitle = document.getElementById('modalTitle'); | |
| const modalDesc = document.getElementById('modalDescription'); | |
| const closeModal = document.getElementById('closeModal'); | |
| // Open modal when button is clicked | |
| viewButtons.forEach(button => { | |
| button.addEventListener('click', function() { | |
| const beforeImg = this.getAttribute('data-before'); | |
| const afterImg = this.getAttribute('data-after'); | |
| const title = this.getAttribute('data-title'); | |
| const desc = this.getAttribute('data-desc'); | |
| modalBefore.src = beforeImg; | |
| modalAfter.src = afterImg; | |
| modalTitle.textContent = title; | |
| modalDesc.textContent = desc; | |
| modal.classList.remove('hidden'); | |
| document.body.style.overflow = 'hidden'; | |
| }); | |
| }); | |
| // Close modal | |
| closeModal.addEventListener('click', function() { | |
| modal.classList.add('hidden'); | |
| document.body.style.overflow = ''; | |
| }); | |
| // Close modal when clicking outside | |
| modal.addEventListener('click', function(e) { | |
| if (e.target === modal) { | |
| modal.classList.add('hidden'); | |
| document.body.style.overflow = ''; | |
| } | |
| }); | |
| // Slider functionality for modal | |
| const modalSlider = modal.querySelector('.slider-container'); | |
| const modalHandle = modal.querySelector('.slider-handle'); | |
| const modalBeforeImg = modal.querySelector('.slider-before'); | |
| let isDragging = false; | |
| function moveModalHandle(e) { | |
| if (!isDragging) return; | |
| let x; | |
| if (e.type === 'touchmove') { | |
| const touch = e.touches[0]; | |
| const rect = modalSlider.getBoundingClientRect(); | |
| x = touch.clientX - rect.left; | |
| } else { | |
| const rect = modalSlider.getBoundingClientRect(); | |
| x = e.clientX - rect.left; | |
| } | |
| x = Math.max(0, Math.min(x, modalSlider.offsetWidth)); | |
| const percent = x / modalSlider.offsetWidth * 100; | |
| modalHandle.style.left = `${percent}%`; | |
| modalBeforeImg.style.width = `${percent}%`; | |
| } | |
| modalHandle.addEventListener('mousedown', () => { | |
| isDragging = true; | |
| document.body.style.cursor = 'ew-resize'; | |
| }); | |
| modalHandle.addEventListener('touchstart', () => { | |
| isDragging = true; | |
| }); | |
| document.addEventListener('mousemove', moveModalHandle); | |
| document.addEventListener('touchmove', moveModalHandle); | |
| document.addEventListener('mouseup', () => { | |
| isDragging = false; | |
| document.body.style.cursor = ''; | |
| }); | |
| document.addEventListener('touchend', () => { | |
| isDragging = false; | |
| }); | |
| }); | |
| </script> | |
| <!-- Gallery --> | |
| <section class="py-16 bg-white"> | |
| <div class="container mx-auto px-4"> | |
| <div class="text-center mb-12"> | |
| <h2 class="text-3xl font-bold text-gray-800 mb-4">Our Pressure Washing Transformations</h2> | |
| <p class="text-gray-600 max-w-2xl mx-auto">See the dramatic difference our professional cleaning services can make</p> | |
| </div> | |
| <!-- Before/After Slider Gallery --> | |
| <style> | |
| .ba-gallery { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); | |
| gap: 24px; | |
| align-items: start; | |
| margin: 24px 0; | |
| } | |
| .ba-card { | |
| position: relative; | |
| overflow: hidden; | |
| border-radius: 8px; | |
| box-shadow: 0 6px 18px rgba(0,0,0,0.08); | |
| background: #f8f8f8; | |
| } | |
| .ba-card .label { | |
| padding: 12px 14px; | |
| font-weight: 600; | |
| font-size: 16px; | |
| background: rgba(255,255,255,0.9); | |
| border-bottom: 1px solid rgba(0,0,0,0.04); | |
| } | |
| .ba-imgwrap { | |
| position: relative; | |
| width: 100%; | |
| height: 0; | |
| padding-bottom: 56.25%; | |
| } | |
| .ba-imgwrap img { | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| width: 100%; | |
| height: 100%; | |
| object-fit: cover; | |
| display: block; | |
| user-select: none; | |
| } | |
| .ba-img-before { | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| height: 100%; | |
| overflow: hidden; | |
| width: 50%; | |
| } | |
| .ba-handle { | |
| position: absolute; | |
| top: 50%; | |
| transform: translateY(-50%); | |
| left: calc(50% - 18px); | |
| width: 36px; | |
| height: 36px; | |
| border-radius: 50%; | |
| background: rgba(255,255,255,0.95); | |
| border: 2px solid rgba(0,0,0,0.12); | |
| box-shadow: 0 6px 14px rgba(0,0,0,0.12); | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| cursor: grab; | |
| z-index: 5; | |
| } | |
| .ba-handle:active { cursor: grabbing; } | |
| .ba-handle::after{ | |
| content: ""; | |
| width: 10px; | |
| height: 10px; | |
| border-left: 2px solid #444; | |
| border-bottom: 2px solid #444; | |
| transform: rotate(-45deg); | |
| display:block; | |
| margin-left: 2px; | |
| } | |
| .ba-range { | |
| position: absolute; | |
| left: 0; | |
| right: 0; | |
| bottom: 12px; | |
| margin: 0 12px; | |
| z-index: 6; | |
| -webkit-appearance: none; | |
| appearance: none; | |
| height: 12px; | |
| background: transparent; | |
| } | |
| .ba-range::-webkit-slider-thumb { | |
| -webkit-appearance: none; | |
| width: 16px; | |
| height: 16px; | |
| border-radius: 50%; | |
| background: rgba(0,0,0,0.5); | |
| } | |
| .ba-caption { | |
| padding: 10px 14px 16px; | |
| font-size: 14px; | |
| color: #444; | |
| background: rgba(255,255,255,0.9); | |
| border-top: 1px solid rgba(0,0,0,0.04); | |
| } | |
| @media (max-width: 680px) { | |
| .ba-imgwrap { padding-bottom: 66.66%; } | |
| .ba-handle { width: 30px; height: 30px; left: calc(50% - 15px); } | |
| } | |
| </style> | |
| <div class="ba-gallery" id="baGallery"> | |
| <!-- CARD 1 --> | |
| <div class="ba-card" data-initial="50"> | |
| <div class="label">Driveway Cleaning — Before / After</div> | |
| <div class="ba-imgwrap"> | |
| <img class="ba-img-after" src="https://huggingface.co/spaces/iWaffle21/phoenix-sparkle-power-wash-pro/resolve/main/images/IMG_0561.webp" alt="Driveway after cleaning"> | |
| <div class="ba-img-before"> | |
| <img src="https://huggingface.co/spaces/iWaffle21/phoenix-sparkle-power-wash-pro/resolve/main/images/IMG_0561.webp" alt="Driveway before cleaning"> | |
| </div> | |
| <div class="ba-handle" role="slider" aria-valuemin="0" aria-valuemax="100" aria-valuenow="50" tabindex="0"></div> | |
| <input class="ba-range" type="range" min="0" max="100" value="50" aria-label="Adjust before/after split"> | |
| </div> | |
| <div class="ba-caption">Drag the handle or use the slider to compare the results.</div> | |
| </div> | |
| <!-- CARD 2 --> | |
| <div class="ba-card" data-initial="50"> | |
| <div class="label">Gutter / Roof — Before / After</div> | |
| <div class="ba-imgwrap"> | |
| <img class="ba-img-after" src="https://huggingface.co/spaces/iWaffle21/phoenix-sparkle-power-wash-pro/resolve/main/images/IMG_0561.webp" alt="Roof after cleaning"> | |
| <div class="ba-img-before"> | |
| <img src="https://huggingface.co/spaces/iWaffle21/phoenix-sparkle-power-wash-pro/resolve/main/images/IMG_0561.webp" alt="Roof before cleaning"> | |
| </div> | |
| <div class="ba-handle" role="slider" aria-valuemin="0" aria-valuemax="100" aria-valuenow="50" tabindex="0"></div> | |
| <input class="ba-range" type="range" min="0" max="100" value="50" aria-label="Adjust before/after split"> | |
| </div> | |
| <div class="ba-caption">We transform roofs and gutters — slide to compare.</div> | |
| </div> | |
| <!-- CARD 3 --> | |
| <div class="ba-card" data-initial="50"> | |
| <div class="label">Fence Cleaning — Before / After</div> | |
| <div class="ba-imgwrap"> | |
| <img class="ba-img-after" src="https://huggingface.co/spaces/iWaffle21/phoenix-sparkle-power-wash-pro/resolve/main/images/IMG_0561.webp" alt="Fence after cleaning"> | |
| <div class="ba-img-before"> | |
| <img src="https://huggingface.co/spaces/iWaffle21/phoenix-sparkle-power-wash-pro/resolve/main/images/IMG_0561.webp" alt="Fence before cleaning"> | |
| </div> | |
| <div class="ba-handle" role="slider" aria-valuemin="0" aria-valuemax="100" aria-valuenow="50" tabindex="0"></div> | |
| <input class="ba-range" type="range" min="0" max="100" value="50" aria-label="Adjust before/after split"> | |
| </div> | |
| <div class="ba-caption">Fence transformations shown here.</div> | |
| </div> | |
| </div> | |
| <script> | |
| // Initialize sliders for all cards | |
| (function(){ | |
| const cards = document.querySelectorAll('.ba-card'); | |
| cards.forEach(card => { | |
| const imgBefore = card.querySelector('.ba-img-before'); | |
| const handle = card.querySelector('.ba-handle'); | |
| const range = card.querySelector('.ba-range'); | |
| const wrap = card.querySelector('.ba-imgwrap'); | |
| // Set initial split (percent) | |
| const initial = parseFloat(card.getAttribute('data-initial')) || 50; | |
| setSplit(initial); | |
| // Update aria | |
| function setSplit(pct) { | |
| pct = Math.max(0, Math.min(100, pct)); | |
| imgBefore.style.width = pct + '%'; | |
| handle.style.left = `calc(${pct}% - ${handle.offsetWidth/2}px)`; | |
| handle.setAttribute('aria-valuenow', Math.round(pct)); | |
| range.value = Math.round(pct); | |
| } | |
| // Range input -> update visuals | |
| range.addEventListener('input', e => { | |
| setSplit(e.target.value); | |
| }); | |
| // Handle dragging | |
| let dragging = false; | |
| handle.addEventListener('pointerdown', e => { | |
| dragging = true; | |
| handle.setPointerCapture(e.pointerId); | |
| }); | |
| document.addEventListener('pointerup', e => { dragging = false; }); | |
| document.addEventListener('pointercancel', e => { dragging = false; }); | |
| document.addEventListener('pointermove', function(e){ | |
| if (!dragging) return; | |
| const rect = wrap.getBoundingClientRect(); | |
| const pct = ((e.clientX - rect.left) / rect.width) * 100; | |
| setSplit(pct); | |
| }); | |
| // allow clicking / dragging on the image area to set split | |
| wrap.addEventListener('click', e => { | |
| const rect = wrap.getBoundingClientRect(); | |
| const pct = ((e.clientX - rect.left) / rect.width) * 100; | |
| setSplit(pct); | |
| }); | |
| // keyboard accessibility for the handle | |
| handle.addEventListener('keydown', e => { | |
| let val = Number(range.value); | |
| if (e.key === 'ArrowLeft' || e.key === 'ArrowDown') { val = val - 5; e.preventDefault(); } | |
| if (e.key === 'ArrowRight' || e.key === 'ArrowUp') { val = val + 5; e.preventDefault(); } | |
| if (e.key === 'Home') { val = 0; e.preventDefault(); } | |
| if (e.key === 'End') { val = 100; e.preventDefault(); } | |
| setSplit(val); | |
| }); | |
| // Resize observer to reposition handle on container resize | |
| new ResizeObserver(() => { | |
| setSplit(range.value); | |
| }).observe(wrap); | |
| }); | |
| })(); | |
| </script> | |
| <div class="text-center mt-12"> | |
| <a href="/contact.html" class="inline-block bg-primary/90 text-black/90 font-bold py-3 px-8 rounded-lg hover:bg-red-600 transition duration-300 border-2 border-red-600">Get Your Property Cleaned</a> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Testimonials --> | |
| <section class="py-16 bg-gray-50"> | |
| <div class="container mx-auto px-4"> | |
| <div class="text-center mb-12"> | |
| <h2 class="text-3xl font-bold text-gray-800 mb-4">What Our Customers Say</h2> | |
| <p class="text-gray-600 max-w-2xl mx-auto">Don't just take our word for it - hear from our satisfied Oklahoma City clients</p> | |
| </div> | |
| <div class="grid md:grid-cols-3 gap-8"> | |
| <div class="bg-white p-8 rounded-lg shadow-sm"> | |
| <div class="flex items-center mb-4"> | |
| <div class="flex text-yellow-400 mr-2"> | |
| <i data-feather="star" class="w-5 h-5 fill-current"></i> | |
| <i data-feather="star" class="w-5 h-5 fill-current"></i> | |
| <i data-feather="star" class="w-5 h-5 fill-current"></i> | |
| <i data-feather="star" class="w-5 h-5 fill-current"></i> | |
| <i data-feather="star" class="w-5 h-5 fill-current"></i> | |
| </div> | |
| <span class="text-gray-600">2 weeks ago</span> | |
| </div> | |
| <p class="text-gray-700 mb-6">"My driveway looked brand new after Phoenix Pressure Washing worked on it. The before and after difference was unbelievable - I had no idea it could look that good again!"</p> | |
| <div class="flex items-center"> | |
| <div class="w-10 h-10 rounded-full bg-primary/10 flex items-center justify-center mr-3"> | |
| <i data-feather="user" class="text-primary"></i> | |
| </div> | |
| <div> | |
| <h4 class="font-semibold">James L.</h4> | |
| <p class="text-gray-600 text-sm">North OKC</p> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-white p-8 rounded-lg shadow-sm"> | |
| <div class="flex items-center mb-4"> | |
| <div class="flex text-yellow-400 mr-2"> | |
| <i data-feather="star" class="w-5 h-5 fill-current"></i> | |
| <i data-feather="star" class="w-5 h-5 fill-current"></i> | |
| <i data-feather="star" class="w-5 h-5 fill-current"></i> | |
| <i data-feather="star" class="w-5 h-5 fill-current"></i> | |
| <i data-feather="star" class="w-5 h-5 fill-current"></i> | |
| </div> | |
| <span class="text-gray-600">1 month ago</span> | |
| </div> | |
| <p class="text-gray-700 mb-6">"The team cleaned my deck better than I ever imagined possible. The before photos showed how weathered and dirty it was, and now it looks like we just had it installed!"</p> | |
| <div class="flex items-center"> | |
| <div class="w-10 h-10 rounded-full bg-primary/10 flex items-center justify-center mr-3"> | |
| <i data-feather="user" class="text-primary"></i> | |
| </div> | |
| <div> | |
| <h4 class="font-semibold">Melissa T.</h4> | |
| <p class="text-gray-600 text-sm">Edmond</p> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-white p-8 rounded-lg shadow-sm"> | |
| <div class="flex items-center mb-4"> | |
| <div class="flex text-yellow-400 mr-2"> | |
| <i data-feather="star" class="w-5 h-5 fill-current"></i> | |
| <i data-feather="star" class="w-5 h-5 fill-current"></i> | |
| <i data-feather="star" class="w-5 h-5 fill-current"></i> | |
| <i data-feather="star" class="w-5 h-5 fill-current"></i> | |
| <i data-feather="star" class="w-5 h-5 fill-current"></i> | |
| </div> | |
| <span class="text-gray-600">3 months ago</span> | |
| </div> | |
| <p class="text-gray-700 mb-6">"Our commercial property was covered in years of dirt and grime. Phoenix Pressure Washing transformed the building and sidewalk - our customers have been complimenting how clean it looks!"</p> | |
| <div class="flex items-center"> | |
| <div class="w-10 h-10 rounded-full bg-primary/10 flex items-center justify-center mr-3"> | |
| <i data-feather="user" class="text-primary"></i> | |
| </div> | |
| <div> | |
| <h4 class="font-semibold">Robert K.</h4> | |
| <p class="text-gray-600 text-sm">Business Owner, OKC</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- CTA --> | |
| <section class="py-16 bg-primary text-black/90"> | |
| <div class="container mx-auto px-4 text-center"> | |
| <h2 class="text-3xl font-bold mb-6">Ready to Transform Your Property?</h2> | |
| <p class="text-xl mb-8 max-w-2xl mx-auto">Contact us today for a free, no-obligation quote. We serve residential and commercial clients throughout Oklahoma City.</p> | |
| <div class="flex flex-wrap justify-center gap-4"> | |
| <a href="/contact.html" class="inline-block bg-primary text-black/90 font-bold py-3 px-8 rounded-lg hover:bg-red-600 transition duration-300 shadow-lg hover:shadow-xl border-2 border-red-600">Get Your Free Quote</a> | |
| </div> | |
| </div> | |
| </section> | |
| <custom-footer></custom-footer> | |
| <script src="/components/navbar.js"></script> | |
| <script src="/components/footer.js"></script> | |
| <script src="/assets/js/main.js"></script> | |
| <script> | |
| feather.replace(); | |
| </script> | |
| </body> | |
| </html> |