Spaces:
Running
Running
File size: 20,085 Bytes
41552f9 fda4131 41552f9 fda4131 41552f9 fda4131 41552f9 fda4131 41552f9 fda4131 41552f9 fda4131 41552f9 fda4131 80b0e38 fda4131 80b0e38 41552f9 fda4131 80b0e38 41552f9 fda4131 80b0e38 41552f9 fda4131 41552f9 fda4131 41552f9 fda4131 41552f9 fda4131 41552f9 80b0e38 fda4131 80b0e38 fda4131 80b0e38 fda4131 80b0e38 fda4131 41552f9 fda4131 80b0e38 fda4131 80b0e38 41552f9 fda4131 80b0e38 41552f9 fda4131 80b0e38 41552f9 fda4131 80b0e38 41552f9 80b0e38 fda4131 80b0e38 fda4131 80b0e38 41552f9 fda4131 80b0e38 fda4131 80b0e38 41552f9 80b0e38 41552f9 fda4131 80b0e38 fda4131 41552f9 fda4131 41552f9 fda4131 41552f9 fda4131 41552f9 fda4131 41552f9 fda4131 41552f9 fda4131 80b0e38 fda4131 41552f9 fda4131 41552f9 fda4131 80b0e38 fda4131 41552f9 fda4131 41552f9 fda4131 41552f9 80b0e38 fda4131 80b0e38 41552f9 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 | <!DOCTYPE html>
<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> |