Spaces:
Running
Running
Download index.html from Clings/bytebazaar: direct link, hf CLI and curl.
- Browser
- Download file 30.7 kB
-
https://huggingface.co/spaces/Clings/bytebazaar/resolve/main/index.html
- Command line
-
hf download hf://spaces/Clings/bytebazaar/index.html
-
curl -L -o index.html https://huggingface.co/spaces/Clings/bytebazaar/resolve/main/index.html
30.7 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>ByteBazaar - Digital Marketplace</title> | |
| <link rel="icon" type="image/x-icon" href="/static/favicon.ico"> | |
| <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://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.net.min.js"></script> | |
| <script> | |
| tailwind.config = { | |
| theme: { | |
| extend: { | |
| colors: { | |
| primary: '#6366f1', | |
| secondary: '#8b5cf6', | |
| } | |
| } | |
| } | |
| } | |
| </script> | |
| <style> | |
| @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap'); | |
| body { | |
| font-family: 'Inter', sans-serif; | |
| } | |
| .hero-gradient { | |
| background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%); | |
| } | |
| .product-card:hover { | |
| transform: translateY(-5px); | |
| box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-50"> | |
| <div id="vanta-background" class="fixed inset-0 -z-10"></div> | |
| <!-- Navigation --> | |
| <nav class="bg-white shadow-sm"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="flex justify-between h-16"> | |
| <div class="flex"> | |
| <div class="flex-shrink-0 flex items-center"> | |
| <i data-feather="shopping-cart" class="text-primary h-6 w-6"></i> | |
| <span class="ml-2 text-xl font-bold text-gray-900">ByteBazaar</span> | |
| </div> | |
| <div class="hidden sm:ml-6 sm:flex sm:space-x-8"> | |
| <a href="#" class="border-primary text-gray-900 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Home</a> | |
| <a href="#" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Explore</a> | |
| <a href="#" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Categories</a> | |
| <a href="#" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Sell</a> | |
| </div> | |
| </div> | |
| <div class="hidden sm:ml-6 sm:flex sm:items-center"> | |
| <div class="relative"> | |
| <input type="text" class="border border-gray-300 rounded-full py-2 px-4 pl-10 focus:outline-none focus:ring-2 focus:ring-primary focus:border-transparent" placeholder="Search products..."> | |
| <i data-feather="search" class="absolute left-3 top-2.5 text-gray-400"></i> | |
| </div> | |
| <button onclick="window.location.href='login.html'" class="ml-4 bg-primary text-white px-4 py-2 rounded-md text-sm font-medium hover:bg-primary-600 transition duration-150 ease-in-out">Sign In</button> | |
| <button onclick="window.location.href='register.html'" class="ml-4 bg-secondary text-white px-4 py-2 rounded-md text-sm font-medium hover:bg-secondary-600 transition duration-150 ease-in-out">Sign Up</button> | |
| </div> | |
| <div class="-mr-2 flex items-center sm:hidden"> | |
| <button type="button" class="inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-primary"> | |
| <i data-feather="menu"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </nav> | |
| <!-- Hero Section --> | |
| <div class="hero-gradient text-white"> | |
| <div class="max-w-7xl mx-auto py-12 px-4 sm:px-6 lg:px-8"> | |
| <div class="lg:grid lg:grid-cols-12 lg:gap-8"> | |
| <div class="sm:text-center md:max-w-2xl md:mx-auto lg:col-span-6 lg:text-left"> | |
| <h1 class="text-4xl tracking-tight font-extrabold sm:text-5xl md:text-6xl"> | |
| <span class="block">Buy & Sell Digital</span> | |
| <span class="block text-secondary-200">Products Easily</span> | |
| </h1> | |
| <p class="mt-3 text-base text-gray-100 sm:mt-5 sm:text-lg sm:max-w-xl sm:mx-auto md:mt-5 md:text-xl lg:mx-0"> | |
| The marketplace for digital creators to sell their work and buyers to find amazing digital products. | |
| </p> | |
| <div class="mt-8 sm:max-w-lg sm:mx-auto sm:text-center lg:text-left lg:mx-0"> | |
| <div class="flex flex-col sm:flex-row gap-4"> | |
| <button class="w-full sm:w-auto bg-white text-primary px-6 py-3 border border-transparent rounded-md text-base font-medium hover:bg-gray-50 transition duration-150 ease-in-out"> | |
| Browse Products | |
| </button> | |
| <button class="w-full sm:w-auto bg-secondary text-white px-6 py-3 border border-transparent rounded-md text-base font-medium hover:bg-secondary-600 transition duration-150 ease-in-out"> | |
| Become a Seller | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="mt-12 relative sm:max-w-lg sm:mx-auto lg:mt-0 lg:max-w-none lg:mx-0 lg:col-span-6 lg:flex lg:items-center"> | |
| <div class="relative mx-auto w-full rounded-lg shadow-lg lg:max-w-md"> | |
| <div class="relative block w-full bg-white rounded-lg overflow-hidden"> | |
| <img class="w-full" src="http://static.photos/technology/1024x576/1" alt="Digital products showcase"> | |
| <div class="absolute inset-0 bg-gradient-to-t from-primary/80 to-transparent flex items-end p-6"> | |
| <div> | |
| <h3 class="text-xl font-bold text-white">Featured Product</h3> | |
| <p class="text-gray-100 mt-1">Premium Digital Template Pack</p> | |
| <button class="mt-2 bg-secondary text-white px-4 py-2 rounded-md text-sm font-medium hover:bg-secondary-600 transition duration-150 ease-in-out"> | |
| View Details | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Categories Section --> | |
| <div class="max-w-7xl mx-auto py-12 px-4 sm:px-6 lg:px-8"> | |
| <div class="text-center"> | |
| <h2 class="text-3xl font-extrabold text-gray-900 sm:text-4xl">Shop by Category</h2> | |
| <p class="mt-3 max-w-2xl mx-auto text-xl text-gray-500 sm:mt-4"> | |
| Discover digital products across all categories | |
| </p> | |
| </div> | |
| <div class="mt-10 grid grid-cols-2 gap-6 sm:grid-cols-3 lg:grid-cols-6"> | |
| <a href="#" class="group bg-white p-6 rounded-lg shadow-sm transition duration-150 ease-in-out hover:shadow-md text-center"> | |
| <div class="mx-auto h-16 w-16 rounded-full bg-primary-100 flex items-center justify-center group-hover:bg-primary-200 transition duration-150 ease-in-out"> | |
| <i data-feather="book" class="text-primary h-8 w-8"></i> | |
| </div> | |
| <h3 class="mt-4 text-sm font-medium text-gray-900 group-hover:text-primary">eBooks</h3> | |
| <p class="mt-1 text-xs text-gray-500">120+ products</p> | |
| </a> | |
| <a href="#" class="group bg-white p-6 rounded-lg shadow-sm transition duration-150 ease-in-out hover:shadow-md text-center"> | |
| <div class="mx-auto h-16 w-16 rounded-full bg-secondary-100 flex items-center justify-center group-hover:bg-secondary-200 transition duration-150 ease-in-out"> | |
| <i data-feather="music" class="text-secondary h-8 w-8"></i> | |
| </div> | |
| <h3 class="mt-4 text-sm font-medium text-gray-900 group-hover:text-secondary">Audio</h3> | |
| <p class="mt-1 text-xs text-gray-500">85+ products</p> | |
| </a> | |
| <a href="#" class="group bg-white p-6 rounded-lg shadow-sm transition duration-150 ease-in-out hover:shadow-md text-center"> | |
| <div class="mx-auto h-16 w-16 rounded-full bg-purple-100 flex items-center justify-center group-hover:bg-purple-200 transition duration-150 ease-in-out"> | |
| <i data-feather="video" class="text-purple-600 h-8 w-8"></i> | |
| </div> | |
| <h3 class="mt-4 text-sm font-medium text-gray-900 group-hover:text-purple-600">Video</h3> | |
| <p class="mt-1 text-xs text-gray-500">210+ products</p> | |
| </a> | |
| <a href="#" class="group bg-white p-6 rounded-lg shadow-sm transition duration-150 ease-in-out hover:shadow-md text-center"> | |
| <div class="mx-auto h-16 w-16 rounded-full bg-blue-100 flex items-center justify-center group-hover:bg-blue-200 transition duration-150 ease-in-out"> | |
| <i data-feather="image" class="text-blue-600 h-8 w-8"></i> | |
| </div> | |
| <h3 class="mt-4 text-sm font-medium text-gray-900 group-hover:text-blue-600">Templates</h3> | |
| <p class="mt-1 text-xs text-gray-500">350+ products</p> | |
| </a> | |
| <a href="#" class="group bg-white p-6 rounded-lg shadow-sm transition duration-150 ease-in-out hover:shadow-md text-center"> | |
| <div class="mx-auto h-16 w-16 rounded-full bg-green-100 flex items-center justify-center group-hover:bg-green-200 transition duration-150 ease-in-out"> | |
| <i data-feather="code" class="text-green-600 h-8 w-8"></i> | |
| </div> | |
| <h3 class="mt-4 text-sm font-medium text-gray-900 group-hover:text-green-600">Software</h3> | |
| <p class="mt-1 text-xs text-gray-500">75+ products</p> | |
| </a> | |
| <a href="#" class="group bg-white p-6 rounded-lg shadow-sm transition duration-150 ease-in-out hover:shadow-md text-center"> | |
| <div class="mx-auto h-16 w-16 rounded-full bg-yellow-100 flex items-center justify-center group-hover:bg-yellow-200 transition duration-150 ease-in-out"> | |
| <i data-feather="award" class="text-yellow-600 h-8 w-8"></i> | |
| </div> | |
| <h3 class="mt-4 text-sm font-medium text-gray-900 group-hover:text-yellow-600">Courses</h3> | |
| <p class="mt-1 text-xs text-gray-500">180+ products</p> | |
| </a> | |
| </div> | |
| </div> | |
| <!-- Featured Products --> | |
| <div class="bg-gray-100 py-12 px-4 sm:px-6 lg:px-8"> | |
| <div class="max-w-7xl mx-auto"> | |
| <div class="flex justify-between items-center mb-8"> | |
| <h2 class="text-2xl font-bold text-gray-900">Featured Products</h2> | |
| <a href="#" class="text-primary font-medium hover:underline">View all</a> | |
| </div> | |
| <div class="grid grid-cols-1 gap-y-10 sm:grid-cols-2 gap-x-6 lg:grid-cols-3 xl:grid-cols-4 xl:gap-x-8"> | |
| <!-- Product 1 --> | |
| <div class="product-card group bg-white p-4 rounded-lg shadow-sm transition duration-150 ease-in-out"> | |
| <div class="w-full aspect-w-1 aspect-h-1 bg-gray-200 rounded-lg overflow-hidden"> | |
| <img src="http://static.photos/technology/640x360/1" alt="Product image" class="w-full h-full object-center object-cover group-hover:opacity-75 transition duration-150 ease-in-out"> | |
| </div> | |
| <div class="mt-4 flex justify-between"> | |
| <div> | |
| <h3 class="text-sm font-medium text-gray-900">Premium UI Kit</h3> | |
| <p class="mt-1 text-sm text-gray-500">Design Templates</p> | |
| </div> | |
| <p class="text-sm font-medium text-primary">$29.99</p> | |
| </div> | |
| <button class="mt-4 w-full bg-primary text-white py-2 rounded-md text-sm font-medium hover:bg-primary-600 transition duration-150 ease-in-out"> | |
| Add to cart | |
| </button> | |
| </div> | |
| <!-- Product 2 --> | |
| <div class="product-card group bg-white p-4 rounded-lg shadow-sm transition duration-150 ease-in-out"> | |
| <div class="w-full aspect-w-1 aspect-h-1 bg-gray-200 rounded-lg overflow-hidden"> | |
| <img src="http://static.photos/education/640x360/2" alt="Product image" class="w-full h-full object-center object-cover group-hover:opacity-75 transition duration-150 ease-in-out"> | |
| </div> | |
| <div class="mt-4 flex justify-between"> | |
| <div> | |
| <h3 class="text-sm font-medium text-gray-900">JavaScript Mastery</h3> | |
| <p class="mt-1 text-sm text-gray-500">eBook</p> | |
| </div> | |
| <p class="text-sm font-medium text-primary">$14.99</p> | |
| </div> | |
| <button class="mt-4 w-full bg-primary text-white py-2 rounded-md text-sm font-medium hover:bg-primary-600 transition duration-150 ease-in-out"> | |
| Add to cart | |
| </button> | |
| </div> | |
| <!-- Product 3 --> | |
| <div class="product-card group bg-white p-4 rounded-lg shadow-sm transition duration-150 ease-in-out"> | |
| <div class="w-full aspect-w-1 aspect-h-1 bg-gray-200 rounded-lg overflow-hidden"> | |
| <img src="http://static.photos/music/640x360/3" alt="Product image" class="w-full h-full object-center object-cover group-hover:opacity-75 transition duration-150 ease-in-out"> | |
| </div> | |
| <div class="mt-4 flex justify-between"> | |
| <div> | |
| <h3 class="text-sm font-medium text-gray-900">Chill Loops Pack</h3> | |
| <p class="mt-1 text-sm text-gray-500">Audio</p> | |
| </div> | |
| <p class="text-sm font-medium text-primary">$9.99</p> | |
| </div> | |
| <button class="mt-4 w-full bg-primary text-white py-2 rounded-md text-sm font-medium hover:bg-primary-600 transition duration-150 ease-in-out"> | |
| Add to cart | |
| </button> | |
| </div> | |
| <!-- Product 4 --> | |
| <div class="product-card group bg-white p-4 rounded-lg shadow-sm transition duration-150 ease-in-out"> | |
| <div class="w-full aspect-w-1 aspect-h-1 bg-gray-200 rounded-lg overflow-hidden"> | |
| <img src="http://static.photos/craft/640x360/4" alt="Product image" class="w-full h-full object-center object-cover group-hover:opacity-75 transition duration-150 ease-in-out"> | |
| </div> | |
| <div class="mt-4 flex justify-between"> | |
| <div> | |
| <h3 class="text-sm font-medium text-gray-900">Digital Art Brushes</h3> | |
| <p class="mt-1 text-sm text-gray-500">Design Tools</p> | |
| </div> | |
| <p class="text-sm font-medium text-primary">$7.99</p> | |
| </div> | |
| <button class="mt-4 w-full bg-primary text-white py-2 rounded-md text-sm font-medium hover:bg-primary-600 transition duration-150 ease-in-out"> | |
| Add to cart | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- How It Works --> | |
| <div class="max-w-7xl mx-auto py-12 px-4 sm:px-6 lg:px-8"> | |
| <div class="text-center"> | |
| <h2 class="text-3xl font-extrabold text-gray-900 sm:text-4xl">How ByteBazaar Works</h2> | |
| <p class="mt-3 max-w-2xl mx-auto text-xl text-gray-500 sm:mt-4"> | |
| Simple steps to buy or sell digital products | |
| </p> | |
| </div> | |
| <div class="mt-10"> | |
| <div class="relative"> | |
| <div class="absolute inset-0 flex items-center" aria-hidden="true"> | |
| <div class="w-full border-t border-gray-300"></div> | |
| </div> | |
| <div class="relative flex justify-between"> | |
| <div class="flex items-center justify-center w-12 h-12 rounded-full bg-primary border-4 border-white shadow-sm"> | |
| <span class="text-white font-bold">1</span> | |
| </div> | |
| <div class="flex items-center justify-center w-12 h-12 rounded-full bg-secondary border-4 border-white shadow-sm"> | |
| <span class="text-white font-bold">2</span> | |
| </div> | |
| <div class="flex items-center justify-center w-12 h-12 rounded-full bg-purple-600 border-4 border-white shadow-sm"> | |
| <span class="text-white font-bold">3</span> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="mt-8 grid grid-cols-1 gap-8 sm:grid-cols-3"> | |
| <div class="text-center"> | |
| <div class="flex items-center justify-center h-12 w-12 rounded-md bg-primary-100 text-primary mx-auto"> | |
| <i data-feather="search"></i> | |
| </div> | |
| <h3 class="mt-4 text-lg font-medium text-gray-900">Find Products</h3> | |
| <p class="mt-2 text-base text-gray-500"> | |
| Browse thousands of digital products across various categories or search for exactly what you need. | |
| </p> | |
| </div> | |
| <div class="text-center"> | |
| <div class="flex items-center justify-center h-12 w-12 rounded-md bg-secondary-100 text-secondary mx-auto"> | |
| <i data-feather="shopping-cart"></i> | |
| </div> | |
| <h3 class="mt-4 text-lg font-medium text-gray-900">Purchase Securely</h3> | |
| <p class="mt-2 text-base text-gray-500"> | |
| Checkout with our secure payment system and get instant access to your downloads. | |
| </p> | |
| </div> | |
| <div class="text-center"> | |
| <div class="flex items-center justify-center h-12 w-12 rounded-md bg-purple-100 text-purple-600 mx-auto"> | |
| <i data-feather="download"></i> | |
| </div> | |
| <h3 class="mt-4 text-lg font-medium text-gray-900">Download & Enjoy</h3> | |
| <p class="mt-2 text-base text-gray-500"> | |
| Your purchased products are instantly available in your account for download. | |
| </p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- CTA Section --> | |
| <div class="bg-primary"> | |
| <div class="max-w-2xl mx-auto py-16 px-4 sm:py-20 sm:px-6 lg:px-8 text-center"> | |
| <h2 class="text-3xl font-extrabold text-white sm:text-4xl"> | |
| <span class="block">Ready to start selling?</span> | |
| <span class="block text-secondary-200">Join our creator community today.</span> | |
| </h2> | |
| <p class="mt-4 text-lg leading-6 text-primary-100"> | |
| Earn 90% of every sale when you sell your digital products on ByteBazaar. | |
| </p> | |
| <button class="mt-8 w-full sm:w-auto bg-white text-primary px-8 py-3 border border-transparent rounded-md text-base font-medium hover:bg-gray-50 transition duration-150 ease-in-out"> | |
| Become a Seller | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Footer --> | |
| <footer class="bg-gray-800"> | |
| <div class="max-w-7xl mx-auto py-12 px-4 sm:px-6 lg:px-8"> | |
| <div class="grid grid-cols-2 md:grid-cols-4 gap-8"> | |
| <div> | |
| <h3 class="text-sm font-semibold text-gray-300 tracking-wider uppercase">Marketplace</h3> | |
| <ul class="mt-4 space-y-4"> | |
| <li><a href="#" class="text-base text-gray-400 hover:text-white">All Products</a></li> | |
| <li><a href="#" class="text-base text-gray-400 hover:text-white">Categories</a></li> | |
| <li><a href="#" class="text-base text-gray-400 hover:text-white">New Arrivals</a></li> | |
| <li><a href="#" class="text-base text-gray-400 hover:text-white">Best Sellers</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h3 class="text-sm font-semibold text-gray-300 tracking-wider uppercase">Sellers</h3> | |
| <ul class="mt-4 space-y-4"> | |
| <li><a href="#" class="text-base text-gray-400 hover:text-white">Become a Seller</a></li> | |
| <li><a href="#" class="text-base text-gray-400 hover:text-white">Seller Dashboard</a></li> | |
| <li><a href="#" class="text-base text-gray-400 hover:text-white">Pricing</a></li> | |
| <li><a href="#" class="text-base text-gray-400 hover:text-white">Seller Resources</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h3 class="text-sm font-semibold text-gray-300 tracking-wider uppercase">Company</h3> | |
| <ul class="mt-4 space-y-4"> | |
| <li><a href="#" class="text-base text-gray-400 hover:text-white">About Us</a></li> | |
| <li><a href="#" class="text-base text-gray-400 hover:text-white">Careers</a></li> | |
| <li><a href="#" class="text-base text-gray-400 hover:text-white">Blog</a></li> | |
| <li><a href="#" class="text-base text-gray-400 hover:text-white">Contact</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h3 class="text-sm font-semibold text-gray-300 tracking-wider uppercase">Connect</h3> | |
| <ul class="mt-4 space-y-4"> | |
| <li><a href="#" class="text-base text-gray-400 hover:text-white">Help Center</a></li> | |
| <li><a href="#" class="text-base text-gray-400 hover:text-white">Community</a></li> | |
| <li><a href="#" class="text-base text-gray-400 hover:text-white">Terms of Service</a></li> | |
| <li><a href="#" class="text-base text-gray-400 hover:text-white">Privacy Policy</a></li> | |
| </ul> | |
| </div> | |
| </div> | |
| <div class="mt-8 border-t border-gray-700 pt-8 md:flex md:items-center md:justify-between"> | |
| <div class="flex space-x-6 md:order-2"> | |
| <a href="#" class="text-gray-400 hover:text-white"> | |
| <i data-feather="facebook" class="h-6 w-6"></i> | |
| </a> | |
| <a href="#" class="text-gray-400 hover:text-white"> | |
| <i data-feather="instagram" class="h-6 w-6"></i> | |
| </a> | |
| <a href="#" class="text-gray-400 hover:text-white"> | |
| <i data-feather="twitter" class="h-6 w-6"></i> | |
| </a> | |
| <a href="#" class="text-gray-400 hover:text-white"> | |
| <i data-feather="youtube" class="h-6 w-6"></i> | |
| </a> | |
| </div> | |
| <p class="mt-8 text-base text-gray-400 md:mt-0 md:order-1"> | |
| © 2023 ByteBazaar. All rights reserved. | |
| </p> | |
| </div> | |
| </div> | |
| </footer> | |
| <script> | |
| </script> | |
| </body> | |
| </html> | |