Spaces:
Running
Running
Turn this into a online crypto wallet platform, where users can log in with the username= 'User' and password= 'Password'. Once logged in, a dashboard appears with a balance of $470.000 in Bitcoin and the options to deposit, withdraw. The deposit leads to a deposit page with a placeholder bitcoin address and instructions. The withdrawal button leads to a withdraw page with the amount to be withdrawn, and recipient bitcoin address.
4ed6779 verified Download index.html from Grego322/bitvault-pro: direct link, hf CLI and curl.
- Browser
- Download file 20.1 kB
-
https://huggingface.co/spaces/Grego322/bitvault-pro/resolve/main/index.html
- Command line
-
hf download hf://spaces/Grego322/bitvault-pro/index.html
-
curl -L -o index.html https://huggingface.co/spaces/Grego322/bitvault-pro/resolve/main/index.html
20.1 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>BitVault Pro - Secure Crypto Wallet</title> | |
| <link rel="icon" type="image/x-icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'>🔐</text></svg>"> | |
| <link rel="stylesheet" href="style.css"> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script> | |
| <script src="https://unpkg.com/feather-icons"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/chart.js"></script> | |
| </head> | |
| <body class="bg-slate-950 text-slate-100 min-h-screen"> | |
| <!-- Navigation --> | |
| <nav-bar></nav-bar> | |
| <!-- Main Content --> | |
| <main id="main-content"> | |
| <!-- Hero Section with Live Chart --> | |
| <section id="hero-section" class="relative overflow-hidden"> | |
| <div class="absolute inset-0 bg-gradient-to-br from-emerald-950/30 via-slate-950 to-violet-950/20"></div> | |
| <div class="relative max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 pt-20 pb-16"> | |
| <div class="grid lg:grid-cols-2 gap-12 items-center"> | |
| <div class="space-y-6"> | |
| <div class="inline-flex items-center gap-2 px-4 py-2 rounded-full bg-emerald-500/10 border border-emerald-500/20 text-emerald-400 text-sm font-medium"> | |
| <span class="w-2 h-2 rounded-full bg-emerald-500 animate-pulse"></span> | |
| Live Market Active | |
| </div> | |
| <h1 class="text-5xl md:text-6xl font-bold leading-tight"> | |
| Your Secure | |
| <span class="bg-gradient-to-r from-emerald-400 to-violet-400 bg-clip-text text-transparent">Crypto Wallet</span> | |
| </h1> | |
| <p class="text-lg text-slate-400 max-w-lg"> | |
| Store, manage, and transfer your Bitcoin with military-grade security and an intuitive interface. | |
| </p> | |
| <div class="flex flex-wrap gap-4"> | |
| <button onclick="showLoginModal()" class="px-8 py-4 bg-gradient-to-r from-emerald-500 to-emerald-600 hover:from-emerald-400 hover:to-emerald-500 rounded-xl font-semibold transition-all duration-300 shadow-lg shadow-emerald-500/25 flex items-center gap-2"> | |
| <i data-feather="log-in" class="w-5 h-5"></i> | |
| Access Wallet | |
| </button> | |
| <button onclick="scrollToFeatures()" class="px-8 py-4 bg-slate-800/50 hover:bg-slate-800 border border-slate-700 rounded-xl font-semibold transition-all duration-300 flex items-center gap-2"> | |
| <i data-feather="shield" class="w-5 h-5"></i> | |
| Learn More | |
| </button> | |
| </div> | |
| <div class="flex items-center gap-8 pt-4"> | |
| <div> | |
| <div class="text-2xl font-bold text-emerald-400">$50B+</div> | |
| <div class="text-sm text-slate-500">Assets Protected</div> | |
| </div> | |
| <div> | |
| <div class="text-2xl font-bold text-violet-400">2M+</div> | |
| <div class="text-sm text-slate-500">Active Users</div> | |
| </div> | |
| <div> | |
| <div class="text-2xl font-bold text-amber-400">100%</div> | |
| <div class="text-sm text-slate-500">Secure</div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="relative"> | |
| <div class="absolute -inset-4 bg-gradient-to-r from-emerald-500/20 to-violet-500/20 rounded-3xl blur-2xl"></div> | |
| <div class="relative bg-slate-900/80 backdrop-blur-xl rounded-2xl border border-slate-800 p-6"> | |
| <div class="flex items-center justify-between mb-6"> | |
| <div class="flex items-center gap-3"> | |
| <div class="w-10 h-10 rounded-full bg-orange-500 flex items-center justify-center"> | |
| <i data-feather="dollar-sign" class="w-5 h-5 text-white"></i> | |
| </div> | |
| <div> | |
| <div class="font-semibold">Bitcoin</div> | |
| <div class="text-sm text-slate-500">BTC/USD</div> | |
| </div> | |
| </div> | |
| <div class="text-right"> | |
| <div class="text-2xl font-bold" id="btc-price">$67,432.18</div> | |
| <div class="text-sm text-emerald-400 flex items-center gap-1"> | |
| <i data-feather="trending-up" class="w-4 h-4"></i> | |
| +2.34% | |
| </div> | |
| </div> | |
| </div> | |
| <canvas id="heroChart" height="200"></canvas> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Features Section --> | |
| <section id="features-section" class="py-20 bg-slate-900/50"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="text-center mb-16"> | |
| <h2 class="text-3xl md:text-4xl font-bold mb-4">Why Choose BitVault Pro</h2> | |
| <p class="text-slate-400 max-w-2xl mx-auto">The most trusted platform for storing and managing your digital assets</p> | |
| </div> | |
| <div class="grid md:grid-cols-2 lg:grid-cols-3 gap-8"> | |
| <div class="group p-8 rounded-2xl bg-slate-900/50 border border-slate-800 hover:border-emerald-500/50 transition-all duration-300"> | |
| <div class="w-14 h-14 rounded-xl bg-emerald-500/10 flex items-center justify-center mb-6 group-hover:scale-110 transition-transform"> | |
| <i data-feather="lock" class="w-7 h-7 text-emerald-400"></i> | |
| </div> | |
| <h3 class="text-xl font-semibold mb-3">Cold Storage Security</h3> | |
| <p class="text-slate-400">98% of assets stored offline in geographically distributed vaults with multi-signature protection.</p> | |
| </div> | |
| <div class="group p-8 rounded-2xl bg-slate-900/50 border border-slate-800 hover:border-violet-500/50 transition-all duration-300"> | |
| <div class="w-14 h-14 rounded-xl bg-violet-500/10 flex items-center justify-center mb-6 group-hover:scale-110 transition-transform"> | |
| <i data-feather="send" class="w-7 h-7 text-violet-400"></i> | |
| </div> | |
| <h3 class="text-xl font-semibold mb-3">Instant Transfers</h3> | |
| <p class="text-slate-400">Send and receive Bitcoin in seconds with our optimized network infrastructure and low fees.</p> | |
| </div> | |
| <div class="group p-8 rounded-2xl bg-slate-900/50 border border-slate-800 hover:border-amber-500/50 transition-all duration-300"> | |
| <div class="w-14 h-14 rounded-xl bg-amber-500/10 flex items-center justify-center mb-6 group-hover:scale-110 transition-transform"> | |
| <i data-feather="smartphone" class="w-7 h-7 text-amber-400"></i> | |
| </div> | |
| <h3 class="text-xl font-semibold mb-3">Mobile Access</h3> | |
| <p class="text-slate-400">Manage your wallet from anywhere with our secure mobile app and biometric authentication.</p> | |
| </div> | |
| <div class="group p-8 rounded-2xl bg-slate-900/50 border border-slate-800 hover:border-blue-500/50 transition-all duration-300"> | |
| <div class="w-14 h-14 rounded-xl bg-blue-500/10 flex items-center justify-center mb-6 group-hover:scale-110 transition-transform"> | |
| <i data-feather="activity" class="w-7 h-7 text-blue-400"></i> | |
| </div> | |
| <h3 class="text-xl font-semibold mb-3">Real-Time Tracking</h3> | |
| <p class="text-slate-400">Monitor your portfolio value, transaction history, and market movements in real-time.</p> | |
| </div> | |
| <div class="group p-8 rounded-2xl bg-slate-900/50 border border-slate-800 hover:border-rose-500/50 transition-all duration-300"> | |
| <div class="w-14 h-14 rounded-xl bg-rose-500/10 flex items-center justify-center mb-6 group-hover:scale-110 transition-transform"> | |
| <i data-feather="headphones" class="w-7 h-7 text-rose-400"></i> | |
| </div> | |
| <h3 class="text-xl font-semibold mb-3">24/7 Support</h3> | |
| <p class="text-slate-400">Our dedicated support team is available around the clock to assist with any issues.</p> | |
| </div> | |
| <div class="group p-8 rounded-2xl bg-slate-900/50 border border-slate-800 hover:border-cyan-500/50 transition-all duration-300"> | |
| <div class="w-14 h-14 rounded-xl bg-cyan-500/10 flex items-center justify-center mb-6 group-hover:scale-110 transition-transform"> | |
| <i data-feather="file-text" class="w-7 h-7 text-cyan-400"></i> | |
| </div> | |
| <h3 class="text-xl font-semibold mb-3">Tax Reporting</h3> | |
| <p class="text-slate-400">Generate comprehensive tax reports and export transaction history with one click.</p> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Features Grid --> | |
| <section class="py-20"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="grid md:grid-cols-3 gap-8"> | |
| <div class="group p-8 rounded-2xl bg-slate-900/50 border border-slate-800 hover:border-emerald-500/50 transition-all duration-300"> | |
| <div class="w-14 h-14 rounded-xl bg-emerald-500/10 flex items-center justify-center mb-6 group-hover:scale-110 transition-transform"> | |
| <i data-feather="shield" class="w-7 h-7 text-emerald-400"></i> | |
| </div> | |
| <h3 class="text-xl font-semibold mb-3">Bank-Grade Security</h3> | |
| <p class="text-slate-400">Multi-signature wallets, cold storage, and 256-bit encryption protect your assets.</p> | |
| </div> | |
| <div class="group p-8 rounded-2xl bg-slate-900/50 border border-slate-800 hover:border-violet-500/50 transition-all duration-300"> | |
| <div class="w-14 h-14 rounded-xl bg-violet-500/10 flex items-center justify-center mb-6 group-hover:scale-110 transition-transform"> | |
| <i data-feather="zap" class="w-7 h-7 text-violet-400"></i> | |
| </div> | |
| <h3 class="text-xl font-semibold mb-3">Lightning Fast</h3> | |
| <p class="text-slate-400">Execute trades in milliseconds with our high-performance matching engine.</p> | |
| </div> | |
| <div class="group p-8 rounded-2xl bg-slate-900/50 border border-slate-800 hover:border-amber-500/50 transition-all duration-300"> | |
| <div class="w-14 h-14 rounded-xl bg-amber-500/10 flex items-center justify-center mb-6 group-hover:scale-110 transition-transform"> | |
| <i data-feather="globe" class="w-7 h-7 text-amber-400"></i> | |
| </div> | |
| <h3 class="text-xl font-semibold mb-3">Global Access</h3> | |
| <p class="text-slate-400">Trade from anywhere with 24/7 support and multi-currency support.</p> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| </main> | |
| <!-- Login Modal --> | |
| <div id="login-modal" class="fixed inset-0 z-50 hidden"> | |
| <div class="absolute inset-0 bg-slate-950/80 backdrop-blur-sm" onclick="hideLoginModal()"></div> | |
| <div class="relative flex items-center justify-center min-h-screen p-4"> | |
| <div class="w-full max-w-md bg-slate-900 rounded-2xl border border-slate-800 p-8 shadow-2xl"> | |
| <div class="text-center mb-8"> | |
| <div class="w-16 h-16 rounded-full bg-gradient-to-br from-emerald-500 to-violet-500 flex items-center justify-center mx-auto mb-4"> | |
| <i data-feather="lock" class="w-8 h-8 text-white"></i> | |
| </div> | |
| <h2 class="text-2xl font-bold">Welcome Back</h2> | |
| <p class="text-slate-400">Access your secure dashboard</p> | |
| </div> | |
| <form id="login-form" class="space-y-6"> | |
| <div> | |
| <label class="block text-sm font-medium text-slate-300 mb-2">Username</label> | |
| <div class="relative"> | |
| <i data-feather="user" class="w-5 h-5 text-slate-500 absolute left-3 top-1/2 -translate-y-1/2"></i> | |
| <input type="text" id="login-name" class="w-full pl-10 pr-4 py-3 bg-slate-800 border border-slate-700 rounded-xl focus:outline-none focus:border-emerald-500 focus:ring-1 focus:ring-emerald-500 transition-colors" placeholder="Enter username"> | |
| </div> | |
| </div> | |
| <div> | |
| <label class="block text-sm font-medium text-slate-300 mb-2">Password</label> | |
| <div class="relative"> | |
| <i data-feather="key" class="w-5 h-5 text-slate-500 absolute left-3 top-1/2 -translate-y-1/2"></i> | |
| <input type="password" id="login-password" class="w-full pl-10 pr-4 py-3 bg-slate-800 border border-slate-700 rounded-xl focus:outline-none focus:border-emerald-500 focus:ring-1 focus:ring-emerald-500 transition-colors" placeholder="Enter your password"> | |
| </div> | |
| </div> | |
| <button type="submit" class="w-full py-4 bg-gradient-to-r from-emerald-500 to-emerald-600 hover:from-emerald-400 hover:to-emerald-500 rounded-xl font-semibold transition-all duration-300 shadow-lg shadow-emerald-500/25"> | |
| Sign In to Dashboard | |
| </button> | |
| </form> | |
| <p id="login-error" class="mt-4 text-center text-red-400 text-sm hidden">Invalid credentials. Please try again.</p> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Dashboard (Hidden by default) --> | |
| <div id="dashboard" class="hidden min-h-screen bg-slate-950"> | |
| <dashboard-nav></dashboard-nav> | |
| <div class="pt-20 pb-8 px-4 sm:px-6 lg:px-8 max-w-7xl mx-auto"> | |
| <!-- Welcome Banner --> | |
| <div class="mb-8 p-6 rounded-2xl bg-gradient-to-r from-emerald-600/20 to-violet-600/20 border border-emerald-500/20"> | |
| <div class="flex flex-wrap items-center justify-between gap-4"> | |
| <div> | |
| <h1 class="text-2xl font-bold">Welcome back, <span id="user-name-display">Trader</span></h1> | |
| <p class="text-slate-400">Your portfolio is performing well today</p> | |
| </div> | |
| <div class="flex items-center gap-2 px-4 py-2 rounded-full bg-emerald-500/20 text-emerald-400 text-sm"> | |
| <span class="w-2 h-2 rounded-full bg-emerald-500 animate-pulse"></span> | |
| Verified Account | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Balance Card --> | |
| <div class="max-w-2xl mx-auto mb-8"> | |
| <div class="p-8 rounded-2xl bg-gradient-to-br from-slate-900 to-slate-800 border border-slate-700 relative overflow-hidden"> | |
| <div class="absolute top-0 right-0 w-64 h-64 bg-emerald-500/10 rounded-full blur-3xl -translate-y-1/2 translate-x-1/2"></div> | |
| <div class="relative text-center"> | |
| <div class="flex items-center justify-center gap-3 mb-4"> | |
| <div class="w-12 h-12 rounded-full bg-orange-500 flex items-center justify-center"> | |
| <i data-feather="dollar-sign" class="w-6 h-6 text-white"></i> | |
| </div> | |
| <span class="text-slate-400 text-lg">Bitcoin Balance</span> | |
| </div> | |
| <div class="text-5xl md:text-6xl font-bold mb-2" id="btc-balance-display">7.0246 BTC</div> | |
| <div class="text-3xl text-emerald-400 font-semibold mb-8">$470,000.00</div> | |
| <div class="flex gap-4 justify-center"> | |
| <a href="deposit.html" class="px-8 py-4 bg-emerald-500 hover:bg-emerald-400 rounded-xl font-semibold transition-colors flex items-center gap-2"> | |
| <i data-feather="arrow-down-left" class="w-5 h-5"></i> | |
| Deposit | |
| </a> | |
| <a href="withdraw.html" class="px-8 py-4 bg-violet-500 hover:bg-violet-400 rounded-xl font-semibold transition-colors flex items-center gap-2"> | |
| <i data-feather="arrow-up-right" class="w-5 h-5"></i> | |
| Withdraw | |
| </a> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Quick Info --> | |
| <div class="grid md:grid-cols-3 gap-6 max-w-4xl mx-auto"> | |
| <div class="p-6 rounded-2xl bg-slate-900/80 border border-slate-800 text-center"> | |
| <div class="w-12 h-12 rounded-xl bg-emerald-500/10 flex items-center justify-center mx-auto mb-4"> | |
| <i data-feather="shield-check" class="w-6 h-6 text-emerald-400"></i> | |
| </div> | |
| <div class="text-2xl font-bold text-emerald-400">Secure</div> | |
| <div class="text-sm text-slate-500">Cold Storage Protected</div> | |
| </div> | |
| <div class="p-6 rounded-2xl bg-slate-900/80 border border-slate-800 text-center"> | |
| <div class="w-12 h-12 rounded-xl bg-violet-500/10 flex items-center justify-center mx-auto mb-4"> | |
| <i data-feather="zap" class="w-6 h-6 text-violet-400"></i> | |
| </div> | |
| <div class="text-2xl font-bold text-violet-400">Fast</div> | |
| <div class="text-sm text-slate-500">Instant Transactions</div> | |
| </div> | |
| <div class="p-6 rounded-2xl bg-slate-900/80 border border-slate-800 text-center"> | |
| <div class="w-12 h-12 rounded-xl bg-amber-500/10 flex items-center justify-center mx-auto mb-4"> | |
| <i data-feather="globe" class="w-6 h-6 text-amber-400"></i> | |
| </div> | |
| <div class="text-2xl font-bold text-amber-400">Global</div> | |
| <div class="text-sm text-slate-500">Send Anywhere</div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <script src="components/nav-bar.js"></script> | |
| <script src="components/dashboard-nav.js"></script> | |
| <script src="script.js"></script> | |
| <script>feather.replace();</script> | |
| </body> | |
| </html> |