f / index.html
Rik124's picture
Add 3 files
7198f08 verified
Raw History Blame Contribute Delete
22.3 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Crypto MLM 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 CSS for elements that need more styling than Tailwind provides */
.gradient-bg {
background: linear-gradient(135deg, #6b46c1 0%, #4299e1 100%);
}
.wallet-card {
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.2);
}
.sidebar {
transition: all 0.3s ease;
}
@media (max-width: 768px) {
.sidebar {
transform: translateX(-100%);
}
.sidebar.active {
transform: translateX(0);
}
}
</style>
</head>
<body class="bg-gray-100 text-gray-800">
<!-- Mobile Menu Button -->
<button id="menuToggle" class="md:hidden fixed top-4 left-4 z-50 bg-purple-600 text-white p-2 rounded-lg">
<i class="fas fa-bars"></i>
</button>
<!-- Sidebar Navigation -->
<div id="sidebar" class="sidebar fixed h-full w-64 bg-white shadow-lg z-40">
<div class="p-4 border-b border-gray-200">
<h1 class="text-2xl font-bold text-purple-700">Crypto MLM</h1>
<p class="text-xs text-gray-500">Multi-Level Marketing Platform</p>
</div>
<nav class="mt-6">
<div class="px-4 py-2 text-xs font-semibold text-gray-500 uppercase tracking-wider">
Main
</div>
<a href="#" class="block px-4 py-3 text-sm font-medium text-purple-700 bg-purple-50 border-l-4 border-purple-600">
<i class="fas fa-tachometer-alt mr-3"></i> Dashboard
</a>
<a href="#" class="block px-4 py-3 text-sm font-medium text-gray-600 hover:text-purple-700 hover:bg-purple-50">
<i class="fas fa-wallet mr-3"></i> Wallet
</a>
<a href="#" class="block px-4 py-3 text-sm font-medium text-gray-600 hover:text-purple-700 hover:bg-purple-50">
<i class="fas fa-users mr-3"></i> Referrals
</a>
<a href="#" class="block px-4 py-3 text-sm font-medium text-gray-600 hover:text-purple-700 hover:bg-purple-50">
<i class="fas fa-chart-line mr-3"></i> Earnings
</a>
<div class="px-4 py-2 mt-4 text-xs font-semibold text-gray-500 uppercase tracking-wider">
Account
</div>
<a href="#" class="block px-4 py-3 text-sm font-medium text-gray-600 hover:text-purple-700 hover:bg-purple-50">
<i class="fas fa-user mr-3"></i> Profile
</a>
<a href="#" class="block px-4 py-3 text-sm font-medium text-gray-600 hover:text-purple-700 hover:bg-purple-50">
<i class="fas fa-id-card mr-3"></i> KYC Verification
</a>
<a href="#" class="block px-4 py-3 text-sm font-medium text-gray-600 hover:text-purple-700 hover:bg-purple-50">
<i class="fas fa-cog mr-3"></i> Settings
</a>
</nav>
</div>
<!-- Main Content -->
<div class="md:ml-64 min-h-screen">
<!-- Top Navigation -->
<header class="bg-white shadow-sm">
<div class="max-w-7xl mx-auto px-4 py-4 sm:px-6 lg:px-8 flex justify-between items-center">
<h2 class="text-lg font-semibold text-gray-900">Dashboard</h2>
<div class="flex items-center space-x-4">
<button class="p-2 text-gray-500 hover:text-gray-700">
<i class="fas fa-bell"></i>
</button>
<div class="relative">
<button id="userMenuButton" class="flex items-center space-x-2 focus:outline-none">
<div class="h-8 w-8 rounded-full bg-purple-500 flex items-center justify-center text-white">
<span>JD</span>
</div>
<span class="hidden md:inline">John Doe</span>
<i class="fas fa-chevron-down text-xs"></i>
</button>
<div id="userMenu" class="hidden absolute right-0 mt-2 w-48 bg-white rounded-md shadow-lg py-1 z-50">
<a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Your Profile</a>
<a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Settings</a>
<a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Sign out</a>
</div>
</div>
</div>
</div>
</header>
<!-- Main Content Area -->
<main class="max-w-7xl mx-auto px-4 py-6 sm:px-6 lg:px-8">
<!-- Wallet and Stats Section -->
<div class="grid grid-cols-1 md:grid-cols-3 gap-6 mb-8">
<!-- Wallet Card -->
<div class="wallet-card rounded-lg shadow-md p-6 gradient-bg text-white">
<div class="flex justify-between items-start">
<div>
<p class="text-sm opacity-80">Wallet Balance</p>
<h3 class="text-2xl font-bold mt-1">2,450.50 <span class="text-sm">USDT</span></h3>
</div>
<div class="bg-white bg-opacity-20 p-2 rounded-lg">
<i class="fas fa-wallet text-xl"></i>
</div>
</div>
<div class="mt-6 flex justify-between items-center">
<button class="bg-white text-purple-700 px-4 py-2 rounded-lg text-sm font-medium hover:bg-opacity-90 transition">
Deposit
</button>
<button class="bg-white text-purple-700 px-4 py-2 rounded-lg text-sm font-medium hover:bg-opacity-90 transition">
Withdraw
</button>
</div>
</div>
<!-- Referral Stats -->
<div class="bg-white rounded-lg shadow-md p-6">
<div class="flex justify-between items-center mb-4">
<h3 class="font-medium text-gray-900">Referral Network</h3>
<span class="text-xs bg-purple-100 text-purple-800 px-2 py-1 rounded-full">Active</span>
</div>
<div class="grid grid-cols-3 gap-4 text-center">
<div>
<p class="text-sm text-gray-500">Level 1</p>
<p class="text-xl font-bold">24</p>
</div>
<div>
<p class="text-sm text-gray-500">Level 2</p>
<p class="text-xl font-bold">156</p>
</div>
<div>
<p class="text-sm text-gray-500">Level 3</p>
<p class="text-xl font-bold">892</p>
</div>
</div>
<div class="mt-4 pt-4 border-t border-gray-200">
<p class="text-sm text-gray-500">Your Referral Code</p>
<div class="flex items-center mt-1">
<input type="text" readonly value="CRYPTOMLM123" class="flex-1 bg-gray-100 border border-gray-300 rounded-l-lg px-3 py-2 text-sm">
<button class="bg-purple-600 text-white px-3 py-2 rounded-r-lg text-sm hover:bg-purple-700">
<i class="fas fa-copy"></i>
</button>
</div>
</div>
</div>
<!-- Earnings Stats -->
<div class="bg-white rounded-lg shadow-md p-6">
<h3 class="font-medium text-gray-900 mb-4">Earnings Summary</h3>
<div class="space-y-4">
<div>
<p class="text-sm text-gray-500">Today's Earnings</p>
<p class="text-xl font-bold text-purple-600">12.50 USDT</p>
</div>
<div>
<p class="text-sm text-gray-500">This Week</p>
<p class="text-xl font-bold text-purple-600">87.25 USDT</p>
</div>
<div>
<p class="text-sm text-gray-500">Total Earnings</p>
<p class="text-xl font-bold text-purple-600">1,245.75 USDT</p>
</div>
</div>
</div>
</div>
<!-- KYC Verification Section -->
<div class="bg-white rounded-lg shadow-md p-6 mb-8">
<div class="flex justify-between items-center mb-4">
<h3 class="font-medium text-gray-900">KYC Verification</h3>
<span class="text-xs bg-yellow-100 text-yellow-800 px-2 py-1 rounded-full">Pending</span>
</div>
<p class="text-sm text-gray-600 mb-4">Complete your KYC verification to unlock full platform features and higher withdrawal limits.</p>
<div class="space-y-4">
<div class="flex items-center justify-between p-3 border border-gray-200 rounded-lg">
<div class="flex items-center">
<div class="h-10 w-10 rounded-full bg-gray-100 flex items-center justify-center mr-3">
<i class="fas fa-id-card text-gray-500"></i>
</div>
<div>
<p class="text-sm font-medium">ID Verification</p>
<p class="text-xs text-gray-500">Upload government-issued ID</p>
</div>
</div>
<button class="text-sm text-purple-600 hover:text-purple-800 font-medium">Upload</button>
</div>
<div class="flex items-center justify-between p-3 border border-gray-200 rounded-lg">
<div class="flex items-center">
<div class="h-10 w-10 rounded-full bg-gray-100 flex items-center justify-center mr-3">
<i class="fas fa-portrait text-gray-500"></i>
</div>
<div>
<p class="text-sm font-medium">Selfie Verification</p>
<p class="text-xs text-gray-500">Take a selfie with your ID</p>
</div>
</div>
<button class="text-sm text-purple-600 hover:text-purple-800 font-medium">Take Photo</button>
</div>
<div class="flex items-center justify-between p-3 border border-gray-200 rounded-lg">
<div class="flex items-center">
<div class="h-10 w-10 rounded-full bg-gray-100 flex items-center justify-center mr-3">
<i class="fas fa-home text-gray-500"></i>
</div>
<div>
<p class="text-sm font-medium">Address Proof</p>
<p class="text-xs text-gray-500">Utility bill or bank statement</p>
</div>
</div>
<button class="text-sm text-purple-600 hover:text-purple-800 font-medium">Upload</button>
</div>
</div>
<button class="mt-6 w-full bg-purple-600 text-white py-2 px-4 rounded-lg hover:bg-purple-700 transition">
Submit for Verification
</button>
</div>
<!-- Recent Transactions and Referral Network -->
<div class="grid grid-cols-1 lg:grid-cols-2 gap-6">
<!-- Recent Transactions -->
<div class="bg-white rounded-lg shadow-md p-6">
<h3 class="font-medium text-gray-900 mb-4">Recent Transactions</h3>
<div class="overflow-x-auto">
<table class="min-w-full divide-y divide-gray-200">
<thead class="bg-gray-50">
<tr>
<th scope="col" class="px-3 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Date</th>
<th scope="col" class="px-3 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Type</th>
<th scope="col" class="px-3 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Amount</th>
<th scope="col" class="px-3 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Status</th>
</tr>
</thead>
<tbody class="bg-white divide-y divide-gray-200">
<tr>
<td class="px-3 py-3 whitespace-nowrap text-sm text-gray-500">Jun 12, 2023</td>
<td class="px-3 py-3 whitespace-nowrap text-sm font-medium text-gray-900">Referral Bonus</td>
<td class="px-3 py-3 whitespace-nowrap text-sm text-green-600">+5.00 USDT</td>
<td class="px-3 py-3 whitespace-nowrap text-sm text-gray-500">Completed</td>
</tr>
<tr>
<td class="px-3 py-3 whitespace-nowrap text-sm text-gray-500">Jun 10, 2023</td>
<td class="px-3 py-3 whitespace-nowrap text-sm font-medium text-gray-900">Deposit</td>
<td class="px-3 py-3 whitespace-nowrap text-sm text-green-600">+100.00 USDT</td>
<td class="px-3 py-3 whitespace-nowrap text-sm text-gray-500">Completed</td>
</tr>
<tr>
<td class="px-3 py-3 whitespace-nowrap text-sm text-gray-500">Jun 8, 2023</td>
<td class="px-3 py-3 whitespace-nowrap text-sm font-medium text-gray-900">Withdrawal</td>
<td class="px-3 py-3 whitespace-nowrap text-sm text-red-600">-50.00 USDT</td>
<td class="px-3 py-3 whitespace-nowrap text-sm text-yellow-600">Pending</td>
</tr>
<tr>
<td class="px-3 py-3 whitespace-nowrap text-sm text-gray-500">Jun 5, 2023</td>
<td class="px-3 py-3 whitespace-nowrap text-sm font-medium text-gray-900">Referral Bonus</td>
<td class="px-3 py-3 whitespace-nowrap text-sm text-green-600">+3.50 USDT</td>
<td class="px-3 py-3 whitespace-nowrap text-sm text-gray-500">Completed</td>
</tr>
</tbody>
</table>
</div>
<a href="#" class="mt-4 inline-block text-sm text-purple-600 hover:text-purple-800 font-medium">View All Transactions</a>
</div>
<!-- Referral Network -->
<div class="bg-white rounded-lg shadow-md p-6">
<h3 class="font-medium text-gray-900 mb-4">Recent Referrals</h3>
<div class="space-y-4">
<div class="flex items-center p-3 border border-gray-200 rounded-lg">
<div class="h-10 w-10 rounded-full bg-purple-100 flex items-center justify-center mr-3">
<i class="fas fa-user text-purple-600"></i>
</div>
<div class="flex-1">
<p class="text-sm font-medium">Sarah Johnson</p>
<p class="text-xs text-gray-500">Joined 2 days ago</p>
</div>
<span class="text-xs bg-green-100 text-green-800 px-2 py-1 rounded-full">Active</span>
</div>
<div class="flex items-center p-3 border border-gray-200 rounded-lg">
<div class="h-10 w-10 rounded-full bg-purple-100 flex items-center justify-center mr-3">
<i class="fas fa-user text-purple-600"></i>
</div>
<div class="flex-1">
<p class="text-sm font-medium">Michael Chen</p>
<p class="text-xs text-gray-500">Joined 5 days ago</p>
</div>
<span class="text-xs bg-green-100 text-green-800 px-2 py-1 rounded-full">Active</span>
</div>
<div class="flex items-center p-3 border border-gray-200 rounded-lg">
<div class="h-10 w-10 rounded-full bg-purple-100 flex items-center justify-center mr-3">
<i class="fas fa-user text-purple-600"></i>
</div>
<div class="flex-1">
<p class="text-sm font-medium">Emma Wilson</p>
<p class="text-xs text-gray-500">Joined 1 week ago</p>
</div>
<span class="text-xs bg-yellow-100 text-yellow-800 px-2 py-1 rounded-full">Pending KYC</span>
</div>
<div class="flex items-center p-3 border border-gray-200 rounded-lg">
<div class="h-10 w-10 rounded-full bg-purple-100 flex items-center justify-center mr-3">
<i class="fas fa-user text-purple-600"></i>
</div>
<div class="flex-1">
<p class="text-sm font-medium">David Kim</p>
<p class="text-xs text-gray-500">Joined 2 weeks ago</p>
</div>
<span class="text-xs bg-green-100 text-green-800 px-2 py-1 rounded-full">Active</span>
</div>
</div>
<a href="#" class="mt-4 inline-block text-sm text-purple-600 hover:text-purple-800 font-medium">View Complete Network</a>
</div>
</div>
</main>
</div>
<script>
// Mobile menu toggle
document.getElementById('menuToggle').addEventListener('click', function() {
document.getElementById('sidebar').classList.toggle('active');
});
// User menu toggle
document.getElementById('userMenuButton').addEventListener('click', function() {
document.getElementById('userMenu').classList.toggle('hidden');
});
// Close user menu when clicking outside
document.addEventListener('click', function(event) {
const userMenu = document.getElementById('userMenu');
const userMenuButton = document.getElementById('userMenuButton');
if (!userMenu.contains(event.target) && !userMenuButton.contains(event.target)) {
userMenu.classList.add('hidden');
}
});
// Copy referral code functionality
const copyButtons = document.querySelectorAll('[data-copy]');
copyButtons.forEach(button => {
button.addEventListener('click', function() {
const textToCopy = this.previousElementSibling.value;
navigator.clipboard.writeText(textToCopy).then(() => {
const originalText = this.innerHTML;
this.innerHTML = '<i class="fas fa-check"></i> Copied!';
setTimeout(() => {
this.innerHTML = originalText;
}, 2000);
});
});
});
// Simulate KYC submission
const kycSubmitButton = document.querySelector('#kycSubmit');
if (kycSubmitButton) {
kycSubmitButton.addEventListener('click', function() {
alert('KYC documents submitted for verification. Please wait for admin approval.');
});
}
</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=Rik124/f" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>