Spaces:
Running
Running
Download banking.html from SamuraiGhost/first: direct link, hf CLI and curl.
- Browser
- Download file 8.14 kB
-
https://huggingface.co/spaces/SamuraiGhost/first/resolve/main/banking.html
- Command line
-
hf download hf://spaces/SamuraiGhost/first/banking.html
-
curl -L -o banking.html https://huggingface.co/spaces/SamuraiGhost/first/resolve/main/banking.html
8.14 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Online Banking</title> | |
| <link rel="stylesheet" href="style.css"> | |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css"> | |
| <style> | |
| :root { | |
| --primary-color: #0056b3; | |
| --secondary-color: #003366; | |
| --accent-color: #007bff; | |
| --light-gray: #f8f9fa; | |
| --dark-gray: #343a40; | |
| } | |
| body { | |
| font-family: 'Roboto', 'Helvetica Neue', Arial, sans-serif; | |
| background-color: var(--light-gray); | |
| margin: 0; | |
| padding: 0; | |
| color: #333; | |
| line-height: 1.6; | |
| } | |
| .banking-header { | |
| background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); | |
| color: white; | |
| padding: 25px 20px; | |
| text-align: center; | |
| box-shadow: 0 2px 10px rgba(0,0,0,0.1); | |
| } | |
| .banking-header h1 { | |
| margin: 0; | |
| font-weight: 500; | |
| font-size: 2.2rem; | |
| } | |
| .container { | |
| max-width: 1200px; | |
| margin: 30px auto; | |
| padding: 0 20px; | |
| } | |
| .account-summary { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); | |
| gap: 20px; | |
| margin-bottom: 30px; | |
| } | |
| .account-card { | |
| background: white; | |
| border-radius: 8px; | |
| padding: 25px; | |
| box-shadow: 0 4px 12px rgba(0,0,0,0.05); | |
| transition: transform 0.3s ease, box-shadow 0.3s ease; | |
| border-top: 4px solid var(--accent-color); | |
| } | |
| .account-card:hover { | |
| transform: translateY(-5px); | |
| box-shadow: 0 6px 16px rgba(0,0,0,0.1); | |
| } | |
| .account-card h3 { | |
| color: var(--dark-gray); | |
| margin-top: 0; | |
| font-weight: 500; | |
| } | |
| .account-card p { | |
| margin: 8px 0; | |
| color: #666; | |
| } | |
| .account-card .balance { | |
| font-size: 1.5rem; | |
| font-weight: 500; | |
| color: var(--primary-color); | |
| } | |
| .quick-actions { | |
| display: flex; | |
| justify-content: center; | |
| gap: 15px; | |
| margin: 30px 0; | |
| flex-wrap: wrap; | |
| } | |
| .action-btn { | |
| background: linear-gradient(135deg, var(--primary-color), var(--accent-color)); | |
| color: white; | |
| border: none; | |
| padding: 12px 24px; | |
| border-radius: 6px; | |
| cursor: pointer; | |
| font-size: 1rem; | |
| font-weight: 500; | |
| transition: all 0.3s ease; | |
| display: flex; | |
| align-items: center; | |
| gap: 8px; | |
| box-shadow: 0 2px 5px rgba(0,0,0,0.1); | |
| } | |
| .action-btn:hover { | |
| transform: translateY(-2px); | |
| box-shadow: 0 4px 8px rgba(0,0,0,0.15); | |
| } | |
| .action-btn i { | |
| font-size: 1.1rem; | |
| } | |
| .transaction-history { | |
| background: white; | |
| border-radius: 8px; | |
| box-shadow: 0 4px 12px rgba(0,0,0,0.05); | |
| padding: 25px; | |
| margin-bottom: 30px; | |
| } | |
| .transaction-history h2 { | |
| margin-top: 0; | |
| color: var(--dark-gray); | |
| font-weight: 500; | |
| padding-bottom: 15px; | |
| border-bottom: 1px solid #eee; | |
| } | |
| table { | |
| width: 100%; | |
| border-collapse: collapse; | |
| } | |
| th { | |
| background-color: var(--light-gray); | |
| color: var(--dark-gray); | |
| font-weight: 500; | |
| padding: 15px; | |
| text-align: left; | |
| } | |
| td { | |
| padding: 15px; | |
| border-bottom: 1px solid #eee; | |
| color: #555; | |
| } | |
| tr:hover { | |
| background-color: rgba(0,86,179,0.03); | |
| } | |
| .positive { | |
| color: #28a745; | |
| font-weight: 500; | |
| } | |
| .negative { | |
| color: #dc3545; | |
| font-weight: 500; | |
| } | |
| .status { | |
| padding: 5px 10px; | |
| border-radius: 4px; | |
| font-size: 0.85rem; | |
| font-weight: 500; | |
| } | |
| .status.completed { | |
| background-color: rgba(40,167,69,0.1); | |
| color: #28a745; | |
| } | |
| </style> | |
| </head> | |
| <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap" rel="stylesheet"> | |
| <body> | |
| <div class="banking-header"> | |
| <h1><i class="fas fa-university"></i> Premier Banking</h1> | |
| <p>Welcome back, John Doe | <a href="login.html" style="color: white; text-decoration: underline;">Logout</a></p> | |
| </div> | |
| <div class="container"> | |
| <div class="account-summary"> | |
| <div class="account-card"> | |
| <h3>Checking Account</h3> | |
| <p class="balance">$5,432.10</p> | |
| <p><i class="fas fa-wallet"></i> •••• 4567</p> | |
| <p><small>Available balance: $5,432.10</small></p> | |
| </div> | |
| <div class="account-card"> | |
| <h3>Savings Account</h3> | |
| <p class="balance">$12,345.67</p> | |
| <p><i class="fas fa-piggy-bank"></i> •••• 8910</p> | |
| <p><small>APY: 0.50%</small></p> | |
| </div> | |
| <div class="account-card"> | |
| <h3>Credit Card</h3> | |
| <p class="balance">$1,234.56</p> | |
| <p><i class="fas fa-credit-card"></i> •••• 3456</p> | |
| <p><small>Available credit: $5,000.00</small></p> | |
| </div> | |
| </div> | |
| <div class="quick-actions"> | |
| <button class="action-btn" onclick="alert('Transfer Funds feature coming soon!')"><i class="fas fa-exchange-alt"></i> Transfer Funds</button> | |
| <button class="action-btn" onclick="alert('Bill Pay feature coming soon!')"><i class="fas fa-money-bill-wave"></i> Pay Bills</button> | |
| <button class="action-btn" onclick="alert('Mobile Deposit feature coming soon!')"><i class="fas fa-piggy-bank"></i> Make Deposit</button> | |
| <button class="action-btn" onclick="alert('Investment Portal coming soon!')"><i class="fas fa-chart-line"></i> Investments</button> | |
| </div> | |
| <div class="transaction-history"> | |
| <h2>Recent Transactions</h2> | |
| <table> | |
| <tr> | |
| <th>Date</th> | |
| <th>Description</th> | |
| <th>Amount</th> | |
| <th>Status</th> | |
| </tr> | |
| <tr> | |
| <td>May 15, 2023</td> | |
| <td>Whole Foods Market</td> | |
| <td class="negative">-$125.34</td> | |
| <td><span class="status completed">Completed</span></td> | |
| </tr> | |
| <tr> | |
| <td>May 14, 2023</td> | |
| <td>ACME Corporation - Salary</td> | |
| <td class="positive">+$3,500.00</td> | |
| <td><span class="status completed">Completed</span></td> | |
| </tr> | |
| <tr> | |
| <td>May 12, 2023</td> | |
| <td>Pacific Gas & Electric</td> | |
| <td class="negative">-$85.67</td> | |
| <td><span class="status completed">Completed</span></td> | |
| </tr> | |
| <tr> | |
| <td>May 10, 2023</td> | |
| <td>Netflix Subscription</td> | |
| <td class="negative">-$14.99</td> | |
| <td><span class="status completed">Completed</span></td> | |
| </tr> | |
| <tr> | |
| <td>May 8, 2023</td> | |
| <td>Starbucks Coffee</td> | |
| <td class="negative">-$6.75</td> | |
| <td><span class="status completed">Completed</span></td> | |
| </tr> | |
| </table> | |
| </div> | |
| </div> <!-- Close container div --> | |
| </body> | |
| </html> |