datapay / index.html
Savator8944's picture
undefined - Initial Deployment
3600b6c verified
Raw History Blame Contribute Delete
23 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>DataPay - Monetize Your Data Securely</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=Inter:wght@300;400;500;600;700&display=swap');
body {
font-family: 'Inter', sans-serif;
background-color: #f8fafc;
max-width: 428px;
margin: 0 auto;
position: relative;
min-height: 100vh;
color: #1e293b;
}
.gradient-bg {
background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
}
.data-card {
transition: all 0.3s ease;
}
.data-card:hover {
transform: translateY(-2px);
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
.progress-bar {
height: 8px;
border-radius: 4px;
background-color: #e2e8f0;
}
.progress-fill {
height: 100%;
border-radius: 4px;
background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 100%);
transition: width 0.5s ease;
}
.switch {
position: relative;
display: inline-block;
width: 52px;
height: 28px;
}
.switch input {
opacity: 0;
width: 0;
height: 0;
}
.slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #e2e8f0;
transition: .4s;
border-radius: 34px;
}
.slider:before {
position: absolute;
content: "";
height: 20px;
width: 20px;
left: 4px;
bottom: 4px;
background-color: white;
transition: .4s;
border-radius: 50%;
}
input:checked + .slider {
background-color: #6366f1;
}
input:checked + .slider:before {
transform: translateX(24px);
}
.nav-item.active {
color: #6366f1;
border-bottom: 2px solid #6366f1;
}
.pulse {
animation: pulse 2s infinite;
}
@keyframes pulse {
0% {
box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4);
}
70% {
box-shadow: 0 0 0 10px rgba(99, 102, 241, 0);
}
100% {
box-shadow: 0 0 0 0 rgba(99, 102, 241, 0);
}
}
</style>
</head>
<body class="bg-gray-50">
<!-- Header -->
<header class="gradient-bg text-white p-6 rounded-b-3xl shadow-md">
<div class="flex justify-between items-center mb-6">
<div class="flex items-center">
<i class="fas fa-shield-alt text-2xl mr-3"></i>
<h1 class="text-2xl font-bold">DataPay</h1>
</div>
<div class="flex items-center space-x-4">
<button class="bg-white bg-opacity-20 p-2 rounded-full">
<i class="fas fa-bell text-white"></i>
<span class="absolute top-0 right-0 h-3 w-3 bg-red-500 rounded-full"></span>
</button>
<button class="bg-white bg-opacity-20 p-2 rounded-full relative group">
<i class="fas fa-cog text-white"></i>
<div class="absolute hidden group-hover:block bg-white shadow-lg rounded-lg p-2 w-40 z-10 right-0 mt-2">
<div class="text-xs text-gray-800 p-2 hover:bg-gray-100 rounded">Settings</div>
<div class="text-xs text-gray-800 p-2 hover:bg-gray-100 rounded">Admin Dashboard</div>
</div>
</button>
</div>
</div>
<div class="bg-white bg-opacity-20 backdrop-blur-sm rounded-2xl p-6 mb-6">
<div class="flex justify-between items-center mb-4">
<h2 class="text-lg font-semibold">Your Earnings</h2>
<span class="text-xs bg-white bg-opacity-30 px-2 py-1 rounded-full">This Month</span>
</div>
<div class="flex justify-between items-end">
<div>
<p class="text-sm opacity-80">Total Balance</p>
<p class="text-3xl font-bold">$24.78</p>
</div>
<div class="text-right">
<p class="text-sm opacity-80">Today</p>
<p class="text-xl font-semibold">+$1.25</p>
</div>
</div>
<div class="mt-4">
<div class="flex justify-between text-xs mb-2">
<span>Withdraw via:</span>
<div class="flex space-x-2">
<span class="bg-white bg-opacity-30 px-2 py-1 rounded-full">M-Pesa</span>
<span class="bg-white bg-opacity-30 px-2 py-1 rounded-full">Bank</span>
<span class="bg-white bg-opacity-30 px-2 py-1 rounded-full">Crypto</span>
</div>
</div>
<div class="flex justify-between text-xs">
<span>Min. $5 to withdraw</span>
<button class="underline font-medium">View History</button>
</div>
</div>
</div>
</header>
<!-- Main Content -->
<main class="p-6 pb-24">
<!-- Navigation -->
<nav class="flex justify-around border-b border-gray-200 mb-8">
<button class="nav-item active pb-3 px-4 font-medium">Dashboard</button>
<button class="nav-item pb-3 px-4 font-medium text-gray-400">Data</button>
<button class="nav-item pb-3 px-4 font-medium text-gray-400">Earn More</button>
<button class="nav-item pb-3 px-4 font-medium text-gray-400">Profile</button>
</nav>
<!-- Quick Actions -->
<div class="grid grid-cols-3 gap-4 mb-8">
<button class="bg-white p-4 rounded-xl shadow-sm flex flex-col items-center justify-center">
<div class="bg-indigo-100 p-3 rounded-full mb-2">
<i class="fas fa-wallet text-indigo-600"></i>
</div>
<span class="text-sm font-medium">Withdraw</span>
</button>
<button class="bg-white p-4 rounded-xl shadow-sm flex flex-col items-center justify-center">
<div class="bg-green-100 p-3 rounded-full mb-2">
<i class="fas fa-user-plus text-green-600"></i>
</div>
<span class="text-sm font-medium">Refer</span>
</button>
<button class="bg-white p-4 rounded-xl shadow-sm flex flex-col items-center justify-center">
<div class="bg-purple-100 p-3 rounded-full mb-2">
<i class="fas fa-poll text-purple-600"></i>
</div>
<span class="text-sm font-medium">Surveys</span>
</button>
</div>
<!-- Data Sharing Section -->
<div class="mb-8">
<div class="flex justify-between items-center mb-4">
<h2 class="text-lg font-semibold">Your Data Sharing</h2>
<span class="text-xs bg-green-100 text-green-800 px-3 py-1 rounded-full flex items-center">
<i class="fas fa-shield-alt mr-1"></i> GDPR & CCPA Compliant
</span>
</div>
<div class="bg-white rounded-xl shadow-sm overflow-hidden mb-4">
<div class="p-4 flex justify-between items-center">
<div>
<h3 class="font-medium">Sharing Status</h3>
<p class="text-xs text-gray-500">Active - Earning $1.25/day</p>
</div>
<label class="switch">
<input type="checkbox" checked>
<span class="slider"></span>
</label>
</div>
<div class="px-4 pb-4">
<div class="progress-bar">
<div class="progress-fill" style="width: 75%"></div>
</div>
<div class="flex justify-between text-xs mt-2 text-gray-500">
<span>75% data shared</span>
<span>Max $1.67/day</span>
</div>
</div>
</div>
<div class="grid grid-cols-2 gap-4">
<div class="data-card bg-white p-4 rounded-xl shadow-sm">
<div class="flex justify-between items-start mb-3">
<div class="bg-blue-100 p-2 rounded-lg">
<i class="fas fa-map-marker-alt text-blue-600"></i>
</div>
<span class="text-xs bg-green-100 text-green-800 px-2 py-1 rounded-full">Active</span>
</div>
<h3 class="font-medium mb-1">Location Data</h3>
<p class="text-xs text-gray-500 mb-3">Earning $0.45/day</p>
<div class="flex justify-between items-center text-xs">
<span class="text-gray-500">Accuracy: City-level</span>
<button class="text-indigo-600 font-medium">Edit</button>
</div>
</div>
<div class="data-card bg-white p-4 rounded-xl shadow-sm">
<div class="flex justify-between items-start mb-3">
<div class="bg-purple-100 p-2 rounded-lg">
<i class="fas fa-shopping-bag text-purple-600"></i>
</div>
<span class="text-xs bg-green-100 text-green-800 px-2 py-1 rounded-full">Active</span>
</div>
<h3 class="font-medium mb-1">Purchase History</h3>
<p class="text-xs text-gray-500 mb-3">Earning $0.35/day</p>
<div class="flex justify-between items-center text-xs">
<span class="text-gray-500">Categories only</span>
<button class="text-indigo-600 font-medium">Edit</button>
</div>
</div>
<div class="data-card bg-white p-4 rounded-xl shadow-sm">
<div class="flex justify-between items-start mb-3">
<div class="bg-amber-100 p-2 rounded-lg">
<i class="fas fa-globe text-amber-600"></i>
</div>
<span class="text-xs bg-gray-100 text-gray-800 px-2 py-1 rounded-full">Paused</span>
</div>
<h3 class="font-medium mb-1">Browsing Habits</h3>
<p class="text-xs text-gray-500 mb-3">Earn $0.55/day</p>
<div class="flex justify-between items-center text-xs">
<span class="text-gray-500">Domain-level only</span>
<button class="text-indigo-600 font-medium">Edit</button>
</div>
</div>
<div class="data-card bg-white p-4 rounded-xl shadow-sm">
<div class="flex justify-between items-start mb-3">
<div class="bg-pink-100 p-2 rounded-lg">
<i class="fas fa-heart text-pink-600"></i>
</div>
<span class="text-xs bg-gray-100 text-gray-800 px-2 py-1 rounded-full">Paused</span>
</div>
<h3 class="font-medium mb-1">Health & Fitness</h3>
<p class="text-xs text-gray-500 mb-3">Earn $0.40/day</p>
<div class="flex justify-between items-center text-xs">
<span class="text-gray-500">Activity data</span>
<button class="text-indigo-600 font-medium">Edit</button>
</div>
</div>
</div>
</div>
<!-- Streak & Rewards -->
<div class="mb-8">
<h2 class="text-lg font-semibold mb-4">Daily Streak & Rewards</h2>
<div class="bg-gradient-to-r from-indigo-500 to-purple-600 text-white rounded-xl p-6">
<div class="flex justify-between items-center mb-6">
<div>
<p class="text-sm opacity-90">Current Streak</p>
<p class="text-2xl font-bold">7 days</p>
</div>
<div class="text-right">
<p class="text-sm opacity-90">Bonus Earnings</p>
<p class="text-2xl font-bold">+15%</p>
</div>
</div>
<div class="flex justify-between mb-2">
<div class="text-center">
<div class="h-10 w-10 rounded-full bg-white bg-opacity-20 flex items-center justify-center mx-auto mb-1">
<span class="text-xs font-bold">M</span>
</div>
<span class="text-xs opacity-80">Day 1</span>
</div>
<div class="text-center">
<div class="h-10 w-10 rounded-full bg-white bg-opacity-20 flex items-center justify-center mx-auto mb-1">
<span class="text-xs font-bold">T</span>
</div>
<span class="text-xs opacity-80">Day 2</span>
</div>
<div class="text-center">
<div class="h-10 w-10 rounded-full bg-white bg-opacity-20 flex items-center justify-center mx-auto mb-1">
<span class="text-xs font-bold">W</span>
</div>
<span class="text-xs opacity-80">Day 3</span>
</div>
<div class="text-center">
<div class="h-10 w-10 rounded-full bg-white bg-opacity-20 flex items-center justify-center mx-auto mb-1">
<span class="text-xs font-bold">T</span>
</div>
<span class="text-xs opacity-80">Day 4</span>
</div>
<div class="text-center">
<div class="h-10 w-10 rounded-full bg-white bg-opacity-20 flex items-center justify-center mx-auto mb-1">
<span class="text-xs font-bold">F</span>
</div>
<span class="text-xs opacity-80">Day 5</span>
</div>
<div class="text-center">
<div class="h-10 w-10 rounded-full bg-white bg-opacity-30 flex items-center justify-center mx-auto mb-1">
<span class="text-xs font-bold">S</span>
</div>
<span class="text-xs opacity-80">Day 6</span>
</div>
<div class="text-center">
<div class="h-10 w-10 rounded-full bg-white flex items-center justify-center mx-auto mb-1 pulse">
<span class="text-xs font-bold text-indigo-600">S</span>
</div>
<span class="text-xs font-semibold">Day 7</span>
</div>
</div>
<p class="text-xs text-center opacity-90 mt-4">Complete today's streak to unlock 20% bonus!</p>
</div>
</div>
<!-- Business Data Sales -->
<div class="bg-white rounded-xl shadow-sm p-6 mb-8">
<div class="flex items-start mb-4">
<div class="bg-blue-100 p-3 rounded-full mr-4">
<i class="fas fa-chart-line text-blue-600"></i>
</div>
<div>
<h3 class="font-semibold">Business Data Sales</h3>
<p class="text-sm text-gray-500">Your share of data transactions</p>
</div>
</div>
<div class="flex justify-between items-center">
<div>
<p class="text-sm text-gray-500">This Month</p>
<p class="font-semibold text-indigo-600">$1,245.50</p>
</div>
<button class="bg-indigo-600 text-white px-4 py-2 rounded-lg font-medium">Withdraw Profits</button>
</div>
</div>
<!-- Quick Survey -->
<div class="bg-white rounded-xl shadow-sm p-6 mb-8">
<div class="flex items-start mb-4">
<div class="bg-yellow-100 p-3 rounded-full mr-4">
<i class="fas fa-poll text-yellow-600"></i>
</div>
<div>
<h3 class="font-semibold">Quick Survey Available</h3>
<p class="text-sm text-gray-500">5 min survey about shopping habits</p>
</div>
</div>
<div class="flex justify-between items-center">
<div>
<p class="text-sm text-gray-500">Reward</p>
<p class="font-semibold text-indigo-600">$1.50</p>
</div>
<button class="bg-indigo-600 text-white px-4 py-2 rounded-lg font-medium">Start Now</button>
</div>
</div>
<!-- Referral Program -->
<div class="bg-gradient-to-r from-cyan-500 to-blue-600 text-white rounded-xl p-6">
<div class="flex justify-between items-start mb-4">
<div>
<h3 class="font-semibold text-lg mb-1">Invite Friends</h3>
<p class="text-sm opacity-90">Earn 20% of their earnings forever</p>
</div>
<div class="bg-white bg-opacity-20 p-2 rounded-lg">
<i class="fas fa-gift"></i>
</div>
</div>
<div class="bg-white bg-opacity-10 backdrop-blur-sm rounded-lg p-4 mb-4">
<div class="flex justify-between items-center mb-2">
<span class="text-sm">Your referral code</span>
<button class="text-xs bg-white bg-opacity-20 px-2 py-1 rounded">Copy</button>
</div>
<p class="font-mono font-bold text-center">DATAPAY#FRIEND</p>
</div>
<button class="w-full bg-white text-indigo-600 py-3 rounded-lg font-semibold flex items-center justify-center">
<i class="fas fa-share-alt mr-2"></i> Share Invite
</button>
</div>
</main>
<!-- Bottom Navigation -->
<nav class="fixed bottom-0 left-0 right-0 bg-white border-t border-gray-200 flex justify-around py-3 px-6">
<button class="flex flex-col items-center text-indigo-600">
<i class="fas fa-home mb-1"></i>
<span class="text-xs">Home</span>
</button>
<button class="flex flex-col items-center text-gray-400">
<i class="fas fa-chart-line mb-1"></i>
<span class="text-xs">Insights</span>
</button>
<button class="flex flex-col items-center text-gray-400">
<i class="fas fa-gem mb-1"></i>
<span class="text-xs">Rewards</span>
</button>
<button class="flex flex-col items-center text-gray-400">
<i class="fas fa-user mb-1"></i>
<span class="text-xs">Profile</span>
</button>
</nav>
<script>
// Simple toggle functionality for data sharing cards
document.querySelectorAll('.data-card').forEach(card => {
card.addEventListener('click', function() {
const statusElement = this.querySelector('.text-xs:not(.text-gray-500)');
if (statusElement) {
if (statusElement.textContent.includes('Active')) {
statusElement.textContent = 'Paused';
statusElement.classList.remove('bg-green-100', 'text-green-800');
statusElement.classList.add('bg-gray-100', 'text-gray-800');
} else {
statusElement.textContent = 'Active';
statusElement.classList.remove('bg-gray-100', 'text-gray-800');
statusElement.classList.add('bg-green-100', 'text-green-800');
}
}
});
});
// Navigation tab switching
document.querySelectorAll('.nav-item').forEach(item => {
item.addEventListener('click', function() {
document.querySelectorAll('.nav-item').forEach(i => {
i.classList.remove('active', 'text-indigo-600');
i.classList.add('text-gray-400');
});
this.classList.add('active', 'text-indigo-600');
this.classList.remove('text-gray-400');
});
});
// Bottom navigation switching
document.querySelectorAll('nav.fixed button').forEach(btn => {
btn.addEventListener('click', function() {
document.querySelectorAll('nav.fixed button').forEach(b => {
b.classList.remove('text-indigo-600');
b.classList.add('text-gray-400');
});
this.classList.add('text-indigo-600');
this.classList.remove('text-gray-400');
});
});
</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=Savator8944/datapay" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>