Spaces:
Running
Running
Add 2 files
Browse filesFiles changed (2)
- README.md+7-5
- index.html+401-19
12345678910---title: The Spaceemoji: 🐢colorFrom: indigocolorTo: indigosdk: staticpinned: false---Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference123456789101112---title: the-spaceemoji: 🐳colorFrom: purplecolorTo: bluesdk: staticpinned: falsetags:- deepsite---Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
12345678910111213141516171819<!doctype html><html><head><meta charset="utf-8" /><meta name="viewport" content="width=device-width" /><title>My static Space</title><link rel="stylesheet" href="style.css" /></head><body><div class="card"><h1>Welcome to your static Space!</h1><p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p><p>Also don't forget to check the<a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.</p></div></body></html>123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>JewelBid - Auction Your Excess Jewelry</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"><script>tailwind.config = {theme: {extend: {colors: {jewel: {pink: '#FF9FF3',purple: '#F368E0',blue: '#48DBFB',teal: '#1DD1A1',yellow: '#FECA57',red: '#FF6B6B'}},fontFamily: {sans: ['Poppins', 'sans-serif'],},}}}</script><style>@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');body {font-family: 'Poppins', sans-serif;background-color: #f8f9fa;}.gradient-bg {background: linear-gradient(135deg, #FF9FF3 0%, #48DBFB 100%);}.jewel-card {transition: all 0.3s ease;box-shadow: 0 4px 15px rgba(0,0,0,0.1);}.jewel-card:hover {transform: translateY(-5px);box-shadow: 0 10px 25px rgba(0,0,0,0.15);}.auction-timer {background: rgba(255,255,255,0.2);backdrop-filter: blur(10px);}.tab-active {position: relative;}.tab-active:after {content: '';position: absolute;bottom: -8px;left: 50%;transform: translateX(-50%);width: 30px;height: 3px;background: white;border-radius: 3px;}.upload-preview {border: 2px dashed #cbd5e0;}.upload-preview:hover {border-color: #48DBFB;}.sparkle {position: absolute;width: 5px;height: 5px;background: white;border-radius: 50%;opacity: 0;animation: sparkle 2s infinite;}@keyframes sparkle {0% { opacity: 0; transform: scale(0); }50% { opacity: 1; transform: scale(1); }100% { opacity: 0; transform: scale(0); }}</style></head><body class="max-w-md mx-auto bg-gray-50 relative overflow-x-hidden"><!-- Sparkle decorations --><div id="sparkles"></div><!-- Header --><header class="gradient-bg text-white p-4 rounded-b-3xl shadow-lg"><div class="flex justify-between items-center"><div class="flex items-center"><i class="fas fa-gem text-2xl mr-2"></i><h1 class="text-xl font-bold">JewelBid</h1></div><div class="flex space-x-4"><button class="bg-white bg-opacity-20 p-2 rounded-full"><i class="fas fa-bell"></i></button><button class="bg-white bg-opacity-20 p-2 rounded-full"><i class="fas fa-user"></i></button></div></div><div class="mt-6 flex justify-between items-center"><div><h2 class="text-2xl font-bold">Hello, Jewelers!</h2><p class="text-sm opacity-80">Sell your excess inventory today</p></div><button id="uploadBtn" class="bg-white text-jewel-purple font-bold py-2 px-4 rounded-full flex items-center"><i class="fas fa-plus mr-1"></i> Upload</button></div><div class="flex justify-center mt-6 space-x-8"><button class="tab-active text-white font-medium">Live</button><button class="text-white font-medium opacity-70">Upcoming</button><button class="text-white font-medium opacity-70">Completed</button></div></header><!-- Main Content --><main class="p-4"><!-- Search Bar --><div class="relative mb-6"><input type="text" placeholder="Search auctions..." class="w-full bg-white rounded-full py-3 pl-10 pr-4 shadow-sm focus:outline-none focus:ring-2 focus:ring-jewel-blue"><i class="fas fa-search absolute left-3 top-3.5 text-gray-400"></i></div><!-- Featured Auctions --><h3 class="font-bold text-lg mb-4 text-gray-700">Featured Auctions</h3><div class="grid grid-cols-2 gap-4 mb-6"><!-- Auction Card 1 --><div class="jewel-card bg-white rounded-xl overflow-hidden relative"><div class="relative h-32 overflow-hidden"><img src="https://images.unsplash.com/photo-1599643478518-a784e5dc4c8f?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=500&q=80" alt="Diamond Ring" class="w-full h-full object-cover"><div class="auction-timer absolute bottom-2 left-2 right-2 bg-white bg-opacity-80 text-xs text-gray-800 font-bold py-1 px-2 rounded-full flex justify-between items-center"><span>Ends in</span><span>2h 15m</span></div></div><div class="p-3"><h4 class="font-bold text-sm truncate">14K Gold Diamond Ring</h4><div class="flex justify-between items-center mt-2"><div><p class="text-xs text-gray-500">Current Bid</p><p class="font-bold text-jewel-purple">$1,250</p></div><button class="bg-jewel-yellow text-white p-1 rounded-full"><i class="fas fa-gavel text-xs"></i></button></div></div></div><!-- Auction Card 2 --><div class="jewel-card bg-white rounded-xl overflow-hidden relative"><div class="relative h-32 overflow-hidden"><img src="https://images.unsplash.com/photo-1605100804763-247f67b3557e?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=500&q=80" alt="Sapphire Earrings" class="w-full h-full object-cover"><div class="auction-timer absolute bottom-2 left-2 right-2 bg-white bg-opacity-80 text-xs text-gray-800 font-bold py-1 px-2 rounded-full flex justify-between items-center"><span>Ends in</span><span>4h 30m</span></div></div><div class="p-3"><h4 class="font-bold text-sm truncate">Sapphire & Diamond Earrings</h4><div class="flex justify-between items-center mt-2"><div><p class="text-xs text-gray-500">Current Bid</p><p class="font-bold text-jewel-purple">$980</p></div><button class="bg-jewel-yellow text-white p-1 rounded-full"><i class="fas fa-gavel text-xs"></i></button></div></div></div></div><!-- Recent Auctions --><h3 class="font-bold text-lg mb-4 text-gray-700">Recent from Local Jewelers</h3><div class="space-y-4"><!-- Auction Item 1 --><div class="jewel-card bg-white rounded-xl p-3 flex items-center"><div class="w-16 h-16 rounded-lg overflow-hidden mr-3"><img src="https://images.unsplash.com/photo-1603974372036-a6e149b07e0e?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=500&q=80" alt="Pearl Necklace" class="w-full h-full object-cover"></div><div class="flex-1"><h4 class="font-bold text-sm">Pearl Necklace Set</h4><div class="flex justify-between items-center mt-1"><div><p class="text-xs text-gray-500">From: Bella's Jewelry</p><p class="font-bold text-jewel-purple text-sm">$650</p></div><div class="text-xs bg-jewel-teal bg-opacity-20 text-jewel-teal px-2 py-1 rounded-full">12 bids</div></div></div></div><!-- Auction Item 2 --><div class="jewel-card bg-white rounded-xl p-3 flex items-center"><div class="w-16 h-16 rounded-lg overflow-hidden mr-3"><img src="https://images.unsplash.com/photo-1602173574767-37ac01994b2a?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=500&q=80" alt="Gold Bracelet" class="w-full h-full object-cover"></div><div class="flex-1"><h4 class="font-bold text-sm">18K Gold Bracelet</h4><div class="flex justify-between items-center mt-1"><div><p class="text-xs text-gray-500">From: Golden Touch</p><p class="font-bold text-jewel-purple text-sm">$1,200</p></div><div class="text-xs bg-jewel-teal bg-opacity-20 text-jewel-teal px-2 py-1 rounded-full">8 bids</div></div></div></div><!-- Auction Item 3 --><div class="jewel-card bg-white rounded-xl p-3 flex items-center"><div class="w-16 h-16 rounded-lg overflow-hidden mr-3"><img src="https://images.unsplash.com/photo-1605100804763-247f67b3557e?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=500&q=80" alt="Emerald Ring" class="w-full h-full object-cover"></div><div class="flex-1"><h4 class="font-bold text-sm">Emerald & Diamond Ring</h4><div class="flex justify-between items-center mt-1"><div><p class="text-xs text-gray-500">From: Gem Haven</p><p class="font-bold text-jewel-purple text-sm">$1,750</p></div><div class="text-xs bg-jewel-teal bg-opacity-20 text-jewel-teal px-2 py-1 rounded-full">15 bids</div></div></div></div></div></main><!-- Bottom Navigation --><nav class="fixed bottom-0 left-0 right-0 bg-white shadow-lg rounded-t-2xl flex justify-around p-3 max-w-md mx-auto"><button class="text-jewel-purple p-2 rounded-full"><i class="fas fa-home text-xl"></i></button><button class="text-gray-400 p-2 rounded-full"><i class="fas fa-search text-xl"></i></button><button class="gradient-bg text-white p-3 rounded-full -mt-6 shadow-lg"><i class="fas fa-gavel text-xl"></i></button><button class="text-gray-400 p-2 rounded-full"><i class="fas fa-heart text-xl"></i></button><button class="text-gray-400 p-2 rounded-full"><i class="fas fa-user text-xl"></i></button></nav><!-- Upload Modal --><div id="uploadModal" class="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center p-4 z-50 hidden"><div class="bg-white rounded-2xl w-full max-w-md p-6 animate-slide-up"><div class="flex justify-between items-center mb-4"><h3 class="text-xl font-bold text-gray-800">List Your Jewelry</h3><button id="closeModal" class="text-gray-500"><i class="fas fa-times"></i></button></div><div class="space-y-4"><div class="upload-preview rounded-xl h-40 flex flex-col items-center justify-center cursor-pointer mb-4"><i class="fas fa-camera text-3xl text-gray-400 mb-2"></i><p class="text-gray-500">Tap to upload photos</p></div><div><label class="block text-sm font-medium text-gray-700 mb-1">Item Name</label><input type="text" class="w-full p-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-jewel-blue focus:border-transparent"></div><div><label class="block text-sm font-medium text-gray-700 mb-1">Description</label><textarea class="w-full p-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-jewel-blue focus:border-transparent" rows="3"></textarea></div><div class="grid grid-cols-2 gap-4"><div><label class="block text-sm font-medium text-gray-700 mb-1">Material</label><select class="w-full p-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-jewel-blue focus:border-transparent"><option>Gold</option><option>Silver</option><option>Platinum</option><option>Other</option></select></div><div><label class="block text-sm font-medium text-gray-700 mb-1">Gemstone</label><select class="w-full p-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-jewel-blue focus:border-transparent"><option>Diamond</option><option>Sapphire</option><option>Ruby</option><option>Emerald</option><option>Other</option></select></div></div><div><label class="block text-sm font-medium text-gray-700 mb-1">Starting Bid</label><div class="relative"><span class="absolute left-3 top-3.5">$</span><input type="number" class="w-full p-3 pl-8 border border-gray-300 rounded-lg focus:ring-2 focus:ring-jewel-blue focus:border-transparent"></div></div><div><label class="block text-sm font-medium text-gray-700 mb-1">Auction Duration</label><select class="w-full p-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-jewel-blue focus:border-transparent"><option>24 hours</option><option>48 hours</option><option>72 hours</option><option>1 week</option></select></div><button class="gradient-bg text-white font-bold py-3 px-4 rounded-lg w-full mt-4">Start Auction</button></div></div></div><script>// Generate random sparklesfunction createSparkles() {const container = document.getElementById('sparkles');const colors = ['#FF9FF3', '#F368E0', '#48DBFB', '#1DD1A1', '#FECA57', '#FF6B6B'];for (let i = 0; i < 20; i++) {const sparkle = document.createElement('div');sparkle.className = 'sparkle';sparkle.style.left = `${Math.random() * 100}%`;sparkle.style.top = `${Math.random() * 100}%`;sparkle.style.background = colors[Math.floor(Math.random() * colors.length)];sparkle.style.animationDelay = `${Math.random() * 2}s`;container.appendChild(sparkle);}}// Modal functionalitydocument.getElementById('uploadBtn').addEventListener('click', function() {document.getElementById('uploadModal').classList.remove('hidden');});document.getElementById('closeModal').addEventListener('click', function() {document.getElementById('uploadModal').classList.add('hidden');});// Initializedocument.addEventListener('DOMContentLoaded', function() {createSparkles();// Add hover effect to jewel cardsconst cards = document.querySelectorAll('.jewel-card');cards.forEach(card => {card.addEventListener('mouseenter', function() {// Add more sparkles when hoveringfor (let i = 0; i < 5; i++) {const sparkle = document.createElement('div');sparkle.className = 'sparkle';sparkle.style.left = `${Math.random() * 100}%`;sparkle.style.top = `${Math.random() * 100}%`;sparkle.style.background = 'white';this.appendChild(sparkle);// Remove after animationsetTimeout(() => {sparkle.remove();}, 2000);}});});});</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=OlProspector/the-space" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body></html>
README.md+7-5
index.html+401-19