Spaces:
Running
Running
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>VALENS - Web3 Social Platform</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> | |
| /* Custom styles */ | |
| .gradient-text { | |
| background: linear-gradient(90deg, #8B5CF6 0%, #EC4899 100%); | |
| -webkit-background-clip: text; | |
| background-clip: text; | |
| color: transparent; | |
| } | |
| .active-tab { | |
| position: relative; | |
| } | |
| .active-tab:after { | |
| content: ''; | |
| position: absolute; | |
| bottom: -8px; | |
| left: 0; | |
| width: 100%; | |
| height: 3px; | |
| background: linear-gradient(90deg, #8B5CF6 0%, #EC4899 100%); | |
| border-radius: 3px; | |
| } | |
| .nft-card { | |
| transition: all 0.3s ease; | |
| } | |
| .nft-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); | |
| } | |
| .mobile-nav { | |
| box-shadow: 0 -2px 10px rgba(0,0,0,0.1); | |
| } | |
| .follower-badge { | |
| background: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%); | |
| } | |
| .dropdown-menu { | |
| opacity: 0; | |
| visibility: hidden; | |
| transform: translateY(10px); | |
| transition: all 0.2s ease; | |
| } | |
| .dropdown:hover .dropdown-menu { | |
| opacity: 1; | |
| visibility: visible; | |
| transform: translateY(0); | |
| } | |
| .active-nav { | |
| color: #8B5CF6; | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-50 font-sans"> | |
| <!-- App Container --> | |
| <div class="max-w-md mx-auto bg-white min-h-screen relative overflow-hidden"> | |
| <!-- Header --> | |
| <header class="sticky top-0 z-10 bg-white border-b border-gray-100 px-4 py-3 flex justify-between items-center"> | |
| <h1 class="text-2xl font-bold gradient-text">VALENS</h1> | |
| <div class="flex items-center space-x-4"> | |
| <button class="text-gray-700 hover:text-purple-600 transition-colors"> | |
| <i class="fas fa-search text-xl"></i> | |
| </button> | |
| <button class="text-gray-700 hover:text-purple-600 transition-colors"> | |
| <i class="fas fa-bell text-xl"></i> | |
| </button> | |
| <div class="dropdown relative"> | |
| <button class="text-gray-700 hover:text-purple-600 transition-colors"> | |
| <i class="fas fa-wallet text-xl"></i> | |
| </button> | |
| <div class="dropdown-menu absolute right-0 mt-2 w-48 bg-white rounded-md shadow-lg py-1 z-20 border border-gray-200"> | |
| <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Wallet Balance</a> | |
| <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Transaction History</a> | |
| <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Settings</a> | |
| </div> | |
| </div> | |
| </div> | |
| </header> | |
| <!-- Main Content --> | |
| <main class="pb-16"> | |
| <!-- Profile Section --> | |
| <div class="px-4 py-3 border-b border-gray-100"> | |
| <div class="flex items-center space-x-4"> | |
| <div class="relative"> | |
| <div class="w-16 h-16 rounded-full overflow-hidden border-2 border-white shadow-md"> | |
| <img src="https://randomuser.me/api/portraits/women/44.jpg" alt="Profile" class="w-full h-full object-cover"> | |
| </div> | |
| <div class="follower-badge absolute -bottom-1 -right-1 w-6 h-6 rounded-full flex items-center justify-center text-white text-xs font-bold"> | |
| 3 | |
| </div> | |
| </div> | |
| <div class="flex-1"> | |
| <h2 class="font-bold text-lg">Jessica Parker</h2> | |
| <p class="text-gray-500 text-sm">@jessica_web3</p> | |
| </div> | |
| <button class="bg-gradient-to-r from-purple-500 to-pink-500 text-white px-4 py-1 rounded-full text-sm font-medium hover:opacity-90 transition-opacity"> | |
| Edit Profile | |
| </button> | |
| </div> | |
| <div class="flex justify-between mt-4"> | |
| <div class="text-center"> | |
| <div class="font-bold">1.2K</div> | |
| <div class="text-gray-500 text-sm">Followers</div> | |
| </div> | |
| <div class="text-center"> | |
| <div class="font-bold">245</div> | |
| <div class="text-gray-500 text-sm">Following</div> | |
| </div> | |
| <div class="text-center"> | |
| <div class="font-bold">56</div> | |
| <div class="text-gray-500 text-sm">Collects</div> | |
| </div> | |
| <div class="text-center"> | |
| <div class="font-bold">1.5K</div> | |
| <div class="text-gray-500 text-sm">VLC</div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Tabs --> | |
| <div class="px-4 py-3 border-b border-gray-100"> | |
| <div class="flex space-x-6"> | |
| <button class="text-gray-700 font-medium active-tab"> | |
| <span class="relative">Collected</span> | |
| </button> | |
| <button class="text-gray-500 hover:text-gray-700 font-medium transition-colors"> | |
| <span class="relative">Created</span> | |
| </button> | |
| <button class="text-gray-500 hover:text-gray-700 font-medium transition-colors"> | |
| <span class="relative">Activity</span> | |
| </button> | |
| </div> | |
| </div> | |
| <!-- NFT Grid --> | |
| <div class="px-4 py-3"> | |
| <div class="grid grid-cols-2 gap-4"> | |
| <!-- NFT 1 --> | |
| <div class="nft-card bg-white rounded-xl overflow-hidden shadow-sm border border-gray-100"> | |
| <div class="relative"> | |
| <img src="https://images.unsplash.com/photo-1626785774573-4b799315345d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=500&q=80" alt="NFT" class="w-full aspect-square object-cover"> | |
| <div class="absolute top-2 right-2 bg-black bg-opacity-60 text-white text-xs px-2 py-1 rounded-full"> | |
| <i class="fas fa-ethereum mr-1"></i> 0.25 | |
| </div> | |
| </div> | |
| <div class="p-3"> | |
| <h3 class="font-semibold text-sm mb-1">Abstract Universe</h3> | |
| <div class="flex justify-between items-center"> | |
| <div class="flex items-center"> | |
| <i class="fas fa-heart text-xs text-red-500 mr-1"></i> | |
| <span class="text-xs font-medium">1.2K</span> | |
| </div> | |
| <div class="flex items-center"> | |
| <i class="fas fa-eye text-xs text-gray-500 mr-1"></i> | |
| <span class="text-xs font-medium">5.4K</span> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- NFT 2 --> | |
| <div class="nft-card bg-white rounded-xl overflow-hidden shadow-sm border border-gray-100"> | |
| <div class="relative"> | |
| <img src="https://images.unsplash.com/photo-1635070041078-e363dbe005cb?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=500&q=80" alt="NFT" class="w-full aspect-square object-cover"> | |
| <div class="absolute top-2 right-2 bg-black bg-opacity-60 text-white text-xs px-2 py-1 rounded-full"> | |
| <i class="fas fa-ethereum mr-1"></i> 0.15 | |
| </div> | |
| </div> | |
| <div class="p-3"> | |
| <h3 class="font-semibold text-sm mb-1">Digital Dreams</h3> | |
| <div class="flex justify-between items-center"> | |
| <div class="flex items-center"> | |
| <i class="fas fa-heart text-xs text-red-500 mr-1"></i> | |
| <span class="text-xs font-medium">987</span> | |
| </div> | |
| <div class="flex items-center"> | |
| <i class="fas fa-eye text-xs text-gray-500 mr-1"></i> | |
| <span class="text-xs font-medium">3.2K</span> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- NFT 3 --> | |
| <div class="nft-card bg-white rounded-xl overflow-hidden shadow-sm border border-gray-100"> | |
| <div class="relative"> | |
| <img src="https://images.unsplash.com/photo-1621605815971-fbc98d665033?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=500&q=80" alt="NFT" class="w-full aspect-square object-cover"> | |
| <div class="absolute top-2 right-2 bg-black bg-opacity-60 text-white text-xs px-2 py-1 rounded-full"> | |
| <i class="fas fa-ethereum mr-1"></i> 0.42 | |
| </div> | |
| </div> | |
| <div class="p-3"> | |
| <h3 class="font-semibold text-sm mb-1">Neon Future</h3> | |
| <div class="flex justify-between items-center"> | |
| <div class="flex items-center"> | |
| <i class="fas fa-heart text-xs text-red-500 mr-1"></i> | |
| <span class="text-xs font-medium">2.1K</span> | |
| </div> | |
| <div class="flex items-center"> | |
| <i class="fas fa-eye text-xs text-gray-500 mr-1"></i> | |
| <span class="text-xs font-medium">8.7K</span> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- NFT 4 --> | |
| <div class="nft-card bg-white rounded-xl overflow-hidden shadow-sm border border-gray-100"> | |
| <div class="relative"> | |
| <img src="https://images.unsplash.com/photo-1639762681057-408e52192e55?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=500&q=80" alt="NFT" class="w-full aspect-square object-cover"> | |
| <div class="absolute top-2 right-2 bg-black bg-opacity-60 text-white text-xs px-2 py-1 rounded-full"> | |
| <i class="fas fa-ethereum mr-1"></i> 0.18 | |
| </div> | |
| </div> | |
| <div class="p-3"> | |
| <h3 class="font-semibold text-sm mb-1">Pixel World</h3> | |
| <div class="flex justify-between items-center"> | |
| <div class="flex items-center"> | |
| <i class="fas fa-heart text-xs text-red-500 mr-1"></i> | |
| <span class="text-xs font-medium">756</span> | |
| </div> | |
| <div class="flex items-center"> | |
| <i class="fas fa-eye text-xs text-gray-500 mr-1"></i> | |
| <span class="text-xs font-medium">4.1K</span> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Explore Section --> | |
| <div class="px-4 py-3 mt-4 bg-gray-50"> | |
| <h2 class="font-bold text-lg mb-3">Explore Creators</h2> | |
| <div class="grid grid-cols-3 gap-3"> | |
| <!-- Creator 1 --> | |
| <div class="text-center"> | |
| <div class="w-16 h-16 rounded-full overflow-hidden border-2 border-white shadow-md mx-auto mb-2"> | |
| <img src="https://randomuser.me/api/portraits/women/32.jpg" alt="Creator" class="w-full h-full object-cover"> | |
| </div> | |
| <p class="text-xs font-medium">@digital_art</p> | |
| <div class="flex items-center justify-center mt-1"> | |
| <i class="fas fa-users text-xs text-gray-500 mr-1"></i> | |
| <span class="text-xs">24.5K</span> | |
| </div> | |
| </div> | |
| <!-- Creator 2 --> | |
| <div class="text-center"> | |
| <div class="w-16 h-16 rounded-full overflow-hidden border-2 border-white shadow-md mx-auto mb-2"> | |
| <img src="https://randomuser.me/api/portraits/men/22.jpg" alt="Creator" class="w-full h-full object-cover"> | |
| </div> | |
| <p class="text-xs font-medium">@photo_master</p> | |
| <div class="flex items-center justify-center mt-1"> | |
| <i class="fas fa-users text-xs text-gray-500 mr-1"></i> | |
| <span class="text-xs">18.7K</span> | |
| </div> | |
| </div> | |
| <!-- Creator 3 --> | |
| <div class="text-center"> | |
| <div class="w-16 h-16 rounded-full overflow-hidden border-2 border-white shadow-md mx-auto mb-2"> | |
| <img src="https://randomuser.me/api/portraits/women/65.jpg" alt="Creator" class="w-full h-full object-cover"> | |
| </div> | |
| <p class="text-xs font-medium">@ai_creator</p> | |
| <div class="flex items-center justify-center mt-1"> | |
| <i class="fas fa-users text-xs text-gray-500 mr-1"></i> | |
| <span class="text-xs">32.1K</span> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </main> | |
| <!-- Bottom Navigation --> | |
| <nav class="mobile-nav fixed bottom-0 left-0 right-0 bg-white border-t border-gray-200 flex justify-around py-3 px-4 max-w-md mx-auto"> | |
| <button class="text-purple-600 active-nav"> | |
| <i class="fas fa-home text-xl"></i> | |
| <span class="block text-xs mt-1">Home</span> | |
| </button> | |
| <button class="text-gray-700 hover:text-purple-600 transition-colors"> | |
| <i class="fas fa-compass text-xl"></i> | |
| <span class="block text-xs mt-1">Explore</span> | |
| </button> | |
| <button class="text-white bg-gradient-to-r from-purple-500 to-pink-500 p-2 rounded-full transform hover:scale-110 transition-transform"> | |
| <i class="fas fa-plus text-xl"></i> | |
| </button> | |
| <button class="text-gray-700 hover:text-purple-600 transition-colors"> | |
| <i class="fas fa-coins text-xl"></i> | |
| <span class="block text-xs mt-1">VLC</span> | |
| </button> | |
| <button class="text-gray-700 hover:text-purple-600 transition-colors"> | |
| <div class="w-6 h-6 rounded-full overflow-hidden"> | |
| <img src="https://randomuser.me/api/portraits/women/44.jpg" alt="Profile" class="w-full h-full object-cover"> | |
| </div> | |
| <span class="block text-xs mt-1">Profile</span> | |
| </button> | |
| </nav> | |
| <!-- Script for interactivity --> | |
| <script> | |
| document.addEventListener('DOMContentLoaded', function() { | |
| // Tab switching functionality | |
| const tabs = document.querySelectorAll('.border-b button'); | |
| tabs.forEach(tab => { | |
| tab.addEventListener('click', function() { | |
| // Remove active class from all tabs | |
| tabs.forEach(t => { | |
| t.classList.remove('active-tab'); | |
| t.classList.add('text-gray-500'); | |
| t.classList.remove('text-gray-700'); | |
| }); | |
| // Add active class to clicked tab | |
| this.classList.add('active-tab'); | |
| this.classList.remove('text-gray-500'); | |
| this.classList.add('text-gray-700'); | |
| }); | |
| }); | |
| // Mobile nav active state | |
| const navItems = document.querySelectorAll('.mobile-nav button'); | |
| navItems.forEach(item => { | |
| item.addEventListener('click', function() { | |
| // Remove active class from all nav items | |
| navItems.forEach(nav => { | |
| nav.classList.remove('active-nav'); | |
| nav.classList.remove('text-purple-600'); | |
| nav.classList.add('text-gray-700'); | |
| }); | |
| // Add active class to clicked nav item | |
| this.classList.add('active-nav'); | |
| this.classList.add('text-purple-600'); | |
| this.classList.remove('text-gray-700'); | |
| }); | |
| }); | |
| // NFT card hover effects | |
| const nftCards = document.querySelectorAll('.nft-card'); | |
| nftCards.forEach(card => { | |
| card.addEventListener('mouseenter', function() { | |
| this.style.transform = 'translateY(-5px)'; | |
| this.style.boxShadow = '0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)'; | |
| }); | |
| card.addEventListener('mouseleave', function() { | |
| this.style.transform = ''; | |
| this.style.boxShadow = ''; | |
| }); | |
| }); | |
| console.log('VALENS - Web3 Social Platform'); | |
| }); | |
| </script> | |
| </div> | |
| <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=grazbar/valens-app" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
| </html> |