Download index.html from pjda4/undefined: direct link, hf CLI and curl.
- Browser
- Download file 33.2 kB
-
https://huggingface.co/spaces/pjda4/undefined/resolve/main/index.html
- Command line
-
hf download hf://spaces/pjda4/undefined/index.html
-
curl -L -o index.html https://huggingface.co/spaces/pjda4/undefined/resolve/main/index.html
33.2 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>SoleSphere Hoops Hub - Premium Basketball Sneakers</title> | |
| <link rel="icon" type="image/x-icon" href="/static/favicon.ico"> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script> | |
| <script src="https://unpkg.com/feather-icons"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.waves.min.js"></script> | |
| <style> | |
| .video-background { | |
| position: fixed; | |
| right: 0; | |
| bottom: 0; | |
| min-width: 100%; | |
| min-height: 100%; | |
| z-index: -1; | |
| opacity: 0.15; | |
| } | |
| .chatbot-container { | |
| transition: all 0.3s ease; | |
| } | |
| .chatbot-hidden { | |
| transform: translateY(100%); | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-black text-white"> | |
| <!-- Video Background --> | |
| <video autoplay muted loop id="bgVideo" class="video-background"> | |
| <source src="https://assets.mixkit.co/videos/preview/mixkit-basketball-player-training-on-court-1234-large.mp4" type="video/mp4"> | |
| </video> | |
| <!-- Navigation --> | |
| <nav class="bg-black border-b border-red-600"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="flex justify-between h-16 items-center"> | |
| <div class="flex items-center"> | |
| <a href="logo.html" class="flex items-center"> | |
| <i data-feather="grid" class="text-red-600"></i> | |
| <span class="ml-2 text-xl font-bold">PJDA Designs</span> | |
| </a> | |
| </div> | |
| <div class="hidden md:block"> | |
| <div class="ml-10 flex items-baseline space-x-4"> | |
| <a href="#" class="text-red-400 px-3 py-2 rounded-md text-sm font-medium">Home</a> | |
| <a href="#shop" class="text-white hover:text-red-400 px-3 py-2 rounded-md text-sm font-medium">Shop</a> | |
| <a href="#brands" class="text-white hover:text-red-400 px-3 py-2 rounded-md text-sm font-medium">Brands</a> | |
| <a href="#preorder" class="text-white hover:text-red-400 px-3 py-2 rounded-md text-sm font-medium">Pre-Order</a> | |
| <a href="#contact" class="text-white hover:text-red-400 px-3 py-2 rounded-md text-sm font-medium">Contact</a> | |
| </div> | |
| </div> | |
| <div class="flex items-center"> | |
| <button class="p-2 rounded-full text-white hover:text-red-400"> | |
| <i data-feather="shopping-cart"></i> | |
| </button> | |
| <button class="p-2 rounded-full text-white hover:text-red-400 ml-2"> | |
| <i data-feather="user"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </nav> | |
| <!-- Hero Section --> | |
| <section class="relative"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-20 md:py-32"> | |
| <div class="text-center"> | |
| <h1 class="text-4xl md:text-6xl font-extrabold tracking-tight"> | |
| <span class="block text-white">ELEVATE YOUR</span> | |
| <span class="block text-red-600">COURT GAME</span> | |
| </h1> | |
| <p class="mt-3 max-w-md mx-auto text-base text-gray-300 sm:text-lg md:mt-5 md:text-xl md:max-w-3xl"> | |
| Premium basketball sneakers from Kobe, Jordan, Adidas and more. Limited editions and exclusive drops. | |
| </p> | |
| <div class="mt-5 max-w-md mx-auto sm:flex sm:justify-center md:mt-8"> | |
| <div class="rounded-md shadow"> | |
| <a href="#shop" class="w-full flex items-center justify-center px-8 py-3 border border-transparent text-base font-medium rounded-md text-white bg-red-600 hover:bg-red-700 md:py-4 md:text-lg md:px-10"> | |
| Shop Now | |
| </a> | |
| </div> | |
| <div class="mt-3 rounded-md shadow sm:mt-0 sm:ml-3"> | |
| <a href="#preorder" class="w-full flex items-center justify-center px-8 py-3 border border-transparent text-base font-medium rounded-md text-red-600 bg-white hover:bg-gray-100 md:py-4 md:text-lg md:px-10"> | |
| Pre-Order | |
| </a> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Featured Products --> | |
| <section id="shop" class="bg-black py-12 px-4 sm:px-6 lg:px-8"> | |
| <div class="max-w-7xl mx-auto"> | |
| <div class="text-center mb-12"> | |
| <h2 class="text-3xl font-extrabold tracking-tight text-white sm:text-4xl"> | |
| HOTTEST KICKS RIGHT NOW | |
| </h2> | |
| <p class="mt-3 max-w-2xl mx-auto text-xl text-gray-300 sm:mt-4"> | |
| Limited stock available. Don't miss out! | |
| </p> | |
| </div> | |
| <div class="grid grid-cols-1 gap-y-10 gap-x-6 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 xl:gap-x-8"> | |
| <!-- Product 1 --> | |
| <div class="group"> | |
| <div class="relative overflow-hidden rounded-lg bg-gray-800 aspect-w-1 aspect-h-1"> | |
| <img src="http://static.photos/sport/640x360/1" alt="Kobe 6 Protro 'Grinch'" class="w-full h-full object-center object-cover group-hover:opacity-75"> | |
| <div class="absolute bottom-0 left-0 right-0 bg-gradient-to-t from-black to-transparent p-4"> | |
| <p class="text-sm text-gray-300">Kobe 6 Protro</p> | |
| <h3 class="mt-1 text-lg font-medium text-white">'Grinch'</h3> | |
| </div> | |
| <div class="absolute top-2 right-2 bg-red-600 text-white text-xs font-bold px-2 py-1 rounded-full"> | |
| Limited | |
| </div> | |
| </div> | |
| <div class="mt-4 flex justify-between"> | |
| <div> | |
| <p class="text-sm text-gray-300">Size: 7-13</p> | |
| </div> | |
| <p class="text-lg font-medium text-red-500">$399</p> | |
| </div> | |
| </div> | |
| <!-- Product 2 --> | |
| <div class="group"> | |
| <div class="relative overflow-hidden rounded-lg bg-gray-800 aspect-w-1 aspect-h-1"> | |
| <img src="http://static.photos/sport/640x360/2" alt="Jordan 1 Retro High OG 'Bred Patent'" class="w-full h-full object-center object-cover group-hover:opacity-75"> | |
| <div class="absolute bottom-0 left-0 right-0 bg-gradient-to-t from-black to-transparent p-4"> | |
| <p class="text-sm text-gray-300">Jordan 1 Retro High</p> | |
| <h3 class="mt-1 text-lg font-medium text-white">'Bred Patent'</h3> | |
| </div> | |
| </div> | |
| <div class="mt-4 flex justify-between"> | |
| <div> | |
| <p class="text-sm text-gray-300">Size: 4.5-15</p> | |
| </div> | |
| <p class="text-lg font-medium text-red-500">$249</p> | |
| </div> | |
| </div> | |
| <!-- Product 3 --> | |
| <div class="group"> | |
| <div class="relative overflow-hidden rounded-lg bg-gray-800 aspect-w-1 aspect-h-1"> | |
| <img src="http://static.photos/sport/640x360/3" alt="Adidas Harden Vol. 6" class="w-full h-full object-center object-cover group-hover:opacity-75"> | |
| <div class="absolute bottom-0 left-0 right-0 bg-gradient-to-t from-black to-transparent p-4"> | |
| <p class="text-sm text-gray-300">Adidas Harden</p> | |
| <h3 class="mt-1 text-lg font-medium text-white">Vol. 6</h3> | |
| </div> | |
| <div class="absolute top-2 right-2 bg-red-600 text-white text-xs font-bold px-2 py-1 rounded-full"> | |
| New | |
| </div> | |
| </div> | |
| <div class="mt-4 flex justify-between"> | |
| <div> | |
| <p class="text-sm text-gray-300">Size: 7-16</p> | |
| </div> | |
| <p class="text-lg font-medium text-red-500">$159</p> | |
| </div> | |
| </div> | |
| <!-- Product 4 --> | |
| <div class="group"> | |
| <div class="relative overflow-hidden rounded-lg bg-gray-800 aspect-w-1 aspect-h-1"> | |
| <img src="http://static.photos/sport/640x360/4" alt="Nike Lebron 19" class="w-full h-full object-center object-cover group-hover:opacity-75"> | |
| <div class="absolute bottom-0 left-0 right-0 bg-gradient-to-t from-black to-transparent p-4"> | |
| <p class="text-sm text-gray-300">Nike Lebron</p> | |
| <h3 class="mt-1 text-lg font-medium text-white">19</h3> | |
| </div> | |
| <div class="absolute top-2 right-2 bg-red-600 text-white text-xs font-bold px-2 py-1 rounded-full"> | |
| Sale | |
| </div> | |
| </div> | |
| <div class="mt-4 flex justify-between"> | |
| <div> | |
| <p class="text-sm text-gray-300">Size: 8-14</p> | |
| </div> | |
| <p class="text-lg font-medium text-red-500">$199 <span class="text-sm text-gray-400 line-through">$249</span></p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Brands Section --> | |
| <section id="brands" class="bg-gray-900 py-12 px-4 sm:px-6 lg:px-8"> | |
| <div class="max-w-7xl mx-auto"> | |
| <div class="text-center mb-12"> | |
| <h2 class="text-3xl font-extrabold tracking-tight text-white sm:text-4xl"> | |
| SHOP BY BRAND | |
| </h2> | |
| <p class="mt-3 max-w-2xl mx-auto text-xl text-gray-300 sm:mt-4"> | |
| All your favorite basketball sneaker brands | |
| </p> | |
| </div> | |
| <div class="grid grid-cols-2 gap-8 md:grid-cols-3 lg:grid-cols-4"> | |
| <div class="col-span-1 flex justify-center py-8 px-8 bg-gray-800 rounded-lg hover:bg-gray-700 transition cursor-pointer"> | |
| <div class="flex flex-col items-center"> | |
| <div class="w-24 h-24 bg-white rounded-full flex items-center justify-center mb-4"> | |
| <span class="text-2xl font-bold text-black">NIKE</span> | |
| </div> | |
| <h3 class="text-lg font-medium text-white">Nike</h3> | |
| <p class="mt-1 text-sm text-gray-300">Jordan, Kobe, Lebron</p> | |
| </div> | |
| </div> | |
| <div class="col-span-1 flex justify-center py-8 px-8 bg-gray-800 rounded-lg hover:bg-gray-700 transition cursor-pointer"> | |
| <div class="flex flex-col items-center"> | |
| <div class="w-24 h-24 bg-white rounded-full flex items-center justify-center mb-4"> | |
| <span class="text-2xl font-bold text-black">ADIDAS</span> | |
| </div> | |
| <h3 class="text-lg font-medium text-white">Adidas</h3> | |
| <p class="mt-1 text-sm text-gray-300">Harden, Trae, Dame</p> | |
| </div> | |
| </div> | |
| <div class="col-span-1 flex justify-center py-8 px-8 bg-gray-800 rounded-lg hover:bg-gray-700 transition cursor-pointer"> | |
| <div class="flex flex-col items-center"> | |
| <div class="w-24 h-24 bg-white rounded-full flex items-center justify-center mb-4"> | |
| <span class="text-2xl font-bold text-black">PUMA</span> | |
| </div> | |
| <h3 class="text-lg font-medium text-white">Puma</h3> | |
| <p class="mt-1 text-sm text-gray-300">Melos, LaMelo</p> | |
| </div> | |
| </div> | |
| <div class="col-span-1 flex justify-center py-8 px-8 bg-gray-800 rounded-lg hover:bg-gray-700 transition cursor-pointer"> | |
| <div class="flex flex-col items-center"> | |
| <div class="w-24 h-24 bg-white rounded-full flex items-center justify-center mb-4"> | |
| <span class="text-2xl font-bold text-black">UA</span> | |
| </div> | |
| <h3 class="text-lg font-medium text-white">Under Armour</h3> | |
| <p class="mt-1 text-sm text-gray-300">Curry, Embiid</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Pre-Order Section --> | |
| <section id="preorder" class="bg-black py-16 px-4 sm:px-6 lg:px-8"> | |
| <div class="max-w-7xl mx-auto"> | |
| <div class="text-center mb-12"> | |
| <h2 class="text-3xl font-extrabold tracking-tight text-white sm:text-4xl"> | |
| PRE-ORDER NOW | |
| </h2> | |
| <p class="mt-3 max-w-2xl mx-auto text-xl text-gray-300 sm:mt-4"> | |
| Reserve upcoming drops or sizes currently unavailable | |
| </p> | |
| </div> | |
| <div class="bg-gray-900 rounded-lg p-8 max-w-3xl mx-auto"> | |
| <form> | |
| <div class="grid grid-cols-1 gap-6 sm:grid-cols-2"> | |
| <div> | |
| <label for="first-name" class="block text-sm font-medium text-gray-300">First name</label> | |
| <input type="text" name="first-name" id="first-name" autocomplete="given-name" class="mt-1 block w-full border border-gray-700 rounded-md shadow-sm py-2 px-3 bg-gray-800 text-white focus:outline-none focus:ring-red-500 focus:border-red-500"> | |
| </div> | |
| <div> | |
| <label for="last-name" class="block text-sm font-medium text-gray-300">Last name</label> | |
| <input type="text" name="last-name" id="last-name" autocomplete="family-name" class="mt-1 block w-full border border-gray-700 rounded-md shadow-sm py-2 px-3 bg-gray-800 text-white focus:outline-none focus:ring-red-500 focus:border-red-500"> | |
| </div> | |
| <div> | |
| <label for="email" class="block text-sm font-medium text-gray-300">Email address</label> | |
| <input type="email" name="email" id="email" autocomplete="email" class="mt-1 block w-full border border-gray-700 rounded-md shadow-sm py-2 px-3 bg-gray-800 text-white focus:outline-none focus:ring-red-500 focus:border-red-500"> | |
| </div> | |
| <div> | |
| <label for="phone" class="block text-sm font-medium text-gray-300">Phone number</label> | |
| <input type="text" name="phone" id="phone" autocomplete="tel" class="mt-1 block w-full border border-gray-700 rounded-md shadow-sm py-2 px-3 bg-gray-800 text-white focus:outline-none focus:ring-red-500 focus:border-red-500"> | |
| </div> | |
| <div class="sm:col-span-2"> | |
| <label for="shoe-model" class="block text-sm font-medium text-gray-300">Shoe Model</label> | |
| <input type="text" name="shoe-model" id="shoe-model" class="mt-1 block w-full border border-gray-700 rounded-md shadow-sm py-2 px-3 bg-gray-800 text-white focus:outline-none focus:ring-red-500 focus:border-red-500"> | |
| </div> | |
| <div> | |
| <label for="size" class="block text-sm font-medium text-gray-300">Size</label> | |
| <select id="size" name="size" class="mt-1 block w-full border border-gray-700 rounded-md shadow-sm py-2 px-3 bg-gray-800 text-white focus:outline-none focus:ring-red-500 focus:border-red-500"> | |
| <option>Select size</option> | |
| <option>4</option> | |
| <option>4.5</option> | |
| <option>5</option> | |
| <option>5.5</option> | |
| <option>6</option> | |
| <option>6.5</option> | |
| <option>7</option> | |
| <option>7.5</option> | |
| <option>8</option> | |
| <option>8.5</option> | |
| <option>9</option> | |
| <option>9.5</option> | |
| <option>10</option> | |
| <option>10.5</option> | |
| <option>11</option> | |
| <option>11.5</option> | |
| <option>12</option> | |
| <option>12.5</option> | |
| <option>13</option> | |
| <option>14</option> | |
| <option>15</option> | |
| <option>16</option> | |
| </select> | |
| </div> | |
| <div> | |
| <label for="colorway" class="block text-sm font-medium text-gray-300">Colorway</label> | |
| <input type="text" name="colorway" id="colorway" class="mt-1 block w-full border border-gray-700 rounded-md shadow-sm py-2 px-3 bg-gray-800 text-white focus:outline-none focus:ring-red-500 focus:border-red-500"> | |
| </div> | |
| </div> | |
| <div class="mt-6"> | |
| <label for="notes" class="block text-sm font-medium text-gray-300">Additional notes</label> | |
| <textarea id="notes" name="notes" rows="3" class="mt-1 block w-full border border-gray-700 rounded-md shadow-sm py-2 px-3 bg-gray-800 text-white focus:outline-none focus:ring-red-500 focus:border-red-500"></textarea> | |
| </div> | |
| <div class="mt-6"> | |
| <button type="submit" class="w-full flex justify-center py-3 px-4 border border-transparent rounded-md shadow-sm text-sm font-medium text-white bg-red-600 hover:bg-red-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-red-500"> | |
| Submit Pre-Order | |
| </button> | |
| </div> | |
| </form> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Contact Section --> | |
| <section id="contact" class="bg-gray-900 py-16 px-4 sm:px-6 lg:px-8"> | |
| <div class="max-w-7xl mx-auto"> | |
| <div class="text-center mb-12"> | |
| <h2 class="text-3xl font-extrabold tracking-tight text-white sm:text-4xl"> | |
| CONTACT US | |
| </h2> | |
| <p class="mt-3 max-w-2xl mx-auto text-xl text-gray-300 sm:mt-4"> | |
| Have questions? Reach out to our team | |
| </p> | |
| </div> | |
| <div class="grid grid-cols-1 gap-8 md:grid-cols-3"> | |
| <div class="bg-gray-800 rounded-lg p-6"> | |
| <div class="flex items-center"> | |
| <div class="flex-shrink-0 bg-red-600 rounded-md p-3"> | |
| <i data-feather="map-pin" class="text-white"></i> | |
| </div> | |
| <div class="ml-4"> | |
| <h3 class="text-lg font-medium text-white">Visit Us</h3> | |
| <p class="mt-1 text-sm text-gray-300">123 Baller Street, Court City, CC 90210</p> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-gray-800 rounded-lg p-6"> | |
| <div class="flex items-center"> | |
| <div class="flex-shrink-0 bg-red-600 rounded-md p-3"> | |
| <i data-feather="phone" class="text-white"></i> | |
| </div> | |
| <div class="ml-4"> | |
| <h3 class="text-lg font-medium text-white">Call Us</h3> | |
| <p class="mt-1 text-sm text-gray-300">(555) 123-4567</p> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-gray-800 rounded-lg p-6"> | |
| <div class="flex items-center"> | |
| <div class="flex-shrink-0 bg-red-600 rounded-md p-3"> | |
| <i data-feather="mail" class="text-white"></i> | |
| </div> | |
| <div class="ml-4"> | |
| <h3 class="text-lg font-medium text-white">Email Us</h3> | |
| <p class="mt-1 text-sm text-gray-300">info@solesphere.com</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="mt-12 bg-gray-800 rounded-lg p-8 max-w-3xl mx-auto"> | |
| <h3 class="text-lg font-medium text-white mb-6">Store Hours</h3> | |
| <div class="grid grid-cols-1 gap-4"> | |
| <div class="flex justify-between"> | |
| <span class="text-gray-300">Monday - Thursday</span> | |
| <span class="text-white">10:00 AM - 8:00 PM</span> | |
| </div> | |
| <div class="flex justify-between"> | |
| <span class="text-gray-300">Friday - Saturday</span> | |
| <span class="text-white">10:00 AM - 9:00 PM</span> | |
| </div> | |
| <div class="flex justify-between"> | |
| <span class="text-gray-300">Sunday</span> | |
| <span class="text-white">11:00 AM - 6:00 PM</span> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Footer --> | |
| <footer class="bg-black"> | |
| <div class="max-w-7xl mx-auto py-12 px-4 sm:px-6 lg:px-8"> | |
| <div class="grid grid-cols-1 gap-8 md:grid-cols-4"> | |
| <div> | |
| <div class="flex items-center"> | |
| <a href="logo.html" class="flex items-center"> | |
| <i data-feather="grid" class="text-red-600"></i> | |
| <span class="ml-2 text-xl font-bold">PJDA Designs</span> | |
| </a> | |
| </div> | |
| <p class="mt-4 text-sm text-gray-300"> | |
| The premier destination for basketball sneaker enthusiasts. Authentic kicks, exclusive drops. | |
| </p> | |
| <div class="mt-4 flex space-x-4"> | |
| <a href="#" class="text-gray-400 hover:text-red-400"> | |
| <i data-feather="instagram"></i> | |
| </a> | |
| <a href="#" class="text-gray-400 hover:text-red-400"> | |
| <i data-feather="twitter"></i> | |
| </a> | |
| <a href="#" class="text-gray-400 hover:text-red-400"> | |
| <i data-feather="facebook"></i> | |
| </a> | |
| </div> | |
| </div> | |
| <div> | |
| <h3 class="text-sm font-semibold text-white uppercase tracking-wider">Shop</h3> | |
| <ul class="mt-4 space-y-2"> | |
| <li><a href="#" class="text-sm text-gray-300 hover:text-red-400">New Arrivals</a></li> | |
| <li><a href="#" class="text-sm text-gray-300 hover:text-red-400">Best Sellers</a></li> | |
| <li><a href="#" class="text-sm text-gray-300 hover:text-red-400">Sale Items</a></li> | |
| <li><a href="#" class="text-sm text-gray-300 hover:text-red-400">Pre-Order</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h3 class="text-sm font-semibold text-white uppercase tracking-wider">Information</h3> | |
| <ul class="mt-4 space-y-2"> | |
| <li><a href="#" class="text-sm text-gray-300 hover:text-red-400">About Us</a></li> | |
| <li><a href="#" class="text-sm text-gray-300 hover:text-red-400">Shipping Policy</a></li> | |
| <li><a href="#" class="text-sm text-gray-300 hover:text-red-400">Return Policy</a></li> | |
| <li><a href="#" class="text-sm text-gray-300 hover:text-red-400">FAQs</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h3 class="text-sm font-semibold text-white uppercase tracking-wider">Newsletter</h3> | |
| <p class="mt-4 text-sm text-gray-300"> | |
| Subscribe to get exclusive access to drops and special offers. | |
| </p> | |
| <form class="mt-4 sm:flex sm:max-w-md"> | |
| <label for="email-address" class="sr-only">Email address</label> | |
| <input type="email" name="email-address" id="email-address" autocomplete="email" required class="appearance-none min-w-0 w-full bg-gray-700 border border-gray-700 rounded-md py-2 px-4 text-base text-white placeholder-gray-400 focus:outline-none focus:ring-red-500 focus:border-red-500" placeholder="Enter your email"> | |
| <div class="mt-3 rounded-md sm:mt-0 sm:ml-3 sm:flex-shrink-0"> | |
| <button type="submit" class="w-full flex items-center justify-center py-2 px-4 border border-transparent rounded-md text-sm font-medium text-white bg-red-600 hover:bg-red-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-red-500"> | |
| Subscribe | |
| </button> | |
| </div> | |
| </form> | |
| </div> | |
| </div> | |
| <div class="mt-8 border-t border-gray-800 pt-8 flex flex-col md:flex-row justify-between"> | |
| <p class="text-sm text-gray-400"> | |
| © 2023 SoleSphere Hoops Hub. All rights reserved. | |
| </p> | |
| <div class="flex mt-4 md:mt-0"> | |
| <a href="#" class="text-sm text-gray-400 hover:text-red-400 mr-4">Privacy Policy</a> | |
| <a href="#" class="text-sm text-gray-400 hover:text-red-400 mr-4">Terms of Service</a> | |
| <a href="#" class="text-sm text-gray-400 hover:text-red-400">Cookie Policy</a> | |
| </div> | |
| </div> | |
| </div> | |
| </footer> | |
| <!-- Chatbot --> | |
| <div class="fixed bottom-4 right-4 z-50"> | |
| <div id="chatbotContainer" class="bg-gray-900 rounded-lg shadow-xl overflow-hidden w-80 h-96 flex flex-col chatbot-container chatbot-hidden"> | |
| <div class="bg-red-600 px-4 py-3 flex justify-between items-center"> | |
| <h3 class="text-white font-medium">SoleSphere Assistant</h3> | |
| <button id="closeChatbot" class="text-white hover:text-gray-200"> | |
| <i data-feather="x"></i> | |
| </button> | |
| </div> | |
| <div id="chatbotMessages" class="flex-1 p-4 overflow-y-auto space-y-4"> | |
| <div class="flex"> | |
| <div class="bg-gray-800 rounded-lg p-3 max-w-xs"> | |
| <p class="text-sm text-white">Hello! I'm your SoleSphere assistant. How can I help you today?</p> | |
| </div> | |
| </div> | |
| <div class="flex justify-end"> | |
| <div class="bg-red-600 rounded-lg p-3 max-w-xs"> | |
| <p class="text-sm text-white">What are your store hours?</p> | |
| </div> | |
| </div> | |
| <div class="flex"> | |
| <div class="bg-gray-800 rounded-lg p-3 max-w-xs"> | |
| <p class="text-sm text-white">We're open Monday-Thursday 10AM-8PM, Friday-Saturday 10AM-9PM, and Sunday 11AM-6PM.</p> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="border-t border-gray-800 p-4"> | |
| <form id="chatbotForm" class="flex"> | |
| <input type="text" id="chatbotInput" placeholder="Type your message..." class="flex-1 bg-gray-800 border border-gray-700 rounded-l-md py-2 px-3 text-sm text-white focus:outline-none focus:ring-red-500 focus:border-red-500"> | |
| <button type="submit" class="bg-red-600 hover:bg-red-700 text-white py-2 px-3 rounded-r-md text-sm"> | |
| <i data-feather="send" class="w-4 h-4"></i> | |
| </button> | |
| </form> | |
| <div class="mt-2 flex justify-between"> | |
| <button class="text-xs text-gray-400 hover:text-red-400">Store Hours</button> | |
| <button class="text-xs text-gray-400 hover:text-red-400">Appointments</button> | |
| <button class="text-xs text-gray-400 hover:text-red-400">Contact</button> | |
| </div> | |
| </div> | |
| </div> | |
| <button id="openChatbot" class="bg-red-600 hover:bg-red-700 text-white rounded-full p-4 shadow-lg"> | |
| <i data-feather="message-square"></i> | |
| </button> | |
| </div> | |
| <script> | |
| feather.replace(); | |
| // Chatbot functionality | |
| const chatbotContainer = document.getElementById('chatbotContainer'); | |
| const openChatbot = document.getElementById('openChatbot'); | |
| const closeChatbot = document.getElementById('closeChatbot'); | |
| const chatbotMessages = document.getElementById('chatbotMessages'); | |
| const chatbotForm = document.getElementById('chatbotForm'); | |
| const chatbotInput = document.getElementById('chatbotInput'); | |
| openChatbot.addEventListener('click', () => { | |
| chatbotContainer.classList.remove('chatbot-hidden'); | |
| }); | |
| closeChatbot.addEventListener('click', () => { | |
| chatbotContainer.classList.add('chatbot-hidden'); | |
| }); | |
| chatbotForm.addEventListener('submit', (e) => { | |
| e.preventDefault(); | |
| const message = chatbotInput.value.trim(); | |
| if (message) { | |
| // Add user message | |
| addMessage(message, true); | |
| chatbotInput.value = ''; | |
| // Simulate bot response after a delay | |
| setTimeout(() => { | |
| const responses = [ | |
| "Our store hours are Monday-Thursday 10AM-8PM, Friday-Saturday 10AM-9PM, and Sunday 11AM-6PM.", | |
| "You can schedule an appointment by calling us at (555) 123-4567 or emailing info@solesphere.com.", | |
| "We currently have Kobe 6 Protro 'Grinch' in limited sizes available.", | |
| "You can pre-order by filling out the form on our website with your contact information and desired shoe details.", | |
| "Thank you for your question! A human representative will follow up with you shortly." | |
| ]; | |
| const randomResponse = responses[Math.floor(Math.random() * responses.length)]; | |
| addMessage(randomResponse, false); | |
| }, 1000); | |
| } | |
| }); | |
| function addMessage(text, isUser) { | |
| const messageDiv = document.createElement('div'); | |
| messageDiv.className = `flex ${isUser ? 'justify-end' : ''}`; | |
| const innerDiv = document.createElement('div'); | |
| innerDiv.className = isUser ? 'bg-red-600 rounded-lg p-3 max-w-xs' : 'bg-gray-800 rounded-lg p-3 max-w-xs'; | |
| const messageText = document.createElement('p'); | |
| messageText.className = 'text-sm text-white'; | |
| messageText.textContent = text; | |
| innerDiv.appendChild(messageText); | |
| messageDiv.appendChild(innerDiv); | |
| chatbotMessages.appendChild(messageDiv); | |
| // Scroll to bottom | |
| chatbotMessages.scrollTop = chatbotMessages.scrollHeight; | |
| } | |
| // Initialize Vanta.js waves effect | |
| VANTA.WAVES({ | |
| el: "body", | |
| mouseControls: true, | |
| touchControls: true, | |
| gyroControls: false, | |
| minHeight: 200.00, | |
| minWidth: 200.00, | |
| scale: 1.00, | |
| scaleMobile: 1.00, | |
| color: 0x660000, | |
| shininess: 35.00, | |
| waveHeight: 15.00, | |
| waveSpeed: 0.75, | |
| zoom: 0.65 | |
| }); | |
| </script> | |
| </body> | |
| </html> | |