delogamesoft commited on
Commit
e020d0e
·
verified ·
1 Parent(s): 3f41010

Add 2 files

Browse files
Files changed (2) hide show
  1. README.md +7 -5
  2. index.html +533 -19
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Delopay
3
- emoji: 🚀
4
- colorFrom: blue
5
- colorTo: purple
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
+ title: delopay
3
+ emoji: 🐳
4
+ colorFrom: gray
5
+ colorTo: yellow
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite
10
  ---
11
 
12
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
index.html CHANGED
@@ -1,19 +1,533 @@
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="uz">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>DeloPay - To'lov tizimi</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
9
+ <style>
10
+ @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');
11
+
12
+ body {
13
+ font-family: 'Roboto', sans-serif;
14
+ background-color: #f8fafc;
15
+ }
16
+
17
+ .delo-gradient {
18
+ background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
19
+ }
20
+
21
+ .btn-primary {
22
+ background-color: #4f46e5;
23
+ transition: all 0.3s ease;
24
+ }
25
+
26
+ .btn-primary:hover {
27
+ background-color: #4338ca;
28
+ transform: translateY(-2px);
29
+ }
30
+
31
+ .scale-up {
32
+ animation: scaleUp 0.3s ease-in-out;
33
+ }
34
+
35
+ @keyframes scaleUp {
36
+ from { transform: scale(0.9); opacity: 0; }
37
+ to { transform: scale(1); opacity: 1; }
38
+ }
39
+
40
+ .input-focus {
41
+ transition: all 0.3s ease;
42
+ }
43
+
44
+ .input-focus:focus {
45
+ border-color: #4f46e5;
46
+ box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
47
+ }
48
+
49
+ .tab-active {
50
+ border-bottom: 3px solid #4f46e5;
51
+ font-weight: 500;
52
+ color: #4f46e5;
53
+ }
54
+
55
+ .slide-in {
56
+ animation: slideIn 0.5s ease-out;
57
+ }
58
+
59
+ @keyframes slideIn {
60
+ from { transform: translateX(100%); opacity: 0; }
61
+ to { transform: translateX(0); opacity: 1; }
62
+ }
63
+ </style>
64
+ </head>
65
+ <body class="min-h-screen bg-gray-50">
66
+ <!-- Top Navigation -->
67
+ <nav class="delo-gradient text-white shadow-lg">
68
+ <div class="container mx-auto px-4 py-3 flex justify-between items-center">
69
+ <div class="flex items-center space-x-2">
70
+ <i class="fas fa-wallet text-2xl"></i>
71
+ <h1 class="text-xl font-bold">DeloPay</h1>
72
+ </div>
73
+ <div class="flex items-center space-x-4">
74
+ <button class="p-2 rounded-full hover:bg-white/10 transition">
75
+ <i class="fas fa-bell"></i>
76
+ </button>
77
+ <button class="p-2 rounded-full hover:bg-white/10 transition">
78
+ <i class="fas fa-user"></i>
79
+ </button>
80
+ </div>
81
+ </div>
82
+ </nav>
83
+
84
+ <!-- Main Content -->
85
+ <div class="container mx-auto px-4 py-6">
86
+ <!-- Wallet Card -->
87
+ <div class="delo-gradient rounded-xl text-white shadow-lg p-6 mb-6">
88
+ <div class="flex justify-between items-start">
89
+ <div>
90
+ <p class="text-sm opacity-90">Hisobingizdagi mablag'</p>
91
+ <h2 class="text-3xl font-bold mt-1">1,245,000 UZS</h2>
92
+ </div>
93
+ <button class="bg-white/20 p-2 rounded-lg">
94
+ <i class="fas fa-eye"></i>
95
+ </button>
96
+ </div>
97
+ <div class="mt-6 pt-4 border-t border-white/20">
98
+ <div class="flex justify-between">
99
+ <button class="flex items-center space-x-2 px-4 py-2 bg-white/10 rounded-lg hover:bg-white/20 transition">
100
+ <i class="fas fa-wallet"></i>
101
+ <span>To'ldirish</span>
102
+ </button>
103
+ <button class="flex items-center space-x-2 px-4 py-2 bg-white/10 rounded-lg hover:bg-white/20 transition">
104
+ <i class="fas fa-exchange-alt"></i>
105
+ <span>O'tkazma</span>
106
+ </button>
107
+ <button class="flex items-center space-x-2 px-4 py-2 bg-white/10 rounded-lg hover:bg-white/20 transition">
108
+ <i class="fas fa-qrcode"></i>
109
+ <span>QR kod</span>
110
+ </button>
111
+ </div>
112
+ </div>
113
+ </div>
114
+
115
+ <!-- Services Tabs -->
116
+ <div class="bg-white rounded-xl shadow-lg overflow-hidden mb-6">
117
+ <div class="flex border-b">
118
+ <button class="tab-control flex-1 py-4 text-center font-medium text-gray-600" data-tab="payments">
119
+ To'lovlar
120
+ </button>
121
+ <button class="tab-control flex-1 py-4 text-center font-medium text-gray-600" data-tab="mobile">
122
+ Mobil
123
+ </button>
124
+ <button class="tab-control flex-1 py-4 text-center font-medium text-gray-600" data-tab="utilities">
125
+ Kommunal
126
+ </button>
127
+ </div>
128
+
129
+ <!-- Payments Tab Content -->
130
+ <div id="payments" class="tab-content p-4">
131
+ <h3 class="text-lg font-semibold mb-4 text-gray-800">Xizmat turlari</h3>
132
+ <div class="grid grid-cols-4 gap-3">
133
+ <button class="service-btn flex flex-col items-center p-3 rounded-lg hover:bg-gray-50 transition" data-service="internet">
134
+ <div class="w-12 h-12 bg-purple-100 rounded-full flex items-center justify-center mb-2">
135
+ <i class="fas fa-wifi text-purple-600"></i>
136
+ </div>
137
+ <span class="text-xs text-center">Internet</span>
138
+ </button>
139
+ <button class="service-btn flex flex-col items-center p-3 rounded-lg hover:bg-gray-50 transition" data-service="tv">
140
+ <div class="w-12 h-12 bg-blue-100 rounded-full flex items-center justify-center mb-2">
141
+ <i class="fas fa-tv text-blue-600"></i>
142
+ </div>
143
+ <span class="text-xs text-center">Telefon/TV</span>
144
+ </button>
145
+ <button class="service-btn flex flex-col items-center p-3 rounded-lg hover:bg-gray-50 transition" data-service="education">
146
+ <div class="w-12 h-12 bg-green-100 rounded-full flex items-center justify-center mb-2">
147
+ <i class="fas fa-graduation-cap text-green-600"></i>
148
+ </div>
149
+ <span class="text-xs text-center">Ta'lim</span>
150
+ </button>
151
+ <button class="service-btn flex flex-col items-center p-3 rounded-lg hover:bg-gray-50 transition" data-service="transport">
152
+ <div class="w-12 h-12 bg-yellow-100 rounded-full flex items-center justify-center mb-2">
153
+ <i class="fas fa-bus text-yellow-600"></i>
154
+ </div>
155
+ <span class="text-xs text-center">Transport</span>
156
+ </button>
157
+ <button class="service-btn flex flex-col items-center p-3 rounded-lg hover:bg-gray-50 transition" data-service="charity">
158
+ <div class="w-12 h-12 bg-red-100 rounded-full flex items-center justify-center mb-2">
159
+ <i class="fas fa-hand-holding-heart text-red-600"></i>
160
+ </div>
161
+ <span class="text-xs text-center">Ehson</span>
162
+ </button>
163
+ <button class="service-btn flex flex-col items-center p-3 rounded-lg hover:bg-gray-50 transition" data-service="tax">
164
+ <div class="w-12 h-12 bg-indigo-100 rounded-full flex items-center justify-center mb-2">
165
+ <i class="fas fa-receipt text-indigo-600"></i>
166
+ </div>
167
+ <span class="text-xs text-center">Soliklar</span>
168
+ </button>
169
+ <button class="service-btn flex flex-col items-center p-3 rounded-lg hover:bg-gray-50 transition" data-service="insurance">
170
+ <div class="w-12 h-12 bg-pink-100 rounded-full flex items-center justify-center mb-2">
171
+ <i class="fas fa-shield-alt text-pink-600"></i>
172
+ </div>
173
+ <span class="text-xs text-center">Sug'urta</span>
174
+ </button>
175
+ <button class="service-btn flex flex-col items-center p-3 rounded-lg hover:bg-gray-50 transition" data-service="other">
176
+ <div class="w-12 h-12 bg-gray-100 rounded-full flex items-center justify-center mb-2">
177
+ <i class="fas fa-ellipsis-h text-gray-600"></i>
178
+ </div>
179
+ <span class="text-xs text-center">Boshqalar</span>
180
+ </button>
181
+ </div>
182
+ </div>
183
+
184
+ <!-- Mobile Tab Content (Hidden by default) -->
185
+ <div id="mobile" class="tab-content hidden p-4">
186
+ <h3 class="text-lg font-semibold mb-4 text-gray-800">Mobil operatorlar</h3>
187
+ <div class="grid grid-cols-3 gap-3">
188
+ <button class="flex flex-col items-center p-3 rounded-lg hover:bg-gray-50 transition">
189
+ <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/8/8d/Ucell_logo.svg/1200px-Ucell_logo.svg.png" alt="Ucell" class="h-10 mb-2">
190
+ <span class="text-xs">Ucell</span>
191
+ </button>
192
+ <button class="flex flex-col items-center p-3 rounded-lg hover:bg-gray-50 transition">
193
+ <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/c/ca/Beeline_logo.svg/1200px-Beeline_logo.svg.png" alt="Beeline" class="h-10 mb-2">
194
+ <span class="text-xs">Beeline</span>
195
+ </button>
196
+ <button class="flex flex-col items-center p-3 rounded-lg hover:bg-gray-50 transition">
197
+ <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/c/c9/Uzmobile_logo_2019.svg/1200px-Uzmobile_logo_2019.svg.png" alt="Uzmobile" class="h-10 mb-2">
198
+ <span class="text-xs">Uzmobile</span>
199
+ </button>
200
+ <button class="flex flex-col items-center p-3 rounded-lg hover:bg-gray-50 transition">
201
+ <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/4/42/Mobiuz_logo_2020.svg/1200px-Mobiuz_logo_2020.svg.png" alt="Mobiuz" class="h-10 mb-2">
202
+ <span class="text-xs">Mobiuz</span>
203
+ </button>
204
+ <button class="flex flex-col items-center p-3 rounded-lg hover:bg-gray-50 transition">
205
+ <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/6/6e/Perevod_uz_Logo_%282021%29.png/800px-Perevod_uz_Logo_%282021%29.png" alt="Perfectum" class="h-10 mb-2">
206
+ <span class="text-xs">Perfectum</span>
207
+ </button>
208
+ <button class="flex flex-col items-center p-3 rounded-lg hover:bg-gray-50 transition">
209
+ <div class="w-10 h-10 bg-gray-100 rounded-full flex items-center justify-center mb-2">
210
+ <i class="fas fa-ellipsis-h text-gray-600"></i>
211
+ </div>
212
+ <span class="text-xs">Boshqalar</span>
213
+ </button>
214
+ </div>
215
+ </div>
216
+
217
+ <!-- Utilities Tab Content (Hidden by default) -->
218
+ <div id="utilities" class="tab-content hidden p-4">
219
+ <h3 class="text-lg font-semibold mb-4 text-gray-800">Kommunal to'lovlar</h3>
220
+ <div class="space-y-3">
221
+ <button class="w-full flex items-center p-3 rounded-lg hover:bg-gray-50 transition">
222
+ <div class="w-10 h-10 bg-purple-100 rounded-full flex items-center justify-center mr-3">
223
+ <i class="fas fa-lightbulb text-purple-600"></i>
224
+ </div>
225
+ <div class="text-left">
226
+ <h4 class="font-medium text-gray-800">Elektron energiya</h4>
227
+ <p class="text-xs text-gray-500">"O'zbekenergo" AJ</p>
228
+ </div>
229
+ </button>
230
+ <button class="w-full flex items-center p-3 rounded-lg hover:bg-gray-50 transition">
231
+ <div class="w-10 h-10 bg-blue-100 rounded-full flex items-center justify-center mr-3">
232
+ <i class="fas fa-tint text-blue-600"></i>
233
+ </div>
234
+ <div class="text-left">
235
+ <h4 class="font-medium text-gray-800">Suv ta'minoti</h4>
236
+ <p class="text-xs text-gray-500">"Toshkent suv ta'minoti"</p>
237
+ </div>
238
+ </button>
239
+ <button class="w-full flex items-center p-3 rounded-lg hover:bg-gray-50 transition">
240
+ <div class="w-10 h-10 bg-green-100 rounded-full flex items-center justify-center mr-3">
241
+ <i class="fas fa-fire text-green-600"></i>
242
+ </div>
243
+ <div class="text-left">
244
+ <h4 class="font-medium text-gray-800">Gaz ta'minoti</h4>
245
+ <p class="text-xs text-gray-500">"O'ztransgaz" AJ</p>
246
+ </div>
247
+ </button>
248
+ <button class="w-full flex items-center p-3 rounded-lg hover:bg-gray-50 transition">
249
+ <div class="w-10 h-10 bg-yellow-100 rounded-full flex items-center justify-center mr-3">
250
+ <i class="fas fa-trash text-yellow-600"></i>
251
+ </div>
252
+ <div class="text-left">
253
+ <h4 class="font-medium text-gray-800">Chiqqi chiqindilar</h4>
254
+ <p class="text-xs text-gray-500">"Toza shaharcha"</p>
255
+ </div>
256
+ </button>
257
+ </div>
258
+ </div>
259
+ </div>
260
+
261
+ <!-- Recent Transactions -->
262
+ <div class="bg-white rounded-xl shadow-lg p-6">
263
+ <div class="flex justify-between items-center mb-4">
264
+ <h3 class="text-lg font-semibold text-gray-800">Oxirgi operatsiyalar</h3>
265
+ <button class="text-sm text-indigo-600 hover:text-indigo-800">Hammasini ko'rish</button>
266
+ </div>
267
+
268
+ <div class="space-y-4">
269
+ <div class="flex justify-between items-center p-2 hover:bg-gray-50 rounded-lg transition">
270
+ <div class="flex items-center">
271
+ <div class="w-10 h-10 bg-green-100 rounded-full flex items-center justify-center mr-3">
272
+ <i class="fas fa-wifi text-green-600"></i>
273
+ </div>
274
+ <div>
275
+ <h4 class="font-medium text-gray-800">Internet to'lovi</h4>
276
+ <p class="text-xs text-gray-500">O'zbektelekom • Bugun 14:23</p>
277
+ </div>
278
+ </div>
279
+ <div class="text-right">
280
+ <p class="font-medium text-green-600">+95,000 UZS</p>
281
+ <p class="text-xs text-gray-500">Muvaffaqiyatli</p>
282
+ </div>
283
+ </div>
284
+
285
+ <div class="flex justify-between items-center p-2 hover:bg-gray-50 rounded-lg transition">
286
+ <div class="flex items-center">
287
+ <div class="w-10 h-10 bg-blue-100 rounded-full flex items-center justify-center mr-3">
288
+ <i class="fas fa-mobile-alt text-blue-600"></i>
289
+ </div>
290
+ <div>
291
+ <h4 class="font-medium text-gray-800">Mobil aloqa</h4>
292
+ <p class="text-xs text-gray-500">Ucell • 12.03.2023</p>
293
+ </div>
294
+ </div>
295
+ <div class="text-right">
296
+ <p class="font-medium text-red-600">-50,000 UZS</p>
297
+ <p class="text-xs text-gray-500">Muvaffaqiyatli</p>
298
+ </div>
299
+ </div>
300
+
301
+ <div class="flex justify-between items-center p-2 hover:bg-gray-50 rounded-lg transition">
302
+ <div class="flex items-center">
303
+ <div class="w-10 h-10 bg-purple-100 rounded-full flex items-center justify-center mr-3">
304
+ <i class="fas fa-lightbulb text-purple-600"></i>
305
+ </div>
306
+ <div>
307
+ <h4 class="font-medium text-gray-800">Elektron energiya</h4>
308
+ <p class="text-xs text-gray-500">O'zbekenergo • 05.03.2023</p>
309
+ </div>
310
+ </div>
311
+ <div class="text-right">
312
+ <p class="font-medium text-red-600">-120,000 UZS</p>
313
+ <p class="text-xs text-gray-500">Muvaffaqiyatli</p>
314
+ </div>
315
+ </div>
316
+ </div>
317
+ </div>
318
+ </div>
319
+
320
+ <!-- Payment Form Modal (Hidden by default) -->
321
+ <div id="paymentModal" class="fixed inset-0 bg-black bg-opacity-50 z-50 flex items-center justify-center hidden">
322
+ <div class="bg-white rounded-lg w-full max-w-md mx-4 scale-up">
323
+ <div class="delo-gradient text-white rounded-t-lg p-4 flex justify-between items-center">
324
+ <h3 class="text-lg font-semibold">Internet xizmatlari uchun to'lov</h3>
325
+ <button id="closeModal" class="p-1 rounded-full hover:bg-white/20">
326
+ <i class="fas fa-times"></i>
327
+ </button>
328
+ </div>
329
+
330
+ <div class="p-6">
331
+ <form id="paymentForm">
332
+ <div class="mb-4">
333
+ <label class="block text-sm font-medium text-gray-700 mb-1">Yetkazib beruvchi</label>
334
+ <div class="flex items-center bg-gray-100 p-3 rounded-lg">
335
+ <div class="w-10 h-10 bg-purple-100 rounded-full flex items-center justify-center mr-3">
336
+ <i class="fas fa-wifi text-purple-600"></i>
337
+ </div>
338
+ <div>
339
+ <h4 class="font-medium">O'zbektelekom</h4>
340
+ <p class="text-xs text-gray-500">Internet xizmatlari</p>
341
+ </div>
342
+ </div>
343
+ </div>
344
+
345
+ <div class="mb-4">
346
+ <label for="accountNumber" class="block text-sm font-medium text-gray-700 mb-1">Abonent raqami</label>
347
+ <input type="text" id="accountNumber" class="input-focus w-full p-3 border border-gray-300 rounded-lg focus:outline-none" placeholder="987654321">
348
+ </div>
349
+
350
+ <div class="mb-4">
351
+ <label for="amount" class="block text-sm font-medium text-gray-700 mb-1">To'lov miqdori (UZS)</label>
352
+ <input type="text" id="amount" class="input-focus w-full p-3 border border-gray-300 rounded-lg focus:outline-none" placeholder="95,000">
353
+ </div>
354
+
355
+ <button type="submit" class="btn-primary w-full py-3 px-4 rounded-lg text-white font-medium shadow-md mt-4 flex items-center justify-center">
356
+ <i class="fas fa-paper-plane mr-2"></i> To'lovni amalga oshirish
357
+ </button>
358
+ </form>
359
+ </div>
360
+ </div>
361
+ </div>
362
+
363
+ <!-- Success Modal (Hidden by default) -->
364
+ <div id="successModal" class="fixed inset-0 bg-black bg-opacity-50 z-50 flex items-center justify-center hidden">
365
+ <div class="bg-white rounded-lg w-full max-w-md mx-4 slide-in">
366
+ <div class="p-6 text-center">
367
+ <div class="w-20 h-20 bg-green-100 rounded-full flex items-center justify-center mx-auto mb-4">
368
+ <i class="fas fa-check text-green-600 text-2xl"></i>
369
+ </div>
370
+ <h3 class="text-xl font-bold text-gray-800 mb-2">To'lov muvaffaqiyatli amalga oshirildi!</h3>
371
+ <p class="text-gray-600 mb-6">To'lov miqdori: <span class="font-bold text-indigo-600">95,000 UZS</span></p>
372
+
373
+ <div class="bg-gray-100 p-4 rounded-lg mb-6 text-left">
374
+ <div class="flex justify-between py-2 border-b border-gray-200">
375
+ <span class="text-gray-600">Yetkazib beruvchi:</span>
376
+ <span class="font-medium">O'zbektelekom</span>
377
+ </div>
378
+ <div class="flex justify-between py-2 border-b border-gray-200">
379
+ <span class="text-gray-600">Abonent raqami:</span>
380
+ <span class="font-medium">987654321</span>
381
+ </div>
382
+ <div class="flex justify-between py-2">
383
+ <span class="text-gray-600">Tranzaksiya ID:</span>
384
+ <span class="font-medium">DELO23456789</span>
385
+ </div>
386
+ </div>
387
+
388
+ <div class="flex space-x-3">
389
+ <button id="printReceipt" class="flex-1 py-2 px-4 border border-indigo-600 text-indigo-600 rounded-lg hover:bg-indigo-50 transition">
390
+ <i class="fas fa-print mr-2"></i> Chekni chop etish
391
+ </button>
392
+ <button id="closeSuccessModal" class="flex-1 py-2 px-4 bg-indigo-600 text-white rounded-lg hover:bg-indigo-700 transition">
393
+ <i class="fas fa-check mr-2"></i> Tayyor
394
+ </button>
395
+ </div>
396
+ </div>
397
+ </div>
398
+ </div>
399
+
400
+ <!-- Bottom Navigation -->
401
+ <div class="fixed bottom-0 left-0 right-0 bg-white shadow-lg border-t border-gray-200">
402
+ <div class="flex justify-around">
403
+ <a href="#" class="flex flex-col items-center py-3 px-4 text-indigo-600">
404
+ <i class="fas fa-home text-xl mb-1"></i>
405
+ <span class="text-xs">Asosiy</span>
406
+ </a>
407
+ <a href="#" class="flex flex-col items-center py-3 px-4 text-gray-500 hover:text-indigo-600">
408
+ <i class="fas fa-exchange-alt text-xl mb-1"></i>
409
+ <span class="text-xs">O'tkazmalar</span>
410
+ </a>
411
+ <a href="#" class="flex flex-col items-center py-3 px-4 text-gray-500 hover:text-indigo-600">
412
+ <i class="fas fa-qrcode text-xl mb-1"></i>
413
+ <span class="text-xs">QR kod</span>
414
+ </a>
415
+ <a href="#" class="flex flex-col items-center py-3 px-4 text-gray-500 hover:text-indigo-600">
416
+ <i class="fas fa-history text-xl mb-1"></i>
417
+ <span class="text-xs">Tarix</span>
418
+ </a>
419
+ <a href="#" class="flex flex-col items-center py-3 px-4 text-gray-500 hover:text-indigo-600">
420
+ <i class="fas fa-user text-xl mb-1"></i>
421
+ <span class="text-xs">Profil</span>
422
+ </a>
423
+ </div>
424
+ </div>
425
+
426
+ <script>
427
+ document.addEventListener('DOMContentLoaded', function() {
428
+ // Tab switching functionality
429
+ const tabControls = document.querySelectorAll('.tab-control');
430
+ const tabContents = document.querySelectorAll('.tab-content');
431
+
432
+ tabControls.forEach(control => {
433
+ control.addEventListener('click', function() {
434
+ // Remove active class from all controls
435
+ tabControls.forEach(c => {
436
+ c.classList.remove('tab-active');
437
+ c.classList.add('text-gray-600');
438
+ });
439
+
440
+ // Add active class to clicked control
441
+ this.classList.add('tab-active');
442
+ this.classList.remove('text-gray-600');
443
+
444
+ // Hide all tab contents
445
+ tabContents.forEach(content => {
446
+ content.classList.add('hidden');
447
+ });
448
+
449
+ // Show selected tab content
450
+ const tabId = this.getAttribute('data-tab');
451
+ document.getElementById(tabId).classList.remove('hidden');
452
+ });
453
+ });
454
+
455
+ // Activate first tab by default
456
+ tabControls[0].click();
457
+
458
+ // Service button click handler
459
+ const serviceButtons = document.querySelectorAll('.service-btn');
460
+ const paymentModal = document.getElementById('paymentModal');
461
+ const closeModal = document.getElementById('closeModal');
462
+
463
+ serviceButtons.forEach(button => {
464
+ button.addEventListener('click', function() {
465
+ const service = this.getAttribute('data-service');
466
+ paymentModal.classList.remove('hidden');
467
+ document.body.style.overflow = 'hidden';
468
+ });
469
+ });
470
+
471
+ closeModal.addEventListener('click', function() {
472
+ paymentModal.classList.add('hidden');
473
+ document.body.style.overflow = 'auto';
474
+ });
475
+
476
+ // Payment form submission
477
+ const paymentForm = document.getElementById('paymentForm');
478
+ const successModal = document.getElementById('successModal');
479
+ const closeSuccessModal = document.getElementById('closeSuccessModal');
480
+ const printReceipt = document.getElementById('printReceipt');
481
+
482
+ paymentForm.addEventListener('submit', function(e) {
483
+ e.preventDefault();
484
+
485
+ // Get form values
486
+ const accountNumber = document.getElementById('accountNumber').value;
487
+ const amount = document.getElementById('amount').value;
488
+
489
+ // Simple validation
490
+ if (!accountNumber || !amount) {
491
+ alert("Iltimos, barcha maydonlarni to'ldiring!");
492
+ return;
493
+ }
494
+
495
+ // Show loading
496
+ const submitBtn = paymentForm.querySelector('button[type="submit"]');
497
+ submitBtn.innerHTML = '<i class="fas fa-spinner fa-spin mr-2"></i> Amalga oshirilmoqda...';
498
+ submitBtn.disabled = true;
499
+
500
+ // Simulate API call
501
+ setTimeout(function() {
502
+ paymentModal.classList.add('hidden');
503
+ successModal.classList.remove('hidden');
504
+
505
+ // Reset form
506
+ paymentForm.reset();
507
+ submitBtn.innerHTML = '<i class="fas fa-paper-plane mr-2"></i> To\'lovni amalga oshirish';
508
+ submitBtn.disabled = false;
509
+ }, 2000);
510
+ });
511
+
512
+ closeSuccessModal.addEventListener('click', function() {
513
+ successModal.classList.add('hidden');
514
+ document.body.style.overflow = 'auto';
515
+ });
516
+
517
+ printReceipt.addEventListener('click', function() {
518
+ alert("Chek chop etish tugmasi bosildi. Ushbu funksiya demo versiyada ishlamaydi.");
519
+ });
520
+
521
+ // Close modals when clicking outside
522
+ [paymentModal, successModal].forEach(modal => {
523
+ modal.addEventListener('click', function(e) {
524
+ if (e.target === modal) {
525
+ modal.classList.add('hidden');
526
+ document.body.style.overflow = 'auto';
527
+ }
528
+ });
529
+ });
530
+ });
531
+ </script>
532
+ <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=delogamesoft/delopay" style="color: #fff;text-decoration: underline;" target="_blank" >🧬 Remix</a></p></body>
533
+ </html>