Service-Xi commited on
Commit
0f25b53
·
verified ·
1 Parent(s): 26336a0

Upload 2 files

Browse files
Files changed (1) hide show
  1. index.html +716 -19
index.html CHANGED
@@ -1,19 +1,716 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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>TrustNet Bank - Multi-Currency Banking</title>
7
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
8
+ <style>
9
+ * {
10
+ margin: 0;
11
+ padding: 0;
12
+ box-sizing: border-box;
13
+ font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
14
+ }
15
+
16
+ body {
17
+ background: linear-gradient(135deg, #1a2a6c, #b21f1f, #1a2a6c);
18
+ color: #333;
19
+ min-height: 100vh;
20
+ padding: 20px;
21
+ position: relative;
22
+ overflow-x: hidden;
23
+ }
24
+
25
+ body:before {
26
+ content: "";
27
+ position: absolute;
28
+ top: 0;
29
+ left: 0;
30
+ right: 0;
31
+ bottom: 0;
32
+ background:
33
+ radial-gradient(circle at 10% 20%, rgba(255,255,255,0.1) 0%, transparent 20%),
34
+ radial-gradient(circle at 90% 80%, rgba(255,255,255,0.1) 0%, transparent 20%);
35
+ pointer-events: none;
36
+ }
37
+
38
+ .container {
39
+ max-width: 500px;
40
+ margin: 0 auto;
41
+ background: rgba(255, 255, 255, 0.92);
42
+ border-radius: 20px;
43
+ overflow: hidden;
44
+ box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
45
+ backdrop-filter: blur(10px);
46
+ border: 1px solid rgba(255, 255, 255, 0.3);
47
+ }
48
+
49
+ /* Header Styles */
50
+ .header {
51
+ background: linear-gradient(135deg, #0a3e80 0%, #1e5aa8 100%);
52
+ color: white;
53
+ padding: 25px 20px;
54
+ text-align: center;
55
+ position: relative;
56
+ overflow: hidden;
57
+ }
58
+
59
+ .header:before {
60
+ content: "";
61
+ position: absolute;
62
+ top: 0;
63
+ left: 0;
64
+ right: 0;
65
+ bottom: 0;
66
+ background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.1) 0%, transparent 40%);
67
+ }
68
+
69
+ .logo {
70
+ display: flex;
71
+ align-items: center;
72
+ justify-content: center;
73
+ gap: 15px;
74
+ margin-bottom: 15px;
75
+ }
76
+
77
+ .logo i {
78
+ font-size: 40px;
79
+ color: #fff;
80
+ background: rgba(255,255,255,0.2);
81
+ width: 70px;
82
+ height: 70px;
83
+ border-radius: 50%;
84
+ display: flex;
85
+ align-items: center;
86
+ justify-content: center;
87
+ }
88
+
89
+ .logo h1 {
90
+ font-size: 32px;
91
+ font-weight: 700;
92
+ text-shadow: 0 2px 4px rgba(0,0,0,0.3);
93
+ }
94
+
95
+ .tagline {
96
+ font-size: 18px;
97
+ opacity: 0.9;
98
+ max-width: 400px;
99
+ margin: 0 auto;
100
+ }
101
+
102
+ /* Features Section */
103
+ .features {
104
+ display: grid;
105
+ grid-template-columns: repeat(2, 1fr);
106
+ gap: 15px;
107
+ padding: 25px 20px;
108
+ }
109
+
110
+ .feature-card {
111
+ background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
112
+ border-radius: 15px;
113
+ padding: 20px;
114
+ text-align: center;
115
+ box-shadow: 0 5px 15px rgba(0,0,0,0.08);
116
+ transition: all 0.3s ease;
117
+ border: 1px solid rgba(10, 62, 128, 0.1);
118
+ }
119
+
120
+ .feature-card:hover {
121
+ transform: translateY(-8px);
122
+ box-shadow: 0 12px 25px rgba(10, 62, 128, 0.15);
123
+ }
124
+
125
+ .feature-icon {
126
+ font-size: 32px;
127
+ margin-bottom: 15px;
128
+ color: #0a3e80;
129
+ }
130
+
131
+ .feature-card h3 {
132
+ margin: 0 0 10px 0;
133
+ color: #0a3e80;
134
+ font-weight: 600;
135
+ }
136
+
137
+ .feature-card p {
138
+ margin: 0;
139
+ font-size: 14px;
140
+ color: #666;
141
+ line-height: 1.4;
142
+ }
143
+
144
+ /* Balance Section */
145
+ .balance-section {
146
+ background: linear-gradient(135deg, #0a3e80 0%, #1e5aa8 100%);
147
+ color: white;
148
+ padding: 25px;
149
+ border-radius: 15px;
150
+ margin: 0 20px 20px;
151
+ text-align: center;
152
+ box-shadow: 0 8px 25px rgba(10, 62, 128, 0.3);
153
+ }
154
+
155
+ .balance-label {
156
+ font-size: 18px;
157
+ opacity: 0.9;
158
+ margin-bottom: 10px;
159
+ }
160
+
161
+ .balance-amount {
162
+ font-size: 42px;
163
+ font-weight: 700;
164
+ margin: 10px 0 20px;
165
+ text-shadow: 0 2px 4px rgba(0,0,0,0.3);
166
+ }
167
+
168
+ .balance-actions {
169
+ display: flex;
170
+ gap: 12px;
171
+ margin-top: 15px;
172
+ }
173
+
174
+ .balance-btn {
175
+ flex: 1;
176
+ background: rgba(255,255,255,0.2);
177
+ border: 2px solid rgba(255,255,255,0.3);
178
+ color: white;
179
+ padding: 12px;
180
+ border-radius: 10px;
181
+ cursor: pointer;
182
+ font-weight: 600;
183
+ transition: all 0.3s ease;
184
+ font-size: 14px;
185
+ }
186
+
187
+ .balance-btn:hover {
188
+ background: rgba(255,255,255,0.3);
189
+ transform: translateY(-3px);
190
+ }
191
+
192
+ /* Transfer Section */
193
+ .transfer-section {
194
+ padding: 0 20px 20px;
195
+ }
196
+
197
+ .section-title {
198
+ text-align: center;
199
+ color: #0a3e80;
200
+ margin-bottom: 20px;
201
+ font-size: 24px;
202
+ position: relative;
203
+ padding-bottom: 10px;
204
+ }
205
+
206
+ .section-title:after {
207
+ content: "";
208
+ position: absolute;
209
+ bottom: 0;
210
+ left: 50%;
211
+ transform: translateX(-50%);
212
+ width: 80px;
213
+ height: 4px;
214
+ background: linear-gradient(90deg, #0a3e80, #2d6bb8);
215
+ border-radius: 2px;
216
+ }
217
+
218
+ .form-group {
219
+ margin-bottom: 20px;
220
+ }
221
+
222
+ .form-group label {
223
+ display: block;
224
+ margin-bottom: 8px;
225
+ font-weight: 600;
226
+ color: #0a3e80;
227
+ font-size: 15px;
228
+ }
229
+
230
+ input, select {
231
+ width: 100%;
232
+ padding: 14px 16px;
233
+ border: 2px solid #e2e8f0;
234
+ border-radius: 10px;
235
+ font-size: 16px;
236
+ transition: all 0.3s ease;
237
+ }
238
+
239
+ input:focus, select:focus {
240
+ outline: none;
241
+ border-color: #0a3e80;
242
+ box-shadow: 0 0 0 3px rgba(10, 62, 128, 0.1);
243
+ }
244
+
245
+ .currency-grid {
246
+ display: grid;
247
+ grid-template-columns: repeat(4, 1fr);
248
+ gap: 10px;
249
+ max-height: 200px;
250
+ overflow-y: auto;
251
+ padding: 10px;
252
+ border: 1px solid #e2e8f0;
253
+ border-radius: 10px;
254
+ }
255
+
256
+ .currency-option {
257
+ padding: 10px;
258
+ border: 1px solid #e2e8f0;
259
+ border-radius: 8px;
260
+ text-align: center;
261
+ cursor: pointer;
262
+ transition: all 0.2s ease;
263
+ }
264
+
265
+ .currency-option:hover {
266
+ background-color: #f0f8ff;
267
+ border-color: #0a3e80;
268
+ }
269
+
270
+ .currency-option.selected {
271
+ background-color: #0a3e80;
272
+ color: white;
273
+ border-color: #0a3e80;
274
+ }
275
+
276
+ .alert-options {
277
+ display: grid;
278
+ grid-template-columns: repeat(2, 1fr);
279
+ gap: 10px;
280
+ }
281
+
282
+ .alert-option {
283
+ padding: 12px;
284
+ border: 2px solid #e2e8f0;
285
+ border-radius: 10px;
286
+ text-align: center;
287
+ cursor: pointer;
288
+ transition: all 0.2s ease;
289
+ background: white;
290
+ }
291
+
292
+ .alert-option:hover {
293
+ background-color: #fff8e1;
294
+ border-color: #ffc107;
295
+ }
296
+
297
+ .alert-option.selected {
298
+ background-color: #fff8e1;
299
+ border-color: #ffc107;
300
+ font-weight: 600;
301
+ }
302
+
303
+ .submit-btn {
304
+ background: linear-gradient(135deg, #0a3e80 0%, #1e5aa8 100%);
305
+ color: white;
306
+ border: none;
307
+ padding: 16px;
308
+ border-radius: 10px;
309
+ font-size: 18px;
310
+ font-weight: 600;
311
+ cursor: pointer;
312
+ transition: all 0.3s ease;
313
+ margin-top: 10px;
314
+ width: 100%;
315
+ box-shadow: 0 5px 15px rgba(10, 62, 128, 0.3);
316
+ }
317
+
318
+ .submit-btn:hover {
319
+ transform: translateY(-3px);
320
+ box-shadow: 0 8px 20px rgba(10, 62, 128, 0.4);
321
+ }
322
+
323
+ .submit-btn:active {
324
+ transform: translateY(1px);
325
+ }
326
+
327
+ .warning {
328
+ background: linear-gradient(135deg, #fff3cd 0%, #ffeeba 100%);
329
+ border: 1px solid #ffc107;
330
+ border-radius: 10px;
331
+ color: #856404;
332
+ padding: 15px;
333
+ margin-top: 20px;
334
+ text-align: center;
335
+ font-size: 14px;
336
+ font-weight: 500;
337
+ }
338
+
339
+ /* WhatsApp Group Section */
340
+ .whatsapp-section {
341
+ background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
342
+ color: white;
343
+ padding: 25px 20px;
344
+ text-align: center;
345
+ margin: 20px;
346
+ border-radius: 15px;
347
+ position: relative;
348
+ overflow: hidden;
349
+ box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
350
+ }
351
+
352
+ .whatsapp-section:before {
353
+ content: "";
354
+ position: absolute;
355
+ top: 0;
356
+ left: 0;
357
+ right: 0;
358
+ bottom: 0;
359
+ background: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.2) 0%, transparent 40%);
360
+ }
361
+
362
+ .whatsapp-section h3 {
363
+ margin: 0 0 15px 0;
364
+ font-size: 24px;
365
+ display: flex;
366
+ align-items: center;
367
+ justify-content: center;
368
+ gap: 10px;
369
+ position: relative;
370
+ }
371
+
372
+ .whatsapp-section p {
373
+ font-size: 17px;
374
+ margin-bottom: 20px;
375
+ position: relative;
376
+ max-width: 400px;
377
+ margin-left: auto;
378
+ margin-right: auto;
379
+ }
380
+
381
+ .whatsapp-btn {
382
+ background: white;
383
+ color: #25D366;
384
+ padding: 16px 40px;
385
+ border-radius: 50px;
386
+ font-weight: 700;
387
+ text-decoration: none;
388
+ display: inline-block;
389
+ box-shadow: 0 5px 15px rgba(0,0,0,0.2);
390
+ transition: all 0.3s ease;
391
+ position: relative;
392
+ font-size: 18px;
393
+ border: none;
394
+ cursor: pointer;
395
+ }
396
+
397
+ .whatsapp-btn:hover {
398
+ transform: translateY(-3px);
399
+ box-shadow: 0 8px 25px rgba(0,0,0,0.3);
400
+ }
401
+
402
+ /* Currencies Section */
403
+ .currencies-section {
404
+ background: linear-gradient(135deg, #f8fafc 0%, #e8ecf0 100%);
405
+ border-radius: 15px;
406
+ padding: 20px;
407
+ margin: 0 20px 20px;
408
+ box-shadow: 0 4px 15px rgba(0,0,0,0.08);
409
+ }
410
+
411
+ .currencies-grid {
412
+ display: grid;
413
+ grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
414
+ gap: 10px;
415
+ margin-top: 15px;
416
+ max-height: 200px;
417
+ overflow-y: auto;
418
+ padding: 10px;
419
+ }
420
+
421
+ .currency-item {
422
+ padding: 10px;
423
+ border: 1px solid #e2e8f0;
424
+ border-radius: 8px;
425
+ text-align: center;
426
+ background: white;
427
+ transition: all 0.2s ease;
428
+ }
429
+
430
+ .currency-item:hover {
431
+ transform: translateY(-3px);
432
+ box-shadow: 0 4px 8px rgba(0,0,0,0.1);
433
+ border-color: #0a3e80;
434
+ }
435
+
436
+ /* Footer */
437
+ .footer {
438
+ text-align: center;
439
+ padding: 20px;
440
+ color: #666;
441
+ font-size: 14px;
442
+ border-top: 1px solid #eee;
443
+ }
444
+
445
+ /* Responsive Design */
446
+ @media (max-width: 600px) {
447
+ .features {
448
+ grid-template-columns: 1fr;
449
+ }
450
+
451
+ .currency-grid {
452
+ grid-template-columns: repeat(3, 1fr);
453
+ }
454
+
455
+ .alert-options {
456
+ grid-template-columns: 1fr;
457
+ }
458
+
459
+ .balance-actions {
460
+ flex-direction: column;
461
+ }
462
+
463
+ .logo h1 {
464
+ font-size: 26px;
465
+ }
466
+ }
467
+ </style>
468
+ </head>
469
+ <body>
470
+ <div class="container">
471
+ <!-- Header -->
472
+ <div class="header">
473
+ <div class="logo">
474
+ <i class="fas fa-university"></i>
475
+ <h1>TrustNet Bank</h1>
476
+ </div>
477
+ <p class="tagline">Your trusted financial partner with multi-currency support</p>
478
+ </div>
479
+
480
+ <!-- Features -->
481
+ <div class="features">
482
+ <div class="feature-card">
483
+ <div class="feature-icon">
484
+ <i class="fas fa-exchange-alt"></i>
485
+ </div>
486
+ <h3>Global Transfers</h3>
487
+ <p>Send money worldwide with 100+ currencies supported</p>
488
+ </div>
489
+
490
+ <div class="feature-card">
491
+ <div class="feature-icon">
492
+ <i class="fas fa-shield-alt"></i>
493
+ </div>
494
+ <h3>Secure Banking</h3>
495
+ <p>Military-grade encryption for all transactions</p>
496
+ </div>
497
+
498
+ <div class="feature-card">
499
+ <div class="feature-icon">
500
+ <i class="fas fa-bolt"></i>
501
+ </div>
502
+ <h3>Instant Processing</h3>
503
+ <p>Real-time transaction processing 24/7</p>
504
+ </div>
505
+
506
+ <div class="feature-card">
507
+ <div class="feature-icon">
508
+ <i class="fas fa-headset"></i>
509
+ </div>
510
+ <h3>24/7 Support</h3>
511
+ <p>Dedicated customer service anytime</p>
512
+ </div>
513
+ </div>
514
+
515
+ <!-- Balance Section -->
516
+ <div class="balance-section">
517
+ <div class="balance-label">Your Available Balance</div>
518
+ <div class="balance-amount">$12,458.75</div>
519
+
520
+ <div class="balance-actions">
521
+ <button class="balance-btn">
522
+ <i class="fas fa-plus-circle"></i> Add Funds
523
+ </button>
524
+ <button class="balance-btn">
525
+ <i class="fas fa-exchange-alt"></i> Transfer
526
+ </button>
527
+ <button class="balance-btn">
528
+ <i class="fas fa-cog"></i> Settings
529
+ </button>
530
+ </div>
531
+ </div>
532
+
533
+ <!-- Currencies Section -->
534
+ <div class="currencies-section">
535
+ <h3 class="section-title">Supported Currencies</h3>
536
+ <div class="currencies-grid" id="currencies-grid">
537
+ <!-- Currencies will be populated by JavaScript -->
538
+ </div>
539
+ </div>
540
+
541
+ <!-- Transfer Section -->
542
+ <div class="transfer-section">
543
+ <h3 class="section-title">Make a Transfer</h3>
544
+
545
+ <div class="form-group">
546
+ <label for="recipient-name">Recipient Name</label>
547
+ <input type="text" id="recipient-name" placeholder="Enter recipient's full name">
548
+ </div>
549
+
550
+ <div class="form-group">
551
+ <label for="account-number">Account Number</label>
552
+ <input type="text" id="account-number" placeholder="Enter account number">
553
+ </div>
554
+
555
+ <div class="form-group">
556
+ <label for="amount">Amount</label>
557
+ <input type="number" id="amount" placeholder="Enter amount">
558
+ </div>
559
+
560
+ <div class="form-group">
561
+ <label>Select Currency</label>
562
+ <div class="currency-grid" id="currency-selector">
563
+ <!-- Currencies will be populated by JavaScript -->
564
+ </div>
565
+ </div>
566
+
567
+ <div class="form-group">
568
+ <label>Alert Caption</label>
569
+ <div class="alert-options">
570
+ <div class="alert-option" data-value="⚠️ Suspicious Transaction Detected">
571
+ ⚠️ Suspicious
572
+ </div>
573
+ <div class="alert-option" data-value="🚨 High Risk Transfer">
574
+ 🚨 High Risk
575
+ </div>
576
+ <div class="alert-option" data-value="🔒 Account Security Alert">
577
+ 🔒 Security Alert
578
+ </div>
579
+ <div class="alert-option" data-value="✅ Verified Transaction">
580
+ ✅ Verified
581
+ </div>
582
+ </div>
583
+ </div>
584
+
585
+ <button class="submit-btn">
586
+ <i class="fas fa-paper-plane"></i> Send Transfer
587
+ </button>
588
+
589
+ <div class="warning">
590
+ <i class="fas fa-exclamation-triangle"></i> Sending over 5 transactions in a single day may trigger security alerts
591
+ </div>
592
+ </div>
593
+
594
+ <!-- WhatsApp Group Section at Bottom -->
595
+ <div class="whatsapp-section">
596
+ <h3><i class="fab fa-whatsapp"></i> Join Our WhatsApp Group</h3>
597
+ <p>Get exclusive access to financial tips, updates, and premium tools</p>
598
+ <a href="https://chat.whatsapp.com/ER9UwcNHhFRCaUSZgvXJx9" class="whatsapp-btn" target="_blank">
599
+ Join Now
600
+ </a>
601
+ </div>
602
+
603
+ <!-- Footer -->
604
+ <div class="footer">
605
+ <p>TrustNet Bank &copy; 2023 | Secure Banking Solutions</p>
606
+ <p>Contact: support@trustnetbank.com | +1 (800) 123-4567</p>
607
+ </div>
608
+ </div>
609
+
610
+ <script>
611
+ // Supported currencies with Korean Won
612
+ const currencies = [
613
+ { code: "USD", symbol: "$", name: "US Dollar" },
614
+ { code: "EUR", symbol: "€", name: "Euro" },
615
+ { code: "GBP", symbol: "£", name: "British Pound" },
616
+ { code: "JPY", symbol: "¥", name: "Japanese Yen" },
617
+ { code: "KRW", symbol: "₩", name: "Korean Won" },
618
+ { code: "AUD", symbol: "A$", name: "Australian Dollar" },
619
+ { code: "CAD", symbol: "C$", name: "Canadian Dollar" },
620
+ { code: "CHF", symbol: "Fr", name: "Swiss Franc" },
621
+ { code: "CNY", symbol: "¥", name: "Chinese Yuan" },
622
+ { code: "INR", symbol: "₹", name: "Indian Rupee" },
623
+ { code: "MXN", symbol: "$", name: "Mexican Peso" },
624
+ { code: "BRL", symbol: "R$", name: "Brazilian Real" },
625
+ { code: "RUB", symbol: "₽", name: "Russian Ruble" },
626
+ { code: "SGD", symbol: "S$", name: "Singapore Dollar" },
627
+ { code: "HKD", symbol: "HK$", name: "Hong Kong Dollar" },
628
+ { code: "NZD", symbol: "NZ$", name: "New Zealand Dollar" },
629
+ { code: "SEK", symbol: "kr", name: "Swedish Krona" },
630
+ { code: "NOK", symbol: "kr", name: "Norwegian Krone" },
631
+ { code: "TRY", symbol: "₺", name: "Turkish Lira" },
632
+ { code: "ZAR", symbol: "R", name: "South African Rand" },
633
+ { code: "AED", symbol: "د.إ", name: "UAE Dirham" },
634
+ { code: "SAR", symbol: "﷼", name: "Saudi Riyal" },
635
+ { code: "THB", symbol: "฿", name: "Thai Baht" },
636
+ { code: "PLN", symbol: "zł", name: "Polish Złoty" },
637
+ { code: "IDR", symbol: "Rp", name: "Indonesian Rupiah" },
638
+ { code: "HUF", symbol: "Ft", name: "Hungarian Forint" },
639
+ { code: "CZK", symbol: "Kč", name: "Czech Koruna" },
640
+ { code: "ILS", symbol: "₪", name: "Israeli Shekel" },
641
+ { code: "CLP", symbol: "$", name: "Chilean Peso" },
642
+ { code: "PHP", symbol: "₱", name: "Philippine Peso" },
643
+ { code: "DKK", symbol: "kr", name: "Danish Krone" },
644
+ { code: "MYR", symbol: "RM", name: "Malaysian Ringgit" },
645
+ { code: "RON", symbol: "lei", name: "Romanian Leu" },
646
+ { code: "TWD", symbol: "NT$", name: "New Taiwan Dollar" },
647
+ { code: "EGP", symbol: "E£", name: "Egyptian Pound" },
648
+ { code: "PKR", symbol: "₨", name: "Pakistani Rupee" },
649
+ { code: "COP", symbol: "$", name: "Colombian Peso" },
650
+ { code: "VND", symbol: "₫", name: "Vietnamese Dong" },
651
+ { code: "BDT", symbol: "৳", name: "Bangladeshi Taka" },
652
+ { code: "ARS", symbol: "$", name: "Argentine Peso" },
653
+ // Add more currencies as needed
654
+ ];
655
+
656
+ // Populate currency selector
657
+ function populateCurrencies() {
658
+ const grid = document.getElementById('currency-selector');
659
+ const currenciesGrid = document.getElementById('currencies-grid');
660
+
661
+ currencies.forEach(currency => {
662
+ // For currency selector
663
+ const option = document.createElement('div');
664
+ option.className = 'currency-option';
665
+ option.innerHTML = `${currency.symbol} ${currency.code}`;
666
+ option.dataset.code = currency.code;
667
+ option.dataset.symbol = currency.symbol;
668
+
669
+ option.addEventListener('click', () => {
670
+ document.querySelectorAll('.currency-option').forEach(opt => {
671
+ opt.classList.remove('selected');
672
+ });
673
+ option.classList.add('selected');
674
+ });
675
+
676
+ grid.appendChild(option);
677
+
678
+ // For currencies display grid
679
+ const currencyItem = document.createElement('div');
680
+ currencyItem.className = 'currency-item';
681
+ currencyItem.innerHTML = `
682
+ <div style="font-size: 20px;">${currency.symbol}</div>
683
+ <div style="font-size: 12px;">${currency.code}</div>
684
+ <div style="font-size: 10px; color: #666;">${currency.name}</div>
685
+ `;
686
+ currenciesGrid.appendChild(currencyItem);
687
+ });
688
+ }
689
+
690
+ // Set up alert options
691
+ function setupAlertOptions() {
692
+ const alertOptions = document.querySelectorAll('.alert-option');
693
+
694
+ alertOptions.forEach(option => {
695
+ option.addEventListener('click', () => {
696
+ alertOptions.forEach(opt => {
697
+ opt.classList.remove('selected');
698
+ });
699
+ option.classList.add('selected');
700
+ });
701
+ });
702
+ }
703
+
704
+ // Initialize when page loads
705
+ document.addEventListener('DOMContentLoaded', () => {
706
+ populateCurrencies();
707
+ setupAlertOptions();
708
+
709
+ // Select USD by default
710
+ setTimeout(() => {
711
+ document.querySelector('.currency-option[data-code="USD"]').click();
712
+ }, 100);
713
+ });
714
+ </script>
715
+ </body>
716
+ </html>