Spaces:
Running

walet / index.html
Pwshaa's picture
Add 2 files
63f1726 verified
Raw History Blame Contribute Delete
34.6 kB
<!DOCTYPE html>
<html lang="fa" dir="rtl">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ولت یاب - مدیریت ارزهای دیجیتال</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>
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;900&display=swap');
body {
font-family: 'Tajawal', sans-serif;
background-color: #f8fafc;
}
.gradient-bg {
background: linear-gradient(135deg, #6b21a8 0%, #9333ea 100%);
}
.coin-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}
.transaction-history {
scrollbar-width: thin;
scrollbar-color: #e2e8f0 #f1f5f9;
}
.transaction-history::-webkit-scrollbar {
width: 6px;
}
.transaction-history::-webkit-scrollbar-track {
background: #f1f5f9;
}
.transaction-history::-webkit-scrollbar-thumb {
background-color: #e2e8f0;
border-radius: 20px;
}
.animate-pulse {
animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes pulse {
0%, 100% {
opacity: 1;
}
50% {
opacity: 0.5;
}
}
</style>
</head>
<body class="text-gray-800">
<div class="min-h-screen flex flex-col">
<!-- Header -->
<header class="gradient-bg text-white shadow-lg">
<div class="container mx-auto px-4 py-6">
<div class="flex justify-between items-center">
<div class="flex items-center space-x-2 space-x-reverse">
<i class="fas fa-wallet text-2xl"></i>
<h1 class="text-2xl font-bold">ولت یاب</h1>
</div>
<div class="flex items-center space-x-4 space-x-reverse">
<button class="bg-white text-purple-800 px-4 py-2 rounded-full font-medium hover:bg-purple-100 transition">
<i class="fas fa-user mr-2"></i>حساب کاربری
</button>
<button class="p-2 rounded-full hover:bg-purple-700 transition">
<i class="fas fa-bell"></i>
</button>
</div>
</div>
<div class="mt-8 mb-4">
<div class="flex justify-between items-center">
<div>
<h2 class="text-xl opacity-80">موجودی کل</h2>
<h1 class="text-3xl font-bold mt-2">12,458.32 <span class="text-lg">USDT</span></h1>
<p class="mt-2 opacity-80">≈ 512,000,000 <span>تومان</span></p>
</div>
<div class="flex space-x-3 space-x-reverse">
<button class="bg-white text-purple-800 px-6 py-3 rounded-full font-medium hover:bg-purple-100 transition flex items-center">
<i class="fas fa-plus ml-2"></i> واریز
</button>
<button class="bg-white text-purple-800 px-6 py-3 rounded-full font-medium hover:bg-purple-100 transition flex items-center">
<i class="fas fa-paper-plane ml-2"></i> انتقال
</button>
</div>
</div>
</div>
</div>
</header>
<!-- Main Content -->
<main class="flex-grow container mx-auto px-4 py-8">
<div class="grid grid-cols-1 lg:grid-cols-3 gap-8">
<!-- Wallet Section -->
<div class="lg:col-span-2">
<div class="bg-white rounded-xl shadow-md p-6">
<div class="flex justify-between items-center mb-6">
<h2 class="text-xl font-bold">کیف پول شما</h2>
<div class="relative">
<select class="appearance-none bg-gray-100 border-0 rounded-full py-2 pl-8 pr-4 text-gray-700 focus:outline-none focus:ring-2 focus:ring-purple-500">
<option>همه ارزها</option>
<option>بیت کوین</option>
<option>اتریوم</option>
<option>تتر</option>
</select>
<i class="fas fa-chevron-down absolute left-3 top-3 text-gray-500"></i>
</div>
</div>
<div class="space-y-4">
<!-- Bitcoin Card -->
<div class="coin-card bg-gradient-to-r from-orange-50 to-orange-100 border border-orange-200 rounded-xl p-4 transition duration-300">
<div class="flex justify-between items-center">
<div class="flex items-center space-x-3 space-x-reverse">
<div class="w-10 h-10 rounded-full bg-orange-500 flex items-center justify-center">
<i class="fab fa-bitcoin text-white text-lg"></i>
</div>
<div>
<h3 class="font-bold">بیت کوین</h3>
<p class="text-sm text-gray-500">BTC</p>
</div>
</div>
<div class="text-right">
<h3 class="font-bold">0.0425 BTC</h3>
<p class="text-sm text-gray-500">≈ 1,245.32 USDT</p>
</div>
</div>
<div class="mt-4 flex justify-between items-center">
<div class="text-sm">
<span class="text-green-500 font-medium">+2.4%</span> نسبت به دیروز
</div>
<div class="flex space-x-2 space-x-reverse">
<button class="bg-white text-orange-600 px-3 py-1 rounded-full text-sm hover:bg-orange-50 transition">
<i class="fas fa-paper-plane ml-1"></i> انتقال
</button>
<button class="bg-white text-orange-600 px-3 py-1 rounded-full text-sm hover:bg-orange-50 transition">
<i class="fas fa-exchange-alt ml-1"></i> تبدیل
</button>
</div>
</div>
</div>
<!-- Ethereum Card -->
<div class="coin-card bg-gradient-to-r from-indigo-50 to-indigo-100 border border-indigo-200 rounded-xl p-4 transition duration-300">
<div class="flex justify-between items-center">
<div class="flex items-center space-x-3 space-x-reverse">
<div class="w-10 h-10 rounded-full bg-indigo-500 flex items-center justify-center">
<i class="fab fa-ethereum text-white text-lg"></i>
</div>
<div>
<h3 class="font-bold">اتریوم</h3>
<p class="text-sm text-gray-500">ETH</p>
</div>
</div>
<div class="text-right">
<h3 class="font-bold">1.85 ETH</h3>
<p class="text-sm text-gray-500">≈ 3,245.75 USDT</p>
</div>
</div>
<div class="mt-4 flex justify-between items-center">
<div class="text-sm">
<span class="text-green-500 font-medium">+1.2%</span> نسبت به دیروز
</div>
<div class="flex space-x-2 space-x-reverse">
<button class="bg-white text-indigo-600 px-3 py-1 rounded-full text-sm hover:bg-indigo-50 transition">
<i class="fas fa-paper-plane ml-1"></i> انتقال
</button>
<button class="bg-white text-indigo-600 px-3 py-1 rounded-full text-sm hover:bg-indigo-50 transition">
<i class="fas fa-exchange-alt ml-1"></i> تبدیل
</button>
</div>
</div>
</div>
<!-- Tether Card -->
<div class="coin-card bg-gradient-to-r from-green-50 to-green-100 border border-green-200 rounded-xl p-4 transition duration-300">
<div class="flex justify-between items-center">
<div class="flex items-center space-x-3 space-x-reverse">
<div class="w-10 h-10 rounded-full bg-green-500 flex items-center justify-center">
<span class="text-white font-bold text-xs">USDT</span>
</div>
<div>
<h3 class="font-bold">تتر</h3>
<p class="text-sm text-gray-500">USDT</p>
</div>
</div>
<div class="text-right">
<h3 class="font-bold">7,968.25 USDT</h3>
<p class="text-sm text-gray-500">≈ 327,000,000 تومان</p>
</div>
</div>
<div class="mt-4 flex justify-between items-center">
<div class="text-sm">
<span class="text-gray-500 font-medium">0.0%</span> نسبت به دیروز
</div>
<div class="flex space-x-2 space-x-reverse">
<button class="bg-white text-green-600 px-3 py-1 rounded-full text-sm hover:bg-green-50 transition">
<i class="fas fa-paper-plane ml-1"></i> انتقال
</button>
<button class="bg-white text-green-600 px-3 py-1 rounded-full text-sm hover:bg-green-50 transition">
<i class="fas fa-exchange-alt ml-1"></i> تبدیل
</button>
</div>
</div>
</div>
</div>
<button class="w-full mt-6 py-3 border-2 border-dashed border-gray-300 rounded-xl text-gray-500 hover:border-purple-500 hover:text-purple-500 transition flex items-center justify-center">
<i class="fas fa-plus ml-2"></i> اضافه کردن ارز جدید
</button>
</div>
<!-- Transfer Form -->
<div class="bg-white rounded-xl shadow-md p-6 mt-8">
<h2 class="text-xl font-bold mb-6">انتقال به تراست ولت</h2>
<div class="space-y-4">
<div>
<label class="block text-gray-700 mb-2">ارز مورد نظر</label>
<div class="relative">
<select class="appearance-none w-full bg-gray-100 border-0 rounded-lg py-3 pl-8 pr-4 text-gray-700 focus:outline-none focus:ring-2 focus:ring-purple-500">
<option>بیت کوین (BTC)</option>
<option>اتریوم (ETH)</option>
<option>تتر (USDT)</option>
</select>
<i class="fas fa-chevron-down absolute left-3 top-4 text-gray-500"></i>
</div>
</div>
<div>
<label class="block text-gray-700 mb-2">آدرس کیف پول مقصد</label>
<div class="relative">
<input type="text" placeholder="0x71C7656EC7ab88b098defB751B7401B5f6d8976F" class="w-full bg-gray-100 border-0 rounded-lg py-3 px-4 text-gray-700 focus:outline-none focus:ring-2 focus:ring-purple-500">
<button class="absolute left-3 top-3 text-purple-600 hover:text-purple-800">
<i class="fas fa-qrcode"></i>
</button>
</div>
</div>
<div class="grid grid-cols-2 gap-4">
<div>
<label class="block text-gray-700 mb-2">مقدار</label>
<input type="text" placeholder="0.00" class="w-full bg-gray-100 border-0 rounded-lg py-3 px-4 text-gray-700 focus:outline-none focus:ring-2 focus:ring-purple-500">
</div>
<div>
<label class="block text-gray-700 mb-2">واحد</label>
<div class="relative">
<select class="appearance-none w-full bg-gray-100 border-0 rounded-lg py-3 pl-8 pr-4 text-gray-700 focus:outline-none focus:ring-2 focus:ring-purple-500">
<option>BTC</option>
<option>USD</option>
<option>IRT</option>
</select>
<i class="fas fa-chevron-down absolute left-3 top-4 text-gray-500"></i>
</div>
</div>
</div>
<div class="pt-4">
<div class="flex justify-between items-center py-3 border-b border-gray-200">
<span class="text-gray-600">کارمزد شبکه</span>
<span class="font-medium">0.0005 BTC ≈ $1.25</span>
</div>
<div class="flex justify-between items-center py-3">
<span class="text-gray-600">مبلغ کل</span>
<span class="font-bold">0.0425 BTC ≈ $1,245.32</span>
</div>
</div>
<button class="w-full gradient-bg text-white py-4 rounded-lg font-bold hover:opacity-90 transition mt-4">
تأیید و انتقال
</button>
</div>
</div>
</div>
<!-- Sidebar -->
<div class="lg:col-span-1">
<!-- Market Overview -->
<div class="bg-white rounded-xl shadow-md p-6 mb-6">
<h2 class="text-xl font-bold mb-4">وضعیت بازار</h2>
<div class="space-y-4">
<div class="flex justify-between items-center">
<div class="flex items-center space-x-2 space-x-reverse">
<div class="w-8 h-8 rounded-full bg-orange-500 flex items-center justify-center">
<i class="fab fa-bitcoin text-white text-xs"></i>
</div>
<span class="font-medium">BTC</span>
</div>
<div class="text-right">
<div class="font-medium">$29,245.32</div>
<div class="text-sm text-green-500">+2.4%</div>
</div>
</div>
<div class="flex justify-between items-center">
<div class="flex items-center space-x-2 space-x-reverse">
<div class="w-8 h-8 rounded-full bg-indigo-500 flex items-center justify-center">
<i class="fab fa-ethereum text-white text-xs"></i>
</div>
<span class="font-medium">ETH</span>
</div>
<div class="text-right">
<div class="font-medium">$1,754.21</div>
<div class="text-sm text-green-500">+1.2%</div>
</div>
</div>
<div class="flex justify-between items-center">
<div class="flex items-center space-x-2 space-x-reverse">
<div class="w-8 h-8 rounded-full bg-green-500 flex items-center justify-center">
<span class="text-white font-bold text-xs">USDT</span>
</div>
<span class="font-medium">USDT</span>
</div>
<div class="text-right">
<div class="font-medium">$1.00</div>
<div class="text-sm text-gray-500">0.0%</div>
</div>
</div>
<div class="flex justify-between items-center">
<div class="flex items-center space-x-2 space-x-reverse">
<div class="w-8 h-8 rounded-full bg-blue-500 flex items-center justify-center">
<span class="text-white font-bold text-xs">BNB</span>
</div>
<span class="font-medium">BNB</span>
</div>
<div class="text-right">
<div class="font-medium">$245.32</div>
<div class="text-sm text-red-500">-0.8%</div>
</div>
</div>
</div>
<button class="w-full mt-4 py-2 border border-purple-500 text-purple-500 rounded-lg hover:bg-purple-50 transition">
مشاهده همه ارزها
</button>
</div>
<!-- Recent Transactions -->
<div class="bg-white rounded-xl shadow-md p-6">
<div class="flex justify-between items-center mb-4">
<h2 class="text-xl font-bold">تراکنش‌های اخیر</h2>
<button class="text-purple-600 hover:text-purple-800">
<i class="fas fa-ellipsis-h"></i>
</button>
</div>
<div class="transaction-history max-h-96 overflow-y-auto pr-2">
<div class="space-y-4">
<!-- Transaction 1 -->
<div class="flex justify-between items-center">
<div class="flex items-center space-x-3 space-x-reverse">
<div class="w-10 h-10 rounded-full bg-orange-100 flex items-center justify-center">
<i class="fab fa-bitcoin text-orange-500"></i>
</div>
<div>
<h3 class="font-medium">ارسال BTC</h3>
<p class="text-sm text-gray-500">امروز 14:32</p>
</div>
</div>
<div class="text-right">
<h3 class="font-medium text-red-500">-0.005 BTC</h3>
<p class="text-sm text-gray-500">≈ $145.32</p>
</div>
</div>
<!-- Transaction 2 -->
<div class="flex justify-between items-center">
<div class="flex items-center space-x-3 space-x-reverse">
<div class="w-10 h-10 rounded-full bg-green-100 flex items-center justify-center">
<span class="text-green-500 font-bold text-xs">USDT</span>
</div>
<div>
<h3 class="font-medium">دریافت USDT</h3>
<p class="text-sm text-gray-500">دیروز 09:15</p>
</div>
</div>
<div class="text-right">
<h3 class="font-medium text-green-500">+500 USDT</h3>
<p class="text-sm text-gray-500">≈ $500.00</p>
</div>
</div>
<!-- Transaction 3 -->
<div class="flex justify-between items-center">
<div class="flex items-center space-x-3 space-x-reverse">
<div class="w-10 h-10 rounded-full bg-indigo-100 flex items-center justify-center">
<i class="fab fa-ethereum text-indigo-500"></i>
</div>
<div>
<h3 class="font-medium">تبدیل ETH</h3>
<p class="text-sm text-gray-500">دیروز 18:47</p>
</div>
</div>
<div class="text-right">
<h3 class="font-medium text-purple-500">0.25 ETH → BTC</h3>
<p class="text-sm text-gray-500">≈ $437.50</p>
</div>
</div>
<!-- Transaction 4 -->
<div class="flex justify-between items-center">
<div class="flex items-center space-x-3 space-x-reverse">
<div class="w-10 h-10 rounded-full bg-orange-100 flex items-center justify-center">
<i class="fab fa-bitcoin text-orange-500"></i>
</div>
<div>
<h3 class="font-medium">دریافت BTC</h3>
<p class="text-sm text-gray-500">۲ روز پیش</p>
</div>
</div>
<div class="text-right">
<h3 class="font-medium text-green-500">+0.012 BTC</h3>
<p class="text-sm text-gray-500">≈ $350.94</p>
</div>
</div>
<!-- Transaction 5 -->
<div class="flex justify-between items-center">
<div class="flex items-center space-x-3 space-x-reverse">
<div class="w-10 h-10 rounded-full bg-blue-100 flex items-center justify-center">
<span class="text-blue-500 font-bold text-xs">BNB</span>
</div>
<div>
<h3 class="font-medium">ارسال BNB</h3>
<p class="text-sm text-gray-500">۳ روز پیش</p>
</div>
</div>
<div class="text-right">
<h3 class="font-medium text-red-500">-1.2 BNB</h3>
<p class="text-sm text-gray-500">≈ $294.38</p>
</div>
</div>
</div>
</div>
<button class="w-full mt-4 py-2 border border-gray-300 text-gray-600 rounded-lg hover:bg-gray-50 transition">
مشاهده همه تراکنش‌ها
</button>
</div>
</div>
</div>
</main>
<!-- Footer -->
<footer class="bg-white border-t border-gray-200 py-6">
<div class="container mx-auto px-4">
<div class="flex flex-col md:flex-row justify-between items-center">
<div class="flex items-center space-x-2 space-x-reverse mb-4 md:mb-0">
<i class="fas fa-wallet text-purple-600"></i>
<span class="font-bold">ولت یاب</span>
</div>
<div class="flex space-x-6 space-x-reverse text-sm">
<a href="#" class="text-gray-600 hover:text-purple-600 transition">قوانین و مقررات</a>
<a href="#" class="text-gray-600 hover:text-purple-600 transition">پشتیبانی</a>
<a href="#" class="text-gray-600 hover:text-purple-600 transition">درباره ما</a>
</div>
<div class="flex space-x-4 space-x-reverse mt-4 md:mt-0">
<a href="#" class="w-8 h-8 rounded-full bg-gray-100 flex items-center justify-center text-gray-600 hover:bg-purple-100 hover:text-purple-600 transition">
<i class="fab fa-telegram"></i>
</a>
<a href="#" class="w-8 h-8 rounded-full bg-gray-100 flex items-center justify-center text-gray-600 hover:bg-purple-100 hover:text-purple-600 transition">
<i class="fab fa-twitter"></i>
</a>
<a href="#" class="w-8 h-8 rounded-full bg-gray-100 flex items-center justify-center text-gray-600 hover:bg-purple-100 hover:text-purple-600 transition">
<i class="fab fa-instagram"></i>
</a>
</div>
</div>
<div class="mt-6 pt-6 border-t border-gray-200 text-center text-sm text-gray-500">
© ۱۴۰۲ ولت یاب. تمام حقوق محفوظ است.
</div>
</div>
</footer>
</div>
<!-- Transfer Modal -->
<div class="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center p-4 z-50 hidden" id="transferModal">
<div class="bg-white rounded-xl max-w-md w-full p-6">
<div class="flex justify-between items-center mb-6">
<h3 class="text-xl font-bold">تأیید انتقال</h3>
<button class="text-gray-500 hover:text-gray-700" onclick="document.getElementById('transferModal').classList.add('hidden')">
<i class="fas fa-times"></i>
</button>
</div>
<div class="space-y-4">
<div class="flex justify-between items-center py-2 border-b border-gray-200">
<span class="text-gray-600">مقدار انتقال</span>
<span class="font-medium">0.005 BTC</span>
</div>
<div class="flex justify-between items-center py-2 border-b border-gray-200">
<span class="text-gray-600">کارمزد شبکه</span>
<span class="font-medium">0.0005 BTC</span>
</div>
<div class="flex justify-between items-center py-2 border-b border-gray-200">
<span class="text-gray-600">آدرس مقصد</span>
<span class="font-medium text-xs">0x71C765...8976F</span>
</div>
<div class="flex justify-between items-center py-2">
<span class="text-gray-600">مبلغ کل</span>
<span class="font-bold">0.0055 BTC ≈ $160.94</span>
</div>
<div class="mt-6">
<label class="flex items-center space-x-2 space-x-reverse">
<input type="checkbox" class="rounded text-purple-600 focus:ring-purple-500">
<span>با <a href="#" class="text-purple-600 hover:underline">قوانین و شرایط</a> موافقم</span>
</label>
</div>
<div class="flex space-x-3 space-x-reverse mt-6">
<button class="flex-1 py-3 border border-gray-300 text-gray-700 rounded-lg hover:bg-gray-50 transition" onclick="document.getElementById('transferModal').classList.add('hidden')">
انصراف
</button>
<button class="flex-1 gradient-bg text-white py-3 rounded-lg font-bold hover:opacity-90 transition">
تأیید و انتقال
</button>
</div>
</div>
</div>
</div>
<script>
// Sample JavaScript for functionality
document.addEventListener('DOMContentLoaded', function() {
// Simulate loading
setTimeout(() => {
document.querySelectorAll('.animate-pulse').forEach(el => {
el.classList.remove('animate-pulse');
});
}, 1500);
// Transfer button click handler
document.querySelectorAll('[data-transfer]').forEach(btn => {
btn.addEventListener('click', function() {
document.getElementById('transferModal').classList.remove('hidden');
});
});
// QR code scanner simulation
document.querySelector('[data-qr-scan]').addEventListener('click', function() {
alert('اسکنر QR در حال اجرا است...');
});
});
</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=Pwshaa/walet" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>