Download index.html from Gojo2006m/gojo: direct link, hf CLI and curl.
- Browser
- Download file 27 kB
-
https://huggingface.co/spaces/Gojo2006m/gojo/resolve/main/index.html
- Command line
-
hf download hf://spaces/Gojo2006m/gojo/index.html
-
curl -L -o index.html https://huggingface.co/spaces/Gojo2006m/gojo/resolve/main/index.html
27 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Premium Shop - Product Catalog</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"> | |
| <style> | |
| .product-card:hover { | |
| transform: translateY(-5px); | |
| box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); | |
| } | |
| .filter-section { | |
| transition: all 0.3s ease; | |
| } | |
| .price-slider::-webkit-slider-thumb { | |
| -webkit-appearance: none; | |
| appearance: none; | |
| width: 20px; | |
| height: 20px; | |
| border-radius: 50%; | |
| background: #3b82f6; | |
| cursor: pointer; | |
| } | |
| .price-slider::-moz-range-thumb { | |
| width: 20px; | |
| height: 20px; | |
| border-radius: 50%; | |
| background: #3b82f6; | |
| cursor: pointer; | |
| } | |
| [contenteditable="true"]:focus { | |
| outline: none; | |
| background-color: #f8fafc; | |
| border-radius: 4px; | |
| padding: 0 2px; | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-50"> | |
| <div class="container mx-auto px-4 py-8"> | |
| <!-- Header --> | |
| <header class="flex justify-between items-center mb-8"> | |
| <div class="flex items-center"> | |
| <h1 class="text-3xl font-bold text-gray-800" contenteditable="true">Premium Shop</h1> | |
| <span class="ml-2 px-2 py-1 bg-blue-100 text-blue-800 text-xs font-medium rounded-full" contenteditable="true">EST. 2023</span> | |
| </div> | |
| <div class="flex items-center space-x-4"> | |
| <div class="relative"> | |
| <input type="text" placeholder="Search products..." class="pl-10 pr-4 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500"> | |
| <i class="fas fa-search absolute left-3 top-3 text-gray-400"></i> | |
| </div> | |
| <button class="p-2 bg-blue-600 text-white rounded-lg hover:bg-blue-700 transition"> | |
| <i class="fas fa-shopping-cart"></i> | |
| <span class="ml-1" contenteditable="true">Cart (0)</span> | |
| </button> | |
| </div> | |
| </header> | |
| <div class="flex flex-col lg:flex-row gap-8"> | |
| <!-- Filters Section --> | |
| <aside class="w-full lg:w-1/4 filter-section bg-white p-6 rounded-lg shadow-sm"> | |
| <div class="flex justify-between items-center mb-4"> | |
| <h2 class="text-lg font-semibold text-gray-800">Filters</h2> | |
| <button class="text-blue-600 text-sm hover:underline">Reset all</button> | |
| </div> | |
| <!-- Price Range Filter --> | |
| <div class="mb-6"> | |
| <h3 class="font-medium text-gray-700 mb-3">Price Range</h3> | |
| <div class="flex justify-between mb-2"> | |
| <span class="text-sm text-gray-600">$<span id="min-price-value" contenteditable="true">0</span></span> | |
| <span class="text-sm text-gray-600">$<span id="max-price-value" contenteditable="true">500</span></span> | |
| </div> | |
| <input type="range" min="0" max="500" value="0" class="w-full price-slider" id="min-price"> | |
| <input type="range" min="0" max="500" value="500" class="w-full price-slider mt-2" id="max-price"> | |
| </div> | |
| <!-- Delivery Options --> | |
| <div class="mb-6"> | |
| <h3 class="font-medium text-gray-700 mb-3">Delivery Options</h3> | |
| <div class="space-y-2"> | |
| <label class="flex items-center"> | |
| <input type="checkbox" class="rounded text-blue-600" checked> | |
| <span class="ml-2 text-gray-700" contenteditable="true">Free Shipping</span> | |
| </label> | |
| <label class="flex items-center"> | |
| <input type="checkbox" class="rounded text-blue-600"> | |
| <span class="ml-2 text-gray-700" contenteditable="true">Express Delivery (+$9.99)</span> | |
| </label> | |
| <label class="flex items-center"> | |
| <input type="checkbox" class="rounded text-blue-600"> | |
| <span class="ml-2 text-gray-700" contenteditable="true">Same Day (+$14.99)</span> | |
| </label> | |
| </div> | |
| </div> | |
| <!-- Categories --> | |
| <div class="mb-6"> | |
| <h3 class="font-medium text-gray-700 mb-3">Categories</h3> | |
| <div class="space-y-2"> | |
| <label class="flex items-center"> | |
| <input type="checkbox" class="rounded text-blue-600" checked> | |
| <span class="ml-2 text-gray-700" contenteditable="true">Electronics</span> | |
| </label> | |
| <label class="flex items-center"> | |
| <input type="checkbox" class="rounded text-blue-600"> | |
| <span class="ml-2 text-gray-700" contenteditable="true">Home & Kitchen</span> | |
| </label> | |
| <label class="flex items-center"> | |
| <input type="checkbox" class="rounded text-blue-600"> | |
| <span class="ml-2 text-gray-700" contenteditable="true">Fashion</span> | |
| </label> | |
| <label class="flex items-center"> | |
| <input type="checkbox" class="rounded text-blue-600"> | |
| <span class="ml-2 text-gray-700" contenteditable="true">Beauty</span> | |
| </label> | |
| </div> | |
| </div> | |
| <!-- Ratings --> | |
| <div class="mb-6"> | |
| <h3 class="font-medium text-gray-700 mb-3">Customer Ratings</h3> | |
| <div class="space-y-2"> | |
| <label class="flex items-center"> | |
| <input type="checkbox" class="rounded text-blue-600"> | |
| <span class="ml-2 text-gray-700"> | |
| <i class="fas fa-star text-yellow-400"></i> | |
| <i class="fas fa-star text-yellow-400"></i> | |
| <i class="fas fa-star text-yellow-400"></i> | |
| <i class="fas fa-star text-yellow-400"></i> | |
| <i class="fas fa-star text-yellow-400"></i> | |
| </span> | |
| </label> | |
| <label class="flex items-center"> | |
| <input type="checkbox" class="rounded text-blue-600"> | |
| <span class="ml-2 text-gray-700"> | |
| <i class="fas fa-star text-yellow-400"></i> | |
| <i class="fas fa-star text-yellow-400"></i> | |
| <i class="fas fa-star text-yellow-400"></i> | |
| <i class="fas fa-star text-yellow-400"></i> | |
| <i class="far fa-star text-yellow-400"></i> | |
| <span class="text-xs text-gray-500 ml-1" contenteditable="true">& Up</span> | |
| </span> | |
| </label> | |
| <label class="flex items-center"> | |
| <input type="checkbox" class="rounded text-blue-600"> | |
| <span class="ml-2 text-gray-700"> | |
| <i class="fas fa-star text-yellow-400"></i> | |
| <i class="fas fa-star text-yellow-400"></i> | |
| <i class="fas fa-star text-yellow-400"></i> | |
| <i class="far fa-star text-yellow-400"></i> | |
| <i class="far fa-star text-yellow-400"></i> | |
| <span class="text-xs text-gray-500 ml-1" contenteditable="true">& Up</span> | |
| </span> | |
| </label> | |
| </div> | |
| </div> | |
| <button class="w-full py-2 bg-blue-600 text-white rounded-lg hover:bg-blue-700 transition"> | |
| Apply Filters | |
| </button> | |
| </aside> | |
| <!-- Products Section --> | |
| <main class="w-full lg:w-3/4"> | |
| <div class="flex justify-between items-center mb-6"> | |
| <div> | |
| <span class="text-gray-600" contenteditable="true">Showing 1-6 of 24 products</span> | |
| </div> | |
| <div class="flex items-center"> | |
| <span class="text-gray-600 mr-2" contenteditable="true">Sort by:</span> | |
| <select class="border rounded-lg px-3 py-2 focus:outline-none focus:ring-2 focus:ring-blue-500"> | |
| <option>Featured</option> | |
| <option>Price: Low to High</option> | |
| <option>Price: High to Low</option> | |
| <option>Newest Arrivals</option> | |
| <option>Best Rated</option> | |
| </select> | |
| </div> | |
| </div> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6"> | |
| <!-- Product 1 --> | |
| <div class="product-card bg-white p-4 rounded-lg shadow-sm border border-gray-100 transition duration-300"> | |
| <div class="relative mb-4"> | |
| <img src="https://via.placeholder.com/300x200?text=Smartphone" alt="Product" class="w-full h-48 object-cover rounded-lg"> | |
| <div class="absolute top-2 right-2 bg-red-500 text-white text-xs font-bold px-2 py-1 rounded-full" contenteditable="true">SALE</div> | |
| </div> | |
| <h3 class="text-lg font-semibold text-gray-800 mb-1" contenteditable="true">Premium Smartphone X</h3> | |
| <div class="flex items-center mb-2"> | |
| <div class="flex text-yellow-400"> | |
| <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> | |
| <span class="text-xs text-gray-500 ml-1" contenteditable="true">(128)</span> | |
| </div> | |
| <div class="mb-3"> | |
| <span class="text-xl font-bold text-gray-900" contenteditable="true">$399.99</span> | |
| <span class="text-sm text-gray-500 line-through ml-2" contenteditable="true">$499.99</span> | |
| </div> | |
| <div class="flex justify-between items-center"> | |
| <button class="px-3 py-1 bg-blue-600 text-white text-sm rounded hover:bg-blue-700 transition"> | |
| <i class="fas fa-cart-plus mr-1"></i> | |
| <span contenteditable="true">Add to Cart</span> | |
| </button> | |
| <button class="px-3 py-1 border border-gray-300 text-gray-700 text-sm rounded hover:bg-gray-100 transition"> | |
| <i class="far fa-heart mr-1"></i> | |
| <span contenteditable="true">Wishlist</span> | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Product 2 --> | |
| <div class="product-card bg-white p-4 rounded-lg shadow-sm border border-gray-100 transition duration-300"> | |
| <div class="relative mb-4"> | |
| <img src="https://via.placeholder.com/300x200?text=Headphones" alt="Product" class="w-full h-48 object-cover rounded-lg"> | |
| </div> | |
| <h3 class="text-lg font-semibold text-gray-800 mb-1" contenteditable="true">Wireless Noise Cancelling Headphones</h3> | |
| <div class="flex items-center mb-2"> | |
| <div class="flex text-yellow-400"> | |
| <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="far fa-star"></i> | |
| </div> | |
| <span class="text-xs text-gray-500 ml-1" contenteditable="true">(87)</span> | |
| </div> | |
| <div class="mb-3"> | |
| <span class="text-xl font-bold text-gray-900" contenteditable="true">$179.99</span> | |
| </div> | |
| <div class="flex justify-between items-center"> | |
| <button class="px-3 py-1 bg-blue-600 text-white text-sm rounded hover:bg-blue-700 transition"> | |
| <i class="fas fa-cart-plus mr-1"></i> | |
| <span contenteditable="true">Add to Cart</span> | |
| </button> | |
| <button class="px-3 py-1 border border-gray-300 text-gray-700 text-sm rounded hover:bg-gray-100 transition"> | |
| <i class="far fa-heart mr-1"></i> | |
| <span contenteditable="true">Wishlist</span> | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Product 3 --> | |
| <div class="product-card bg-white p-4 rounded-lg shadow-sm border border-gray-100 transition duration-300"> | |
| <div class="relative mb-4"> | |
| <img src="https://via.placeholder.com/300x200?text=Smart+Watch" alt="Product" class="w-full h-48 object-cover rounded-lg"> | |
| <div class="absolute top-2 right-2 bg-green-500 text-white text-xs font-bold px-2 py-1 rounded-full" contenteditable="true">NEW</div> | |
| </div> | |
| <h3 class="text-lg font-semibold text-gray-800 mb-1" contenteditable="true">Fitness Smart Watch Pro</h3> | |
| <div class="flex items-center mb-2"> | |
| <div class="flex text-yellow-400"> | |
| <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> | |
| <span class="text-xs text-gray-500 ml-1" contenteditable="true">(256)</span> | |
| </div> | |
| <div class="mb-3"> | |
| <span class="text-xl font-bold text-gray-900" contenteditable="true">$249.99</span> | |
| </div> | |
| <div class="flex justify-between items-center"> | |
| <button class="px-3 py-1 bg-blue-600 text-white text-sm rounded hover:bg-blue-700 transition"> | |
| <i class="fas fa-cart-plus mr-1"></i> | |
| <span contenteditable="true">Add to Cart</span> | |
| </button> | |
| <button class="px-3 py-1 border border-gray-300 text-gray-700 text-sm rounded hover:bg-gray-100 transition"> | |
| <i class="far fa-heart mr-1"></i> | |
| <span contenteditable="true">Wishlist</span> | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Product 4 --> | |
| <div class="product-card bg-white p-4 rounded-lg shadow-sm border border-gray-100 transition duration-300"> | |
| <div class="relative mb-4"> | |
| <img src="https://via.placeholder.com/300x200?text=Laptop" alt="Product" class="w-full h-48 object-cover rounded-lg"> | |
| </div> | |
| <h3 class="text-lg font-semibold text-gray-800 mb-1" contenteditable="true">Ultra Slim Laptop</h3> | |
| <div class="flex items-center mb-2"> | |
| <div class="flex text-yellow-400"> | |
| <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> | |
| <span class="text-xs text-gray-500 ml-1" contenteditable="true">(192)</span> | |
| </div> | |
| <div class="mb-3"> | |
| <span class="text-xl font-bold text-gray-900" contenteditable="true">$899.99</span> | |
| <span class="text-sm text-gray-500 line-through ml-2" contenteditable="true">$999.99</span> | |
| </div> | |
| <div class="flex justify-between items-center"> | |
| <button class="px-3 py-1 bg-blue-600 text-white text-sm rounded hover:bg-blue-700 transition"> | |
| <i class="fas fa-cart-plus mr-1"></i> | |
| <span contenteditable="true">Add to Cart</span> | |
| </button> | |
| <button class="px-3 py-1 border border-gray-300 text-gray-700 text-sm rounded hover:bg-gray-100 transition"> | |
| <i class="far fa-heart mr-1"></i> | |
| <span contenteditable="true">Wishlist</span> | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Product 5 --> | |
| <div class="product-card bg-white p-4 rounded-lg shadow-sm border border-gray-100 transition duration-300"> | |
| <div class="relative mb-4"> | |
| <img src="https://via.placeholder.com/300x200?text=Tablet" alt="Product" class="w-full h-48 object-cover rounded-lg"> | |
| </div> | |
| <h3 class="text-lg font-semibold text-gray-800 mb-1" contenteditable="true">10" Tablet with Stylus</h3> | |
| <div class="flex items-center mb-2"> | |
| <div class="flex text-yellow-400"> | |
| <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="far fa-star"></i> | |
| </div> | |
| <span class="text-xs text-gray-500 ml-1" contenteditable="true">(64)</span> | |
| </div> | |
| <div class="mb-3"> | |
| <span class="text-xl font-bold text-gray-900" contenteditable="true">$329.99</span> | |
| </div> | |
| <div class="flex justify-between items-center"> | |
| <button class="px-3 py-1 bg-blue-600 text-white text-sm rounded hover:bg-blue-700 transition"> | |
| <i class="fas fa-cart-plus mr-1"></i> | |
| <span contenteditable="true">Add to Cart</span> | |
| </button> | |
| <button class="px-3 py-1 border border-gray-300 text-gray-700 text-sm rounded hover:bg-gray-100 transition"> | |
| <i class="far fa-heart mr-1"></i> | |
| <span contenteditable="true">Wishlist</span> | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Product 6 --> | |
| <div class="product-card bg-white p-4 rounded-lg shadow-sm border border-gray-100 transition duration-300"> | |
| <div class="relative mb-4"> | |
| <img src="https://via.placeholder.com/300x200?text=Speaker" alt="Product" class="w-full h-48 object-cover rounded-lg"> | |
| <div class="absolute top-2 right-2 bg-blue-500 text-white text-xs font-bold px-2 py-1 rounded-full" contenteditable="true">BESTSELLER</div> | |
| </div> | |
| <h3 class="text-lg font-semibold text-gray-800 mb-1" contenteditable="true">Portable Bluetooth Speaker</h3> | |
| <div class="flex items-center mb-2"> | |
| <div class="flex text-yellow-400"> | |
| <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> | |
| <span class="text-xs text-gray-500 ml-1" contenteditable="true">(312)</span> | |
| </div> | |
| <div class="mb-3"> | |
| <span class="text-xl font-bold text-gray-900" contenteditable="true">$129.99</span> | |
| <span class="text-sm text-gray-500 line-through ml-2" contenteditable="true">$149.99</span> | |
| </div> | |
| <div class="flex justify-between items-center"> | |
| <button class="px-3 py-1 bg-blue-600 text-white text-sm rounded hover:bg-blue-700 transition"> | |
| <i class="fas fa-cart-plus mr-1"></i> | |
| <span contenteditable="true">Add to Cart</span> | |
| </button> | |
| <button class="px-3 py-1 border border-gray-300 text-gray-700 text-sm rounded hover:bg-gray-100 transition"> | |
| <i class="far fa-heart mr-1"></i> | |
| <span contenteditable="true">Wishlist</span> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Pagination --> | |
| <div class="flex justify-center mt-8"> | |
| <nav class="flex items-center space-x-2"> | |
| <button class="px-3 py-1 border rounded-lg text-gray-600 hover:bg-gray-100"> | |
| <i class="fas fa-chevron-left"></i> | |
| </button> | |
| <button class="px-3 py-1 border rounded-lg bg-blue-600 text-white">1</button> | |
| <button class="px-3 py-1 border rounded-lg text-gray-600 hover:bg-gray-100">2</button> | |
| <button class="px-3 py-1 border rounded-lg text-gray-600 hover:bg-gray-100">3</button> | |
| <span class="px-2 text-gray-600">...</span> | |
| <button class="px-3 py-1 border rounded-lg text-gray-600 hover:bg-gray-100">8</button> | |
| <button class="px-3 py-1 border rounded-lg text-gray-600 hover:bg-gray-100"> | |
| <i class="fas fa-chevron-right"></i> | |
| </button> | |
| </nav> | |
| </div> | |
| </main> | |
| </div> | |
| </div> | |
| <script> | |
| // Price range slider functionality | |
| const minPriceSlider = document.getElementById('min-price'); | |
| const maxPriceSlider = document.getElementById('max-price'); | |
| const minPriceValue = document.getElementById('min-price-value'); | |
| const maxPriceValue = document.getElementById('max-price-value'); | |
| minPriceSlider.addEventListener('input', function() { | |
| if (parseInt(minPriceSlider.value) > parseInt(maxPriceSlider.value)) { | |
| maxPriceSlider.value = minPriceSlider.value; | |
| maxPriceValue.textContent = maxPriceSlider.value; | |
| } | |
| minPriceValue.textContent = minPriceSlider.value; | |
| }); | |
| maxPriceSlider.addEventListener('input', function() { | |
| if (parseInt(maxPriceSlider.value) < parseInt(minPriceSlider.value)) { | |
| minPriceSlider.value = maxPriceSlider.value; | |
| minPriceValue.textContent = minPriceSlider.value; | |
| } | |
| maxPriceValue.textContent = maxPriceSlider.value; | |
| }); | |
| // Make all editable elements save their content to localStorage | |
| document.querySelectorAll('[contenteditable="true"]').forEach(element => { | |
| // Generate a unique ID for each editable element | |
| const id = 'editable-' + Math.random().toString(36).substr(2, 9); | |
| element.setAttribute('data-editable-id', id); | |
| // Load saved content if available | |
| if (localStorage.getItem(id)) { | |
| element.textContent = localStorage.getItem(id); | |
| } | |
| // Save content on blur | |
| element.addEventListener('blur', function() { | |
| localStorage.setItem(id, this.textContent); | |
| }); | |
| }); | |
| // Product card hover effect | |
| document.querySelectorAll('.product-card').forEach(card => { | |
| card.addEventListener('mouseenter', function() { | |
| this.style.transition = 'transform 0.3s ease, box-shadow 0.3s ease'; | |
| }); | |
| }); | |
| </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=Gojo2006m/gojo" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
| </html> |