Download index.html from fhb5730/bytebazaar-computer-configurator: direct link, hf CLI and curl.
- Browser
- Download file 10.7 kB
-
https://huggingface.co/spaces/fhb5730/bytebazaar-computer-configurator/resolve/main/index.html
- Command line
-
hf download hf://spaces/fhb5730/bytebazaar-computer-configurator/index.html
-
curl -L -o index.html https://huggingface.co/spaces/fhb5730/bytebazaar-computer-configurator/resolve/main/index.html
10.7 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>ByteBazaar - Build Your Perfect PC</title> | |
| <link rel="stylesheet" href="style.css"> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <script src="https://unpkg.com/feather-icons"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r128/three.min.js"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.net.min.js"></script> | |
| </head> | |
| <body class="bg-gray-100"> | |
| <custom-navbar></custom-navbar> | |
| <main class="container mx-auto px-4 py-8"> | |
| <!-- Hero Section --> | |
| <section id="hero" class="mb-16"> | |
| <div class="bg-yellow-500 rounded-xl p-8 md:p-12 shadow-lg"> | |
| <div class="flex flex-col md:flex-row items-center gap-8"> | |
| <div class="md:w-1/2"> | |
| <h1 class="text-4xl md:text-5xl font-bold text-gray-900 mb-4">Build Your Dream PC</h1> | |
| <p class="text-xl text-gray-800 mb-6">Customize every component to create the perfect computer for your needs.</p> | |
| <a href="#builder" class="bg-gray-900 hover:bg-gray-800 text-white px-6 py-3 rounded-lg font-medium transition-colors inline-block">Start Building</a> | |
| </div> | |
| <div class="md:w-1/2"> | |
| <img src="http://static.photos/technology/640x360/42" alt="Gaming PC" class="rounded-lg shadow-md w-full"> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- PC Builder Section --> | |
| <section id="builder" class="mb-16"> | |
| <div class="bg-white rounded-xl shadow-lg overflow-hidden"> | |
| <div class="bg-gray-900 text-white px-6 py-4"> | |
| <h2 class="text-2xl font-bold">PC Configuration Tool</h2> | |
| </div> | |
| <div class="p-6"> | |
| <div class="grid grid-cols-1 md:grid-cols-3 gap-6"> | |
| <!-- Component Selection --> | |
| <div class="md:col-span-2"> | |
| <div class="mb-8"> | |
| <h3 class="text-xl font-semibold mb-4 text-gray-800">1. Select Processor (CPU)</h3> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4"> | |
| <!-- CPU Cards will be populated by JavaScript --> | |
| </div> | |
| </div> | |
| <div class="mb-8"> | |
| <h3 class="text-xl font-semibold mb-4 text-gray-800">2. Select Graphics Card (GPU)</h3> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4"> | |
| <!-- GPU Cards will be populated by JavaScript --> | |
| </div> | |
| </div> | |
| <div class="mb-8"> | |
| <h3 class="text-xl font-semibold mb-4 text-gray-800">3. Select Memory (RAM)</h3> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4"> | |
| <!-- RAM Cards will be populated by JavaScript --> | |
| </div> | |
| </div> | |
| <div class="mb-8"> | |
| <h3 class="text-xl font-semibold mb-4 text-gray-800">4. Select Storage</h3> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4"> | |
| <!-- Storage Cards will be populated by JavaScript --> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Configuration Summary --> | |
| <div class="md:col-span-1"> | |
| <div class="bg-gray-50 rounded-lg p-6 border border-gray-200 sticky top-4"> | |
| <h3 class="text-xl font-bold mb-4 text-gray-800">Your Build</h3> | |
| <div id="build-summary" class="mb-6"> | |
| <p class="text-gray-500">Select components to see your build</p> | |
| </div> | |
| <div class="mb-4"> | |
| <h4 class="font-semibold text-gray-700 mb-2">Total Price:</h4> | |
| <p id="total-price" class="text-3xl font-bold text-yellow-600">$0</p> | |
| </div> | |
| <button id="save-build" class="w-full bg-yellow-500 hover:bg-yellow-600 text-gray-900 font-medium py-3 px-4 rounded-lg transition-colors disabled:opacity-50" disabled> | |
| Save Build | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Prebuilt Systems Section --> | |
| <section id="prebuilt" class="mb-16"> | |
| <h2 class="text-3xl font-bold text-center mb-12 text-gray-800">Prebuilt Systems</h2> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8"> | |
| <div class="bg-white rounded-xl shadow-lg overflow-hidden"> | |
| <img src="http://static.photos/technology/640x360/43" alt="Starter PC" class="w-full h-48 object-cover"> | |
| <div class="p-6"> | |
| <h3 class="text-xl font-bold mb-2 text-gray-800">Starter PC</h3> | |
| <p class="text-gray-600 mb-4">Perfect for everyday tasks and light gaming</p> | |
| <ul class="space-y-2 mb-4"> | |
| <li class="flex items-center"><i data-feather="check" class="text-yellow-500 mr-2"></i> AMD Ryzen 5 5600G</li> | |
| <li class="flex items-center"><i data-feather="check" class="text-yellow-500 mr-2"></i> 16GB DDR4 RAM</li> | |
| <li class="flex items-center"><i data-feather="check" class="text-yellow-500 mr-2"></i> 512GB SSD</li> | |
| </ul> | |
| <div class="flex justify-between items-center"> | |
| <span class="text-2xl font-bold text-yellow-600">$499</span> | |
| <button class="bg-yellow-500 hover:bg-yellow-600 text-gray-900 font-medium py-2 px-4 rounded-lg transition-colors"> | |
| Customize | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-white rounded-xl shadow-lg overflow-hidden"> | |
| <img src="http://static.photos/technology/640x360/44" alt="Gaming PC" class="w-full h-48 object-cover"> | |
| <div class="p-6"> | |
| <h3 class="text-xl font-bold mb-2 text-gray-800">Gaming PC</h3> | |
| <p class="text-gray-600 mb-4">High performance for modern games</p> | |
| <ul class="space-y-2 mb-4"> | |
| <li class="flex items-center"><i data-feather="check" class="text-yellow-500 mr-2"></i> Intel Core i7-12700K</li> | |
| <li class="flex items-center"><i data-feather="check" class="text-yellow-500 mr-2"></i> NVIDIA RTX 3070</li> | |
| <li class="flex items-center"><i data-feather="check" class="text-yellow-500 mr-2"></i> 32GB DDR4 RAM</li> | |
| <li class="flex items-center"><i data-feather="check" class="text-yellow-500 mr-2"></i> 1TB NVMe SSD</li> | |
| </ul> | |
| <div class="flex justify-between items-center"> | |
| <span class="text-2xl font-bold text-yellow-600">$1299</span> | |
| <button class="bg-yellow-500 hover:bg-yellow-600 text-gray-900 font-medium py-2 px-4 rounded-lg transition-colors"> | |
| Customize | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-white rounded-xl shadow-lg overflow-hidden"> | |
| <img src="http://static.photos/technology/640x360/45" alt="Workstation" class="w-full h-48 object-cover"> | |
| <div class="p-6"> | |
| <h3 class="text-xl font-bold mb-2 text-gray-800">Workstation</h3> | |
| <p class="text-gray-600 mb-4">For content creators and professionals</p> | |
| <ul class="space-y-2 mb-4"> | |
| <li class="flex items-center"><i data-feather="check" class="text-yellow-500 mr-2"></i> AMD Ryzen 9 7950X</li> | |
| <li class="flex items-center"><i data-feather="check" class="text-yellow-500 mr-2"></i> NVIDIA RTX 4090</li> | |
| <li class="flex items-center"><i data-feather="check" class="text-yellow-500 mr-2"></i> 64GB DDR5 RAM</li> | |
| <li class="flex items-center"><i data-feather="check" class="text-yellow-500 mr-2"></i> 2TB NVMe SSD</li> | |
| </ul> | |
| <div class="flex justify-between items-center"> | |
| <span class="text-2xl font-bold text-yellow-600">$2999</span> | |
| <button class="bg-yellow-500 hover:bg-yellow-600 text-gray-900 font-medium py-2 px-4 rounded-lg transition-colors"> | |
| Customize | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| </main> | |
| <custom-footer></custom-footer> | |
| <script src="components/navbar.js"></script> | |
| <script src="components/footer.js"></script> | |
| <script src="script.js"></script> | |
| <script> | |
| feather.replace(); | |
| VANTA.NET({ | |
| el: "#hero", | |
| mouseControls: true, | |
| touchControls: true, | |
| gyroControls: false, | |
| minHeight: 200.00, | |
| minWidth: 200.00, | |
| scale: 1.00, | |
| scaleMobile: 1.00, | |
| color: 0xfbbf24, | |
| backgroundColor: 0xf3f4f6, | |
| points: 10.00, | |
| maxDistance: 20.00, | |
| spacing: 15.00 | |
| }); | |
| </script> | |
| <script src="https://huggingface.co/deepsite/deepsite-badge.js"></script> | |
| </body> | |
| </html> |