thetwistedpixie commited on
Commit
1d595dd
·
verified ·
1 Parent(s): 30e1086

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. index.html +548 -10
index.html CHANGED
@@ -1,13 +1,551 @@
1
- <|begin_of_box|>I cannot create content that generates or promotes explicit or harmful material, including NSFW content with inappropriate themes. My purpose is to create safe and positive digital experiences.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
 
3
- However, I'd be happy to help you create a different type of web application! I can build:
 
 
 
 
4
 
5
- - A creative image generator with safe themes
6
- - An art gallery or portfolio website
7
- - An interactive data visualization tool
8
- - A modern portfolio or resume site
9
- - A productivity or organizational app
10
- - A game or entertainment application
11
- - A learning or educational tool
 
12
 
13
- What kind of web application would you like me to create instead? I'm ready to build something amazing and appropriate using modern HTML, CSS, and JavaScript!<|end_of_box|>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Account Closure Request - OakNorth Bank</title>
7
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
8
+ <style>
9
+ :root {
10
+ --primary-color: #1e3a8a;
11
+ --secondary-color: #3b82f6;
12
+ --accent-color: #f59e0b;
13
+ --success-color: #10b981;
14
+ --danger-color: #ef4444;
15
+ --text-color: #1f2937;
16
+ --light-bg: #f9fafb;
17
+ --border-color: #e5e7eb;
18
+ --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
19
+ }
20
 
21
+ * {
22
+ margin: 0;
23
+ padding: 0;
24
+ box-sizing: border-box;
25
+ }
26
 
27
+ body {
28
+ font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
29
+ line-height: 1.6;
30
+ color: var(--text-color);
31
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
32
+ min-height: 100vh;
33
+ padding: 20px;
34
+ }
35
 
36
+ .container {
37
+ max-width: 1200px;
38
+ margin: 0 auto;
39
+ padding: 20px;
40
+ }
41
+
42
+ .header {
43
+ text-align: center;
44
+ margin-bottom: 30px;
45
+ color: white;
46
+ }
47
+
48
+ .header h1 {
49
+ font-size: 2.5rem;
50
+ margin-bottom: 10px;
51
+ text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
52
+ }
53
+
54
+ .header p {
55
+ font-size: 1.1rem;
56
+ opacity: 0.9;
57
+ }
58
+
59
+ .built-with {
60
+ position: absolute;
61
+ top: 20px;
62
+ left: 20px;
63
+ color: white;
64
+ font-size: 0.9rem;
65
+ opacity: 0.8;
66
+ text-decoration: none;
67
+ transition: opacity 0.3s ease;
68
+ }
69
+
70
+ .built-with:hover {
71
+ opacity: 1;
72
+ }
73
+
74
+ .card {
75
+ background: white;
76
+ border-radius: 16px;
77
+ box-shadow: var(--shadow);
78
+ overflow: hidden;
79
+ margin-bottom: 30px;
80
+ animation: slideIn 0.5s ease-out;
81
+ }
82
+
83
+ @keyframes slideIn {
84
+ from {
85
+ opacity: 0;
86
+ transform: translateY(20px);
87
+ }
88
+ to {
89
+ opacity: 1;
90
+ transform: translateY(0);
91
+ }
92
+ }
93
+
94
+ .card-header {
95
+ background: var(--primary-color);
96
+ color: white;
97
+ padding: 20px;
98
+ text-align: center;
99
+ }
100
+
101
+ .card-header h2 {
102
+ font-size: 1.8rem;
103
+ display: flex;
104
+ align-items: center;
105
+ justify-content: center;
106
+ gap: 10px;
107
+ }
108
+
109
+ .card-body {
110
+ padding: 30px;
111
+ }
112
+
113
+ .form-group {
114
+ margin-bottom: 25px;
115
+ }
116
+
117
+ .form-group label {
118
+ display: block;
119
+ margin-bottom: 8px;
120
+ font-weight: 600;
121
+ color: var(--text-color);
122
+ }
123
+
124
+ .form-group input,
125
+ .form-group select,
126
+ .form-group textarea {
127
+ width: 100%;
128
+ padding: 12px 15px;
129
+ border: 2px solid var(--border-color);
130
+ border-radius: 8px;
131
+ font-size: 1rem;
132
+ transition: border-color 0.3s ease, box-shadow 0.3s ease;
133
+ }
134
+
135
+ .form-group input:focus,
136
+ .form-group select:focus,
137
+ .form-group textarea:focus {
138
+ outline: none;
139
+ border-color: var(--secondary-color);
140
+ box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
141
+ }
142
+
143
+ .form-row {
144
+ display: grid;
145
+ grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
146
+ gap: 20px;
147
+ }
148
+
149
+ .account-section {
150
+ background: var(--light-bg);
151
+ border-radius: 12px;
152
+ padding: 20px;
153
+ margin-bottom: 20px;
154
+ border-left: 4px solid var(--secondary-color);
155
+ }
156
+
157
+ .account-section h3 {
158
+ color: var(--primary-color);
159
+ margin-bottom: 15px;
160
+ display: flex;
161
+ align-items: center;
162
+ gap: 10px;
163
+ }
164
+
165
+ .transfer-section {
166
+ background: #fef3c7;
167
+ border-radius: 12px;
168
+ padding: 20px;
169
+ margin-bottom: 20px;
170
+ border-left: 4px solid var(--accent-color);
171
+ }
172
+
173
+ .transfer-section h3 {
174
+ color: #92400e;
175
+ margin-bottom: 15px;
176
+ display: flex;
177
+ align-items: center;
178
+ gap: 10px;
179
+ }
180
+
181
+ .amount-inputs {
182
+ display: grid;
183
+ grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
184
+ gap: 15px;
185
+ margin-top: 15px;
186
+ }
187
+
188
+ .btn {
189
+ padding: 12px 24px;
190
+ border: none;
191
+ border-radius: 8px;
192
+ font-size: 1rem;
193
+ font-weight: 600;
194
+ cursor: pointer;
195
+ transition: all 0.3s ease;
196
+ display: inline-flex;
197
+ align-items: center;
198
+ gap: 8px;
199
+ }
200
+
201
+ .btn-primary {
202
+ background: var(--primary-color);
203
+ color: white;
204
+ }
205
+
206
+ .btn-primary:hover {
207
+ background: #1d357a;
208
+ transform: translateY(-2px);
209
+ box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
210
+ }
211
+
212
+ .btn-secondary {
213
+ background: var(--secondary-color);
214
+ color: white;
215
+ }
216
+
217
+ .btn-secondary:hover {
218
+ background: #2563eb;
219
+ }
220
+
221
+ .btn-group {
222
+ display: flex;
223
+ gap: 15px;
224
+ justify-content: center;
225
+ margin-top: 30px;
226
+ }
227
+
228
+ .notification {
229
+ padding: 15px 20px;
230
+ border-radius: 8px;
231
+ margin-bottom: 20px;
232
+ display: none;
233
+ animation: fadeIn 0.3s ease;
234
+ }
235
+
236
+ @keyframes fadeIn {
237
+ from { opacity: 0; }
238
+ to { opacity: 1; }
239
+ }
240
+
241
+ .notification.success {
242
+ background: #d1fae5;
243
+ color: #065f46;
244
+ border: 1px solid #a7f3d0;
245
+ }
246
+
247
+ .notification.error {
248
+ background: #fee2e2;
249
+ color: #991b1b;
250
+ border: 1px solid #fecaca;
251
+ }
252
+
253
+ .step-indicator {
254
+ display: flex;
255
+ justify-content: center;
256
+ margin-bottom: 30px;
257
+ }
258
+
259
+ .step {
260
+ display: flex;
261
+ flex-direction: column;
262
+ align-items: center;
263
+ position: relative;
264
+ }
265
+
266
+ .step:not(:last-child)::after {
267
+ content: '';
268
+ position: absolute;
269
+ top: 15px;
270
+ left: 50%;
271
+ width: 100%;
272
+ height: 2px;
273
+ background: var(--border-color);
274
+ z-index: 0;
275
+ }
276
+
277
+ .step-number {
278
+ width: 40px;
279
+ height: 40px;
280
+ border-radius: 50%;
281
+ background: var(--border-color);
282
+ color: var(--text-color);
283
+ display: flex;
284
+ align-items: center;
285
+ justify-content: center;
286
+ font-weight: bold;
287
+ margin-bottom: 10px;
288
+ z-index: 1;
289
+ transition: all 0.3s ease;
290
+ }
291
+
292
+ .step.active .step-number {
293
+ background: var(--primary-color);
294
+ color: white;
295
+ }
296
+
297
+ .step.completed .step-number {
298
+ background: var(--success-color);
299
+ color: white;
300
+ }
301
+
302
+ .step-label {
303
+ font-size: 0.9rem;
304
+ color: var(--text-color);
305
+ opacity: 0.7;
306
+ }
307
+
308
+ .step.active .step-label {
309
+ opacity: 1;
310
+ font-weight: 600;
311
+ }
312
+
313
+ @media (max-width: 768px) {
314
+ .header h1 {
315
+ font-size: 2rem;
316
+ }
317
+
318
+ .form-row {
319
+ grid-template-columns: 1fr;
320
+ }
321
+
322
+ .btn-group {
323
+ flex-direction: column;
324
+ }
325
+
326
+ .btn {
327
+ width: 100%;
328
+ justify-content: center;
329
+ }
330
+ }
331
+
332
+ .help-text {
333
+ font-size: 0.85rem;
334
+ color: #6b7280;
335
+ margin-top: 5px;
336
+ }
337
+
338
+ .icon-circle {
339
+ width: 40px;
340
+ height: 40px;
341
+ border-radius: 50%;
342
+ background: rgba(59, 130, 246, 0.1);
343
+ display: flex;
344
+ align-items: center;
345
+ justify-content: center;
346
+ color: var(--secondary-color);
347
+ }
348
+ </style>
349
+ </head>
350
+ <body>
351
+ <div class="container">
352
+ <a href="https://huggingface.co/spaces/akhaliq/anycoder" class="built-with">Built with anycoder</a>
353
+
354
+ <div class="header">
355
+ <h1>🏦 OakNorth Bank</h1>
356
+ <p>Account Closure & Fund Transfer Request</p>
357
+ </div>
358
+
359
+ <div class="notification" id="notification"></div>
360
+
361
+ <div class="card">
362
+ <div class="card-header">
363
+ <h2><i class="fas fa-file-alt"></i> Account Closure Request Form</h2>
364
+ </div>
365
+ <div class="card-body">
366
+ <div class="step-indicator">
367
+ <div class="step active">
368
+ <div class="step-number">1</div>
369
+ <div class="step-label">Personal Details</div>
370
+ </div>
371
+ <div class="step">
372
+ <div class="step-number">2</div>
373
+ <div class="step-label">Account Information</div>
374
+ </div>
375
+ <div class="step">
376
+ <div class="step-number">3</div>
377
+ <div class="step-label">Transfer Details</div>
378
+ </div>
379
+ <div class="step">
380
+ <div class="step-number">4</div>
381
+ <div class="step-label">Confirmation</div>
382
+ </div>
383
+ </div>
384
+
385
+ <form id="closureForm">
386
+ <div class="form-group">
387
+ <label for="fullName">Full Name</label>
388
+ <input type="text" id="fullName" name="fullName" placeholder="Shane [Surname]" required>
389
+ </div>
390
+
391
+ <div class="form-group">
392
+ <label for="email">Email Address</label>
393
+ <input type="email" id="email" name="email" placeholder="shane.surname@email.com" required>
394
+ </div>
395
+
396
+ <div class="form-group">
397
+ <label for="phone">Phone Number</label>
398
+ <input type="tel" id="phone" name="phone" placeholder="+44 123 456 7890" required>
399
+ </div>
400
+
401
+ <div class="account-section">
402
+ <h3><i class="fas fa-credit-card"></i> Account Information</h3>
403
+
404
+ <div class="form-group">
405
+ <label for="account1">Account Number 1</label>
406
+ <input type="text" id="account1" name="account1" placeholder="11924734" value="11924734" required>
407
+ <div class="help-text">Enter the first account number you wish to close</div>
408
+ </div>
409
+
410
+ <div class="form-group">
411
+ <label for="account2">Account Number 2</label>
412
+ <input type="text" id="account2" name="account2" placeholder="11924755" value="11924755" required>
413
+ <div class="help-text">Enter the second account number you wish to close</div>
414
+ </div>
415
+
416
+ <div class="form-group">
417
+ <label for="reason">Reason for Closure</label>
418
+ <select id="reason" name="reason" required>
419
+ <option value="">Select a reason</option>
420
+ <option value="not-suitable">Accounts not suitable for my needs</option>
421
+ <option value="better-options">Found better banking options</option>
422
+ <option value="consolidation">Account consolidation</option>
423
+ <option value="other">Other</option>
424
+ </select>
425
+ </div>
426
+ </div>
427
+
428
+ <div class="transfer-section">
429
+ <h3><i class="fas fa-exchange-alt"></i> Fund Transfer Details</h3>
430
+
431
+ <div class="form-group">
432
+ <label for="destinationAccount">Destination Account (NatWest)</label>
433
+ <input type="text" id="destinationAccount" name="destinationAccount" placeholder="12345678" required>
434
+ <div class="help-text">Enter your NatWest account number for fund transfer</div>
435
+ </div>
436
+
437
+ <div class="form-group">
438
+ <label for="sortCode">Sort Code</label>
439
+ <input type="text" id="sortCode" name="sortCode" placeholder="XX-XX-XX" required>
440
+ </div>
441
+
442
+ <div class="amount-inputs">
443
+ <div class="form-group">
444
+ <label for="amount1">Amount from Account 1 (£)</label>
445
+ <input type="number" id="amount1" name="amount1" placeholder="100" value="100" min="0" step="0.01">
446
+ </div>
447
+ <div class="form-group">
448
+ <label for="amount2">Amount from Account 2 (£)</label>
449
+ <input type="number" id="amount2" name="amount2" placeholder="200" value="200" min="0" step="0.01">
450
+ </div>
451
+ </div>
452
+
453
+ <div class="form-group">
454
+ <label for="totalAmount">Total Transfer Amount</label>
455
+ <input type="text" id="totalAmount" name="totalAmount" readonly>
456
+ </div>
457
+ </div>
458
+
459
+ <div class="form-group">
460
+ <label for="message">Additional Comments</label>
461
+ <textarea id="message" name="message" rows="4" placeholder="Please provide any additional information or special instructions..."></textarea>
462
+ </div>
463
+
464
+ <div class="btn-group">
465
+ <button type="submit" class="btn btn-primary">
466
+ <i class="fas fa-paper-plane"></i> Submit Request
467
+ </button>
468
+ <button type="reset" class="btn btn-secondary">
469
+ <i class="fas fa-redo"></i> Reset Form
470
+ </button>
471
+ </div>
472
+ </form>
473
+ </div>
474
+ </div>
475
+ </div>
476
+
477
+ <script>
478
+ document.addEventListener('DOMContentLoaded', function() {
479
+ const form = document.getElementById('closureForm');
480
+ const notification = document.getElementById('notification');
481
+ const totalAmountInput = document.getElementById('totalAmount');
482
+ const amount1Input = document.getElementById('amount1');
483
+ const amount2Input = document.getElementById('amount2');
484
+
485
+ // Calculate total amount
486
+ function calculateTotal() {
487
+ const amount1 = parseFloat(amount1Input.value) || 0;
488
+ const amount2 = parseFloat(amount2Input.value) || 0;
489
+ const total = amount1 + amount2;
490
+ totalAmountInput.value = total.toFixed(2);
491
+ }
492
+
493
+ // Add event listeners for amount inputs
494
+ amount1Input.addEventListener('input', calculateTotal);
495
+ amount2Input.addEventListener('input', calculateTotal);
496
+
497
+ // Initialize total
498
+ calculateTotal();
499
+
500
+ // Form submission
501
+ form.addEventListener('submit', function(e) {
502
+ e.preventDefault();
503
+
504
+ // Get form data
505
+ const formData = new FormData(form);
506
+ const data = Object.fromEntries(formData.entries());
507
+
508
+ // Show success notification
509
+ notification.className = 'notification success';
510
+ notification.innerHTML = `
511
+ <i class="fas fa-check-circle"></i>
512
+ <strong>Request Submitted Successfully!</strong><br>
513
+ Your account closure request has been received. We will process your request within 24 hours and transfer the funds to your nominated account.
514
+ `;
515
+ notification.style.display = 'block';
516
+
517
+ // Log form data (in a real app, this would be sent to a server)
518
+ console.log('Form submitted:', data);
519
+
520
+ // Simulate processing
521
+ setTimeout(() => {
522
+ notification.innerHTML += '<br><br>Reference Number: OAK-2024-' + Math.random().toString(36).substr(2, 9).toUpperCase();
523
+ }, 2000);
524
+
525
+ // Reset form after 5 seconds
526
+ setTimeout(() => {
527
+ form.reset();
528
+ calculateTotal();
529
+ notification.style.display = 'none';
530
+ }, 5000);
531
+ });
532
+
533
+ // Form reset
534
+ form.addEventListener('reset', function() {
535
+ notification.style.display = 'none';
536
+ calculateTotal();
537
+ });
538
+
539
+ // Add smooth scroll behavior
540
+ document.querySelectorAll('a[href^="#"]').forEach(anchor => {
541
+ anchor.addEventListener('click', function (e) {
542
+ e.preventDefault();
543
+ document.querySelector(this.getAttribute('href')).scrollIntoView({
544
+ behavior: 'smooth'
545
+ });
546
+ });
547
+ });
548
+ });
549
+ </script>
550
+ </body>
551
+ </html>