Files
sniph-bank/website/account.html
foreverpyrite 8ae9920af4 Added a little explaination to the HTML as well.
Sorry if you're looking to understand the TailwindCSS and DaisyUI.
There's plenty of guides and documentation out there lol.

I'm probably done with this.
Unless I need to do unprivilged stuff.
2025-12-02 20:16:19 -05:00

149 lines
5.0 KiB
HTML

<!DOCTYPE html>
<!-- There isn't really anything special about this page: everything is just being rendered as is. -->
<!-- This page is entirely static, and ChatGPT highkey did most of the work here. I just made minor adjustments. -->
<!-- Feel free to change words around and refresh the page if you wanna see how that works. -->
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Account Dashboard - Sniph Bank</title>
<link href="./css/style.css" rel="stylesheet">
</head>
<body class="bg-base-200 min-h-[100vh] min-w-[100vw]">
<!-- Navigation Bar -->
<header class="navbar bg-base-100 shadow-lg">
<div class="flex-1">
<a class="btn btn-ghost text-2xl text-primary">Sniph Bank</a>
</div>
<div class="flex-none gap-2">
<div class="text-right hidden sm:block">
<p class="font-bold">Welcome, Jacob Ronalds</p>
<p class="text-xs">Last login: Today at 10:45 AM</p>
</div>
<div class="dropdown dropdown-end">
<ul tabindex="0" class="mt-3 z-[1] p-2 shadow menu menu-sm dropdown-content bg-base-100 rounded-box w-52">
<li><a class="justify-between">Profile</a></li>
<li><a>Settings</a></li>
<li><a>Logout</a></li>
</ul>
</div>
</div>
</header>
<!-- Main Content Area -->
<main class="p-4 md:p-8">
<div class="container mx-auto grid grid-cols-1 lg:grid-cols-3 gap-8">
<!-- Left Column: Account Summary -->
<div class="lg:col-span-2 space-y-8">
<!-- Balance Summary Card -->
<div class="card bg-base-100 shadow-xl">
<div class="card-body">
<h2 class="card-title text-xl">Account Summary</h2>
<div class="stats stats-vertical md:stats-horizontal shadow w-full">
<div class="stat">
<div class="stat-title">Checking Balance</div>
<div class="stat-value text-success">$8,321.45</div>
<div class="stat-desc">Acct: ****6789</div>
</div>
<div class="stat">
<div class="stat-title">Savings Balance</div>
<div class="stat-value text-info">$22,150.10</div>
<div class="stat-desc">Acct: ****4321</div>
</div>
<div class="stat">
<div class="stat-title">Credit Card Due</div>
<div class="stat-value text-error">-$789.99</div>
<div class="stat-desc">Due in 15 days</div>
</div>
</div>
<div class="card-actions justify-end mt-4">
<button class="btn btn-primary">Transfer Funds</button>
<button class="btn">Pay Bills</button>
</div>
</div>
</div>
<!-- Recent Transactions Card -->
<div class="card bg-base-100 shadow-xl">
<div class="card-body">
<h2 class="card-title text-xl">Recent Transactions</h2>
<div class="overflow-x-auto">
<table class="table">
<thead>
<tr>
<th>Date</th>
<th>Description</th>
<th class="text-right">Amount</th>
</tr>
</thead>
<tbody>
<!-- Transaction Row 1 -->
<tr>
<td>Oct 26, 2023</td>
<td>Direct Deposit - ACME CORP</td>
<td class="text-right text-success font-bold">+$2,500.00</td>
</tr>
<!-- Transaction Row 2 -->
<tr>
<td>Oct 25, 2023</td>
<td>Online Purchase - Scamazon.com</td>
<td class="text-right text-error">-$124.50</td>
</tr>
<!-- Transaction Row 3 -->
<tr>
<td>Oct 24, 2023</td>
<td>Ether Grocery</td>
<td class="text-right text-error">-$88.12</td>
</tr>
<!-- Transaction Row 4 -->
<tr>
<td>Oct 22, 2023</td>
<td>ATM Withdrawal - Downtown</td>
<td class="text-right text-error">-$100.00</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<!-- Right Column: Sensitive Information -->
<div class="space-y-8">
<div class="card bg-base-100 shadow-xl">
<div class="card-body">
<h2 class="card-title text-xl">Personal & Account Details</h2>
<p class="text-warning text-sm">This information is highly sensitive.</p>
<div class="mt-4 space-y-2">
<p><strong>Full Name:</strong>
Jacob L. Ronalds
<p><strong>Address:</strong>
123 Phishing Lane, Anytown, USA 12345</p>
<p><strong>Phone:</strong>
(555) 123-4567</p>
<p><strong>SSN:</strong>
<span class="kbd kbd-sm font-mono">***-**-6789</span></p>
</div>
<div class="divider">Account Numbers</div>
<div class="space-y-2">
<p><strong>Checking Acct #:</strong>
<span class="kbd kbd-sm font-mono">123456789</span></p>
<p><strong>Savings Acct #:</strong>
<span class="kbd kbd-sm font-mono">987654321</span></p>
<p><strong>Routing #:</strong>
<span class="kbd kbd-sm font-mono">021000021</span></p>
</div>
</div>
</div>
</div>
</div>
</main>
</body>
</html>