File size: 16,941 Bytes
eea1d49 |
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 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>T-Bank Mobile</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 scrollbar */
::-webkit-scrollbar {
width: 4px;
}
::-webkit-scrollbar-track {
background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
background: #888;
border-radius: 2px;
}
::-webkit-scrollbar-thumb:hover {
background: #555;
}
/* Custom animations */
@keyframes fadeIn {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in {
animation: fadeIn 0.3s ease-out forwards;
}
/* Card gradient */
.card-gradient {
background: linear-gradient(135deg, #4f46e5 0%, #8b5cf6 100%);
}
/* Custom switch */
.switch {
position: relative;
display: inline-block;
width: 50px;
height: 24px;
}
.switch input {
opacity: 0;
width: 0;
height: 0;
}
.slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #ccc;
transition: .4s;
border-radius: 24px;
}
.slider:before {
position: absolute;
content: "";
height: 16px;
width: 16px;
left: 4px;
bottom: 4px;
background-color: white;
transition: .4s;
border-radius: 50%;
}
input:checked + .slider {
background-color: #4f46e5;
}
input:checked + .slider:before {
transform: translateX(26px);
}
</style>
</head>
<body class="bg-gray-100 font-sans antialiased">
<!-- Mobile App Container -->
<div class="relative max-w-md mx-auto h-screen bg-white overflow-hidden shadow-lg flex flex-col">
<!-- Header -->
<header class="bg-indigo-600 text-white p-4 flex justify-between items-center">
<div class="flex items-center space-x-2">
<div class="w-8 h-8 rounded-full bg-indigo-500 flex items-center justify-center">
<span class="text-xs font-bold">TB</span>
</div>
<h1 class="font-bold text-lg">T-Bank</h1>
</div>
<div class="flex items-center space-x-4">
<button class="text-white">
<i class="fas fa-bell"></i>
</button>
<button class="text-white">
<i class="fas fa-qrcode"></i>
</button>
</div>
</header>
<!-- Main Content -->
<main class="flex-1 overflow-y-auto pb-20">
<!-- Balance Card -->
<div class="card-gradient rounded-xl mx-4 mt-4 p-6 text-white shadow-lg animate-fade-in">
<div class="flex justify-between items-start">
<div>
<p class="text-sm opacity-80">Total Balance</p>
<h2 class="text-2xl font-bold mt-1">$12,456.78</h2>
</div>
<button class="bg-white bg-opacity-20 p-2 rounded-full">
<i class="fas fa-ellipsis-h"></i>
</button>
</div>
<div class="mt-6 flex justify-between items-center">
<div>
<p class="text-xs opacity-80">Card Number</p>
<p class="text-sm font-medium">•••• •••• •••• 4567</p>
</div>
<div class="w-10 h-6 bg-white bg-opacity-30 rounded flex items-center justify-center">
<span class="text-xs font-bold text-white">VISA</span>
</div>
</div>
</div>
<!-- Quick Actions -->
<div class="mx-4 mt-6 grid grid-cols-4 gap-4 animate-fade-in" style="animation-delay: 0.1s">
<button class="flex flex-col items-center justify-center p-3 bg-white rounded-xl shadow-sm hover:bg-gray-50 transition">
<div class="w-10 h-10 bg-indigo-100 rounded-full flex items-center justify-center text-indigo-600 mb-2">
<i class="fas fa-exchange-alt"></i>
</div>
<span class="text-xs font-medium">Transfer</span>
</button>
<button class="flex flex-col items-center justify-center p-3 bg-white rounded-xl shadow-sm hover:bg-gray-50 transition">
<div class="w-10 h-10 bg-green-100 rounded-full flex items-center justify-center text-green-600 mb-2">
<i class="fas fa-money-bill-wave"></i>
</div>
<span class="text-xs font-medium">Pay</span>
</button>
<button class="flex flex-col items-center justify-center p-3 bg-white rounded-xl shadow-sm hover:bg-gray-50 transition">
<div class="w-10 h-10 bg-blue-100 rounded-full flex items-center justify-center text-blue-600 mb-2">
<i class="fas fa-wallet"></i>
</div>
<span class="text-xs font-medium">Top Up</span>
</button>
<button class="flex flex-col items-center justify-center p-3 bg-white rounded-xl shadow-sm hover:bg-gray-50 transition">
<div class="w-10 h-10 bg-purple-100 rounded-full flex items-center justify-center text-purple-600 mb-2">
<i class="fas fa-chart-line"></i>
</div>
<span class="text-xs font-medium">Invest</span>
</button>
</div>
<!-- Recent Transactions -->
<div class="mx-4 mt-8 animate-fade-in" style="animation-delay: 0.2s">
<div class="flex justify-between items-center mb-4">
<h3 class="font-bold text-gray-800">Recent Transactions</h3>
<button class="text-indigo-600 text-sm font-medium">See All</button>
</div>
<div class="space-y-3">
<!-- Transaction 1 -->
<div class="bg-white p-3 rounded-xl flex items-center justify-between shadow-sm hover:shadow-md transition">
<div class="flex items-center space-x-3">
<div class="w-10 h-10 rounded-full bg-red-100 flex items-center justify-center text-red-500">
<i class="fas fa-shopping-bag"></i>
</div>
<div>
<p class="text-sm font-medium">Amazon Purchase</p>
<p class="text-xs text-gray-500">Today, 10:45 AM</p>
</div>
</div>
<div class="text-right">
<p class="text-sm font-medium text-red-500">-$45.99</p>
<p class="text-xs text-gray-500">Completed</p>
</div>
</div>
<!-- Transaction 2 -->
<div class="bg-white p-3 rounded-xl flex items-center justify-between shadow-sm hover:shadow-md transition">
<div class="flex items-center space-x-3">
<div class="w-10 h-10 rounded-full bg-green-100 flex items-center justify-center text-green-500">
<i class="fas fa-money-bill-wave"></i>
</div>
<div>
<p class="text-sm font-medium">Salary Deposit</p>
<p class="text-xs text-gray-500">Yesterday, 9:00 AM</p>
</div>
</div>
<div class="text-right">
<p class="text-sm font-medium text-green-500">+$3,250.00</p>
<p class="text-xs text-gray-500">Completed</p>
</div>
</div>
<!-- Transaction 3 -->
<div class="bg-white p-3 rounded-xl flex items-center justify-between shadow-sm hover:shadow-md transition">
<div class="flex items-center space-x-3">
<div class="w-10 h-10 rounded-full bg-blue-100 flex items-center justify-center text-blue-500">
<i class="fas fa-coffee"></i>
</div>
<div>
<p class="text-sm font-medium">Starbucks</p>
<p class="text-xs text-gray-500">Yesterday, 4:30 PM</p>
</div>
</div>
<div class="text-right">
<p class="text-sm font-medium text-red-500">-$6.75</p>
<p class="text-xs text-gray-500">Completed</p>
</div>
</div>
<!-- Transaction 4 -->
<div class="bg-white p-3 rounded-xl flex items-center justify-between shadow-sm hover:shadow-md transition">
<div class="flex items-center space-x-3">
<div class="w-10 h-10 rounded-full bg-purple-100 flex items-center justify-center text-purple-500">
<i class="fas fa-mobile-alt"></i>
</div>
<div>
<p class="text-sm font-medium">Phone Bill</p>
<p class="text-xs text-gray-500">May 15, 8:00 AM</p>
</div>
</div>
<div class="text-right">
<p class="text-sm font-medium text-red-500">-$89.99</p>
<p class="text-xs text-gray-500">Completed</p>
</div>
</div>
</div>
</div>
<!-- Savings Goals -->
<div class="mx-4 mt-8 animate-fade-in" style="animation-delay: 0.3s">
<div class="flex justify-between items-center mb-4">
<h3 class="font-bold text-gray-800">Savings Goals</h3>
<button class="text-indigo-600 text-sm font-medium">Add Goal</button>
</div>
<div class="bg-white p-4 rounded-xl shadow-sm">
<div class="flex items-center justify-between mb-3">
<div>
<p class="text-sm font-medium">Vacation Fund</p>
<p class="text-xs text-gray-500">Target: $5,000</p>
</div>
<p class="text-sm font-medium text-indigo-600">$3,200</p>
</div>
<div class="w-full bg-gray-200 rounded-full h-2">
<div class="bg-indigo-600 h-2 rounded-full" style="width: 64%"></div>
</div>
<div class="flex justify-between mt-1">
<span class="text-xs text-gray-500">64% completed</span>
<span class="text-xs text-gray-500">64 days left</span>
</div>
</div>
</div>
</main>
<!-- Bottom Navigation -->
<nav class="absolute bottom-0 left-0 right-0 bg-white border-t border-gray-200 flex justify-around py-3">
<button class="flex flex-col items-center text-indigo-600">
<i class="fas fa-home"></i>
<span class="text-xs mt-1">Home</span>
</button>
<button class="flex flex-col items-center text-gray-500">
<i class="fas fa-credit-card"></i>
<span class="text-xs mt-1">Cards</span>
</button>
<button class="flex flex-col items-center text-gray-500">
<i class="fas fa-chart-pie"></i>
<span class="text-xs mt-1">Stats</span>
</button>
<button class="flex flex-col items-center text-gray-500">
<i class="fas fa-cog"></i>
<span class="text-xs mt-1">Settings</span>
</button>
</nav>
</div>
<script>
// Simple animation on load
document.addEventListener('DOMContentLoaded', function() {
// Add ripple effect to buttons
document.querySelectorAll('button').forEach(button => {
button.addEventListener('click', function(e) {
// Only add ripple to certain buttons
if(this.classList.contains('flex-col') || this.classList.contains('bg-white')) {
const rect = this.getBoundingClientRect();
const x = e.clientX - rect.left;
const y = e.clientY - rect.top;
const ripple = document.createElement('span');
ripple.className = 'ripple';
ripple.style.left = `${x}px`;
ripple.style.top = `${y}px`;
this.appendChild(ripple);
setTimeout(() => {
ripple.remove();
}, 600);
}
});
});
// Simulate loading transactions
setTimeout(() => {
const transactions = document.querySelectorAll('.animate-fade-in');
transactions.forEach((el, index) => {
el.style.opacity = 1;
});
}, 100);
// Toggle dark mode (example functionality)
const darkModeToggle = document.createElement('div');
darkModeToggle.className = 'fixed top-4 right-4 z-50';
darkModeToggle.innerHTML = `
<label class="switch">
<input type="checkbox" id="darkModeToggle">
<span class="slider"></span>
</label>
`;
document.body.appendChild(darkModeToggle);
document.getElementById('darkModeToggle').addEventListener('change', function() {
document.body.classList.toggle('bg-gray-900');
document.querySelector('.max-w-md').classList.toggle('bg-gray-800');
document.querySelector('.max-w-md').classList.toggle('text-white');
// Toggle all text colors
document.querySelectorAll('.text-gray-800').forEach(el => {
el.classList.toggle('text-gray-200');
});
// Toggle card backgrounds
document.querySelectorAll('.bg-white').forEach(el => {
el.classList.toggle('bg-gray-700');
});
// Toggle transaction backgrounds
document.querySelectorAll('.bg-gray-100').forEach(el => {
el.classList.toggle('bg-gray-900');
});
});
});
</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=markburn/test2" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html> |