Re2906 commited on
Commit
a92eae0
·
verified ·
1 Parent(s): 6fda538

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. index.html +1076 -19
index.html CHANGED
@@ -1,19 +1,1076 @@
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="fa" dir="rtl">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>TON Advanced Project Builder v3.0.0</title>
7
+ <link href="https://cdn.jsdelivr.net/npm/remixicon@3.5.0/fonts/remixicon.css" rel="stylesheet">
8
+ <style>
9
+ * {
10
+ margin: 0;
11
+ padding: 0;
12
+ box-sizing: border-box;
13
+ }
14
+
15
+ :root {
16
+ --primary: #0088cc;
17
+ --primary-dark: #006699;
18
+ --secondary: #22c55e;
19
+ --danger: #ef4444;
20
+ --warning: #f59e0b;
21
+ --dark: #0f172a;
22
+ --dark-lighter: #1e293b;
23
+ --dark-card: #334155;
24
+ --text-primary: #f1f5f9;
25
+ --text-secondary: #94a3b8;
26
+ --border: #475569;
27
+ --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
28
+ --ton-gradient: linear-gradient(135deg, #0088cc 0%, #00a8ff 100%);
29
+ }
30
+
31
+ body {
32
+ font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
33
+ background: var(--dark);
34
+ color: var(--text-primary);
35
+ line-height: 1.6;
36
+ min-height: 100vh;
37
+ overflow-x: hidden;
38
+ }
39
+
40
+ body::-webkit-scrollbar {
41
+ width: 8px;
42
+ }
43
+
44
+ body::-webkit-scrollbar-track {
45
+ background: var(--dark-lighter);
46
+ }
47
+
48
+ body::-webkit-scrollbar-thumb {
49
+ background: var(--primary);
50
+ border-radius: 4px;
51
+ }
52
+
53
+ /* Header */
54
+ header {
55
+ background: var(--dark-lighter);
56
+ border-bottom: 1px solid var(--border);
57
+ padding: 1rem 2rem;
58
+ position: sticky;
59
+ top: 0;
60
+ z-index: 100;
61
+ backdrop-filter: blur(10px);
62
+ background: rgba(30, 41, 59, 0.95);
63
+ }
64
+
65
+ .header-content {
66
+ max-width: 1400px;
67
+ margin: 0 auto;
68
+ display: flex;
69
+ justify-content: space-between;
70
+ align-items: center;
71
+ flex-wrap: wrap;
72
+ gap: 1rem;
73
+ }
74
+
75
+ .logo {
76
+ display: flex;
77
+ align-items: center;
78
+ gap: 1rem;
79
+ font-size: 1.5rem;
80
+ font-weight: bold;
81
+ color: var(--primary);
82
+ }
83
+
84
+ .logo i {
85
+ font-size: 2rem;
86
+ background: var(--ton-gradient);
87
+ -webkit-background-clip: text;
88
+ -webkit-text-fill-color: transparent;
89
+ }
90
+
91
+ .nav-buttons {
92
+ display: flex;
93
+ gap: 1rem;
94
+ flex-wrap: wrap;
95
+ }
96
+
97
+ .btn {
98
+ padding: 0.5rem 1.5rem;
99
+ border: none;
100
+ border-radius: 8px;
101
+ font-size: 1rem;
102
+ cursor: pointer;
103
+ transition: all 0.3s ease;
104
+ display: inline-flex;
105
+ align-items: center;
106
+ gap: 0.5rem;
107
+ text-decoration: none;
108
+ font-weight: 500;
109
+ }
110
+
111
+ .btn-primary {
112
+ background: var(--ton-gradient);
113
+ color: white;
114
+ }
115
+
116
+ .btn-primary:hover {
117
+ transform: translateY(-2px);
118
+ box-shadow: 0 10px 20px rgba(0, 136, 204, 0.3);
119
+ }
120
+
121
+ .btn-secondary {
122
+ background: transparent;
123
+ color: var(--text-primary);
124
+ border: 1px solid var(--border);
125
+ }
126
+
127
+ .btn-secondary:hover {
128
+ background: var(--dark-card);
129
+ border-color: var(--primary);
130
+ }
131
+
132
+ /* Main Container */
133
+ .container {
134
+ max-width: 1400px;
135
+ margin: 2rem auto;
136
+ padding: 0 2rem;
137
+ }
138
+
139
+ /* Hero Section */
140
+ .hero {
141
+ background: var(--ton-gradient);
142
+ border-radius: 20px;
143
+ padding: 3rem;
144
+ margin-bottom: 3rem;
145
+ position: relative;
146
+ overflow: hidden;
147
+ }
148
+
149
+ .hero::before {
150
+ content: '';
151
+ position: absolute;
152
+ top: -50%;
153
+ right: -50%;
154
+ width: 200%;
155
+ height: 200%;
156
+ background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
157
+ animation: float 20s infinite linear;
158
+ }
159
+
160
+ @keyframes float {
161
+ 0% { transform: rotate(0deg); }
162
+ 100% { transform: rotate(360deg); }
163
+ }
164
+
165
+ .hero-content {
166
+ position: relative;
167
+ z-index: 1;
168
+ }
169
+
170
+ .hero h1 {
171
+ font-size: 3rem;
172
+ margin-bottom: 1rem;
173
+ text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
174
+ }
175
+
176
+ .hero .version {
177
+ display: inline-block;
178
+ background: rgba(255,255,255,0.2);
179
+ padding: 0.25rem 1rem;
180
+ border-radius: 20px;
181
+ font-size: 0.9rem;
182
+ margin-bottom: 1rem;
183
+ }
184
+
185
+ .hero .description {
186
+ font-size: 1.2rem;
187
+ margin-bottom: 2rem;
188
+ opacity: 0.95;
189
+ }
190
+
191
+ .hero-buttons {
192
+ display: flex;
193
+ gap: 1rem;
194
+ flex-wrap: wrap;
195
+ }
196
+
197
+ /* Security Status */
198
+ .security-status {
199
+ background: var(--dark-lighter);
200
+ border-radius: 15px;
201
+ padding: 2rem;
202
+ margin-bottom: 2rem;
203
+ border: 1px solid var(--border);
204
+ }
205
+
206
+ .security-header {
207
+ display: flex;
208
+ align-items: center;
209
+ gap: 1rem;
210
+ margin-bottom: 1.5rem;
211
+ }
212
+
213
+ .security-header i {
214
+ font-size: 2rem;
215
+ color: var(--secondary);
216
+ }
217
+
218
+ .security-features {
219
+ display: grid;
220
+ grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
221
+ gap: 1rem;
222
+ }
223
+
224
+ .security-feature {
225
+ display: flex;
226
+ align-items: center;
227
+ gap: 0.75rem;
228
+ padding: 0.75rem;
229
+ background: var(--dark);
230
+ border-radius: 8px;
231
+ transition: all 0.3s ease;
232
+ }
233
+
234
+ .security-feature:hover {
235
+ transform: translateX(5px);
236
+ background: var(--dark-card);
237
+ }
238
+
239
+ .security-feature i {
240
+ color: var(--secondary);
241
+ font-size: 1.2rem;
242
+ }
243
+
244
+ /* Dashboard Grid */
245
+ .dashboard-grid {
246
+ display: grid;
247
+ grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
248
+ gap: 2rem;
249
+ margin-bottom: 3rem;
250
+ }
251
+
252
+ .card {
253
+ background: var(--dark-lighter);
254
+ border-radius: 15px;
255
+ padding: 1.5rem;
256
+ border: 1px solid var(--border);
257
+ transition: all 0.3s ease;
258
+ position: relative;
259
+ overflow: hidden;
260
+ }
261
+
262
+ .card::before {
263
+ content: '';
264
+ position: absolute;
265
+ top: 0;
266
+ left: 0;
267
+ width: 100%;
268
+ height: 3px;
269
+ background: var(--ton-gradient);
270
+ transform: scaleX(0);
271
+ transition: transform 0.3s ease;
272
+ }
273
+
274
+ .card:hover::before {
275
+ transform: scaleX(1);
276
+ }
277
+
278
+ .card:hover {
279
+ transform: translateY(-5px);
280
+ box-shadow: 0 10px 30px rgba(0,0,0,0.3);
281
+ }
282
+
283
+ .card-header {
284
+ display: flex;
285
+ align-items: center;
286
+ gap: 1rem;
287
+ margin-bottom: 1rem;
288
+ }
289
+
290
+ .card-icon {
291
+ width: 50px;
292
+ height: 50px;
293
+ border-radius: 12px;
294
+ display: flex;
295
+ align-items: center;
296
+ justify-content: center;
297
+ font-size: 1.5rem;
298
+ }
299
+
300
+ .card-icon.tools {
301
+ background: rgba(34, 197, 94, 0.2);
302
+ color: var(--secondary);
303
+ }
304
+
305
+ .card-icon.deps {
306
+ background: rgba(245, 158, 11, 0.2);
307
+ color: var(--warning);
308
+ }
309
+
310
+ .card-icon.network {
311
+ background: rgba(0, 136, 204, 0.2);
312
+ color: var(--primary);
313
+ }
314
+
315
+ .card-icon.wallet {
316
+ background: rgba(239, 68, 68, 0.2);
317
+ color: var(--danger);
318
+ }
319
+
320
+ .card-title {
321
+ font-size: 1.2rem;
322
+ font-weight: 600;
323
+ }
324
+
325
+ .card-content {
326
+ color: var(--text-secondary);
327
+ }
328
+
329
+ .progress-bar {
330
+ width: 100%;
331
+ height: 8px;
332
+ background: var(--dark);
333
+ border-radius: 4px;
334
+ overflow: hidden;
335
+ margin-top: 1rem;
336
+ }
337
+
338
+ .progress-fill {
339
+ height: 100%;
340
+ background: var(--ton-gradient);
341
+ border-radius: 4px;
342
+ transition: width 1s ease;
343
+ animation: progressAnimation 2s ease-in-out;
344
+ }
345
+
346
+ @keyframes progressAnimation {
347
+ 0% { width: 0; }
348
+ }
349
+
350
+ /* Command Terminal */
351
+ .terminal {
352
+ background: #0a0a0a;
353
+ border-radius: 10px;
354
+ padding: 1rem;
355
+ font-family: 'Courier New', monospace;
356
+ margin: 1rem 0;
357
+ border: 1px solid var(--border);
358
+ }
359
+
360
+ .terminal-header {
361
+ display: flex;
362
+ gap: 0.5rem;
363
+ margin-bottom: 1rem;
364
+ }
365
+
366
+ .terminal-dot {
367
+ width: 12px;
368
+ height: 12px;
369
+ border-radius: 50%;
370
+ }
371
+
372
+ .terminal-dot.red { background: #ff5f56; }
373
+ .terminal-dot.yellow { background: #ffbd2e; }
374
+ .terminal-dot.green { background: #27c93f; }
375
+
376
+ .terminal-content {
377
+ color: #0f0;
378
+ font-size: 0.9rem;
379
+ line-height: 1.4;
380
+ }
381
+
382
+ .terminal-line {
383
+ margin: 0.25rem 0;
384
+ }
385
+
386
+ .terminal-cursor {
387
+ display: inline-block;
388
+ width: 8px;
389
+ height: 16px;
390
+ background: #0f0;
391
+ animation: blink 1s infinite;
392
+ }
393
+
394
+ @keyframes blink {
395
+ 0%, 50% { opacity: 1; }
396
+ 51%, 100% { opacity: 0; }
397
+ }
398
+
399
+ /* Installation Steps */
400
+ .steps {
401
+ display: grid;
402
+ gap: 1rem;
403
+ }
404
+
405
+ .step {
406
+ display: flex;
407
+ gap: 1rem;
408
+ align-items: flex-start;
409
+ padding: 1rem;
410
+ background: var(--dark);
411
+ border-radius: 10px;
412
+ border: 1px solid var(--border);
413
+ transition: all 0.3s ease;
414
+ }
415
+
416
+ .step:hover {
417
+ border-color: var(--primary);
418
+ transform: translateX(10px);
419
+ }
420
+
421
+ .step-number {
422
+ width: 30px;
423
+ height: 30px;
424
+ border-radius: 50%;
425
+ background: var(--ton-gradient);
426
+ display: flex;
427
+ align-items: center;
428
+ justify-content: center;
429
+ font-weight: bold;
430
+ flex-shrink: 0;
431
+ }
432
+
433
+ .step-content h3 {
434
+ color: var(--text-primary);
435
+ margin-bottom: 0.5rem;
436
+ }
437
+
438
+ .step-content p {
439
+ color: var(--text-secondary);
440
+ font-size: 0.9rem;
441
+ }
442
+
443
+ /* Footer */
444
+ footer {
445
+ background: var(--dark-lighter);
446
+ border-top: 1px solid var(--border);
447
+ padding: 2rem;
448
+ margin-top: 4rem;
449
+ text-align: center;
450
+ }
451
+
452
+ .footer-content {
453
+ max-width: 1400px;
454
+ margin: 0 auto;
455
+ }
456
+
457
+ .footer-links {
458
+ display: flex;
459
+ justify-content: center;
460
+ gap: 2rem;
461
+ margin-bottom: 1rem;
462
+ flex-wrap: wrap;
463
+ }
464
+
465
+ .footer-links a {
466
+ color: var(--text-secondary);
467
+ text-decoration: none;
468
+ transition: color 0.3s ease;
469
+ }
470
+
471
+ .footer-links a:hover {
472
+ color: var(--primary);
473
+ }
474
+
475
+ /* Responsive Design */
476
+ @media (max-width: 768px) {
477
+ .hero h1 {
478
+ font-size: 2rem;
479
+ }
480
+
481
+ .hero {
482
+ padding: 2rem 1.5rem;
483
+ }
484
+
485
+ .container {
486
+ padding: 0 1rem;
487
+ }
488
+
489
+ .dashboard-grid {
490
+ grid-template-columns: 1fr;
491
+ }
492
+
493
+ .security-features {
494
+ grid-template-columns: 1fr;
495
+ }
496
+
497
+ .header-content {
498
+ flex-direction: column;
499
+ text-align: center;
500
+ }
501
+ }
502
+
503
+ /* Loading Animation */
504
+ .loading {
505
+ display: inline-block;
506
+ width: 20px;
507
+ height: 20px;
508
+ border: 3px solid var(--border);
509
+ border-top-color: var(--primary);
510
+ border-radius: 50%;
511
+ animation: spin 1s linear infinite;
512
+ }
513
+
514
+ @keyframes spin {
515
+ 0% { transform: rotate(0deg); }
516
+ 100% { transform: rotate(360deg); }
517
+ }
518
+
519
+ /* Tabs */
520
+ .tabs {
521
+ display: flex;
522
+ gap: 0.5rem;
523
+ margin-bottom: 2rem;
524
+ border-bottom: 1px solid var(--border);
525
+ overflow-x: auto;
526
+ }
527
+
528
+ .tab {
529
+ padding: 1rem 1.5rem;
530
+ background: transparent;
531
+ border: none;
532
+ color: var(--text-secondary);
533
+ cursor: pointer;
534
+ transition: all 0.3s ease;
535
+ white-space: nowrap;
536
+ position: relative;
537
+ }
538
+
539
+ .tab:hover {
540
+ color: var(--text-primary);
541
+ }
542
+
543
+ .tab.active {
544
+ color: var(--primary);
545
+ }
546
+
547
+ .tab.active::after {
548
+ content: '';
549
+ position: absolute;
550
+ bottom: -1px;
551
+ left: 0;
552
+ width: 100%;
553
+ height: 2px;
554
+ background: var(--primary);
555
+ }
556
+
557
+ .tab-content {
558
+ display: none;
559
+ animation: fadeIn 0.5s ease;
560
+ }
561
+
562
+ .tab-content.active {
563
+ display: block;
564
+ }
565
+
566
+ @keyframes fadeIn {
567
+ from { opacity: 0; transform: translateY(10px); }
568
+ to { opacity: 1; transform: translateY(0); }
569
+ }
570
+
571
+ /* Status Badge */
572
+ .status-badge {
573
+ display: inline-flex;
574
+ align-items: center;
575
+ gap: 0.5rem;
576
+ padding: 0.25rem 0.75rem;
577
+ border-radius: 20px;
578
+ font-size: 0.85rem;
579
+ font-weight: 500;
580
+ }
581
+
582
+ .status-badge.active {
583
+ background: rgba(34, 197, 94, 0.2);
584
+ color: var(--secondary);
585
+ }
586
+
587
+ .status-badge.inactive {
588
+ background: rgba(239, 68, 68, 0.2);
589
+ color: var(--danger);
590
+ }
591
+
592
+ .status-badge.warning {
593
+ background: rgba(245, 158, 11, 0.2);
594
+ color: var(--warning);
595
+ }
596
+
597
+ .status-badge i {
598
+ font-size: 0.8rem;
599
+ }
600
+ </style>
601
+ </head>
602
+ <body>
603
+ <header>
604
+ <div class="header-content">
605
+ <div class="logo">
606
+ <i class="ri-rocket-2-line"></i>
607
+ <div>
608
+ <div>TON Advanced Project Builder</div>
609
+ <small style="color: var(--text-secondary);">نسخه 3.0.0 | امنیت: کاملاً امن</small>
610
+ </div>
611
+ </div>
612
+ <div class="nav-buttons">
613
+ <a href="https://huggingface.co/spaces/akhaliq/anycoder" target="_blank" class="btn btn-secondary">
614
+ <i class="ri-code-line"></i>
615
+ Built with anycoder
616
+ </a>
617
+ <button class="btn btn-primary" onclick="startSetup()">
618
+ <i class="ri-play-line"></i>
619
+ شروع راه‌اندازی
620
+ </button>
621
+ </div>
622
+ </div>
623
+ </header>
624
+
625
+ <main class="container">
626
+ <!-- Hero Section -->
627
+ <section class="hero">
628
+ <div class="hero-content">
629
+ <span class="version">🚀 نسخه: 3.0.0 | تاریخ: 2025-10-05</span>
630
+ <h1>اسکریپت جامع و حرفه‌ای ایجاد پروژه TON</h1>
631
+ <p class="description">
632
+ این اسکریپت پیشرفته تمام ابزارهای توسعه TON را با امنیت کامل و قابلیت‌های حرفه‌ای ترکیب می‌کند.
633
+ بر اساس بهترین شیوه‌های TON و منابع رسمی طراحی شده است.
634
+ </p>
635
+ <div class="hero-buttons">
636
+ <button class="btn btn-primary" onclick="checkEnvironment()">
637
+ <i class="ri-shield-check-line"></i>
638
+ بررسی امنیت
639
+ </button>
640
+ <button class="btn btn-secondary" onclick="installDependencies()">
641
+ <i class="ri-download-line"></i>
642
+ نصب وابستگی‌ها
643
+ </button>
644
+ <button class="btn btn-secondary" onclick="createProject()">
645
+ <i class="ri-folder-add-line"></i>
646
+ ایجاد پروژه جدید
647
+ </button>
648
+ </div>
649
+ </div>
650
+ </section>
651
+
652
+ <!-- Security Status -->
653
+ <section class="security-status">
654
+ <div class="security-header">
655
+ <i class="ri-shield-keyhole-line"></i>
656
+ <div>
657
+ <h2>🔒 وضعیت امنیت</h2>
658
+ <p style="color: var(--text-secondary); margin-top: 0.25rem;">تأیید ویژگی‌های امنیتی کلیدی</p>
659
+ </div>
660
+ <div style="margin-left: auto;">
661
+ <span class="status-badge active">
662
+ <i class="ri-checkbox-circle-line"></i>
663
+ امن
664
+ </span>
665
+ </div>
666
+ </div>
667
+ <div class="security-features">
668
+ <div class="security-feature">
669
+ <i class="ri-key-2-line"></i>
670
+ <span>بدون کلیدهای سخت‌کد شده</span>
671
+ </div>
672
+ <div class="security-feature">
673
+ <i class="ri-user-check-line"></i>
674
+ <span>تأیید کاربر قبل از عملیات</span>
675
+ </div>
676
+ <div class="security-feature">
677
+ <i class="ri-search-eye-line"></i>
678
+ <span>Audit خودکار</span>
679
+ </div>
680
+ <div class="security-feature">
681
+ <i class="ri-lock-2-line"></i>
682
+ <span>مجوزهای امن (600)</span>
683
+ </div>
684
+ <div class="security-feature">
685
+ <i class="ri-code-s-slash-line"></i>
686
+ <span>TypeScript Strict</span>
687
+ </div>
688
+ <div class="security-feature">
689
+ <i class="ri-git-branch-line"></i>
690
+ <span>Gitignore حرفه‌ای</span>
691
+ </div>
692
+ <div class="security-feature">
693
+ <i class="ri-wifi-line"></i>
694
+ <span>Network Validation</span>
695
+ </div>
696
+ <div class="security-feature">
697
+ <i class="ri-terminal-box-line"></i>
698
+ <span>Sandbox Mode</span>
699
+ </div>
700
+ </div>
701
+ </section>
702
+
703
+ <!-- Tabs Section -->
704
+ <div class="tabs">
705
+ <button class="tab active" onclick="switchTab('overview', this)">نمای کلی</button>
706
+ <button class="tab" onclick="switchTab('installation', this)">نصب</button>
707
+ <button class="tab" onclick="switchTab('tools', this)">ابزارها</button>
708
+ <button class="tab" onclick="switchTab('commands', this)">دستورات</button>
709
+ </div>
710
+
711
+ <!-- Tab Contents -->
712
+ <div class="tab-content active" id="overview">
713
+ <!-- Dashboard Grid -->
714
+ <div class="dashboard-grid">
715
+ <div class="card">
716
+ <div class="card-header">
717
+ <div class="card-icon tools">
718
+ <i class="ri-tools-line"></i>
719
+ </div>
720
+ <div>
721
+ <h3 class="card-title">ابزارهای توسعه</h3>
722
+ </div>
723
+ </div>
724
+ <div class="card-content">
725
+ <p>Blueprint SDK، TON Connect، Chainstack APIs</p>
726
+ <div class="progress-bar">
727
+ <div class="progress-fill" style="width: 85%;"></div>
728
+ </div>
729
+ <p style="margin-top: 0.5rem; font-size: 0.9rem;">85% نصب شده</p>
730
+ </div>
731
+ </div>
732
+
733
+ <div class="card">
734
+ <div class="card-header">
735
+ <div class="card-icon deps">
736
+ <i class="ri-package-line"></i>
737
+ </div>
738
+ <div>
739
+ <h3 class="card-title">وابستگی‌ها</h3>
740
+ </div>
741
+ </div>
742
+ <div class="card-content">
743
+ <p>Node.js v18+، Python 3، Git، Docker</p>
744
+ <div class="progress-bar">
745
+ <div class="progress-fill" style="width: 70%;"></div>
746
+ </div>
747
+ <p style="margin-top: 0.5rem; font-size: 0.9rem;">70% آماده</p>
748
+ </div>
749
+ </div>
750
+
751
+ <div class="card">
752
+ <div class="card-header">
753
+ <div class="card-icon network">
754
+ <i class="ri-global-line"></i>
755
+ </div>
756
+ <div>
757
+ <h3 class="card-title">شبکه</h3>
758
+ </div>
759
+ </div>
760
+ <div class="card-content">
761
+ <p>Testnet فعال | Mainnet آماده</p>
762
+ <div class="progress-bar">
763
+ <div class="progress-fill" style="width: 100%;"></div>
764
+ </div>
765
+ <p style="margin-top: 0.5rem; font-size: 0.9rem;">متصل</p>
766
+ </div>
767
+ </div>
768
+
769
+ <div class="card">
770
+ <div class="card-header">
771
+ <div class="card-icon wallet">
772
+ <i class="ri-wallet-3-line"></i>
773
+ </div>
774
+ <div>
775
+ <h3 class="card-title">کیف پول</h3>
776
+ </div>
777
+ </div>
778
+ <div class="card-content">
779
+ <p>Deployer و User wallets</p>
780
+ <div class="progress-bar">
781
+ <div class="progress-fill" style="width: 60%;"></div>
782
+ </div>
783
+ <p style="margin-top: 0.5rem; font-size: 0.9rem;">پیکربندی مورد نیاز</p>
784
+ </div>
785
+ </div>
786
+ </div>
787
+
788
+ <!-- Terminal Preview -->
789
+ <div class="terminal">
790
+ <div class="terminal-header">
791
+ <div class="terminal-dot red"></div>
792
+ <div class="terminal-dot yellow"></div>
793
+ <div class="terminal-dot green"></div>
794
+ </div>
795
+ <div class="terminal-content">
796
+ <div class="terminal-line">$ ton-pro-check</div>
797
+ <div class="terminal-line">🔍 بررسی جامع محیط TON Professional v3.0.0</div>
798
+ <div class="terminal-line">✅ Node.js: v18.19.0</div>
799
+ <div class="terminal-line">✅ Blueprint: v1.0.0</div>
800
+ <div class="terminal-line">✅ TON Center: متصل</div>
801
+ <div class="terminal-line">✅ امنیت: Strict Mode</div>
802
+ <div class="terminal-line">🎉 محیط TON Professional آماده استفاده! 🚀</div>
803
+ <div class="terminal-line">$ <span class="terminal-cursor"></span></div>
804
+ </div>
805
+ </div>
806
+ </div>
807
+
808
+ <div class="tab-content" id="installation">
809
+ <h2 style="margin-bottom: 2rem;">📋 مراحل نصب پیش‌نیازها</h2>
810
+ <div class="steps">
811
+ <div class="step">
812
+ <div class="step-number">1</div>
813
+ <div class="step-content">
814
+ <h3>Node.js v18+</h3>
815
+ <p>نصب Node.js نسخه 18 یا بالاتر برای اجرای اسکریپت</p>
816
+ <code style="background: var(--dark); padding: 0.25rem 0.5rem; border-radius: 4px; display: inline-block; margin-top: 0.5rem;">
817
+ curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash -
818
+ </code>
819
+ </div>
820
+ </div>
821
+ <div class="step">
822
+ <div class="step-number">2</div>
823
+ <div class="step-content">
824
+ <h3>Python 3 و pip</h3>
825
+ <p>برای نصب و استفاده از toncli</p>
826
+ <code style="background: var(--dark); padding: 0.25rem 0.5rem; border-radius: 4px; display: inline-block; margin-top: 0.5rem;">
827
+ sudo apk update && sudo apk add -y python3 python3-pip git
828
+ </code>
829
+ </div>
830
+ </div>
831
+ <div class="step">
832
+ <div class="step-number">3</div>
833
+ <div class="step-content">
834
+ <h3>Docker (اختیاری)</h3>
835
+ <p>برای deployment و محیط‌های ایزوله</p>
836
+ <code style="background: var(--dark); padding: 0.25rem 0.5rem; border-radius: 4px; display: inline-block; margin-top: 0.5rem;">
837
+ curl -fsSL https://get.docker.com -o get-docker.sh && sudo sh get-docker.sh
838
+ </code>
839
+ </div>
840
+ </div>
841
+ <div class="step">
842
+ <div class="step-number">4</div>
843
+ <div class="step-content">
844
+ <h3>Git</h3>
845
+ <p>برای کنترل نسخه و مدیریت پروژه</p>
846
+ <code style="background: var(--dark); padding: 0.25rem 0.5rem; border-radius: 4px; display: inline-block; margin-top: 0.5rem;">
847
+ sudo apt install -y git
848
+ </code>
849
+ </div>
850
+ </div>
851
+ </div>
852
+ </div>
853
+
854
+ <div class="tab-content" id="tools">
855
+ <h2 style="margin-bottom: 2rem;">🔧 ابزارهای حرفه‌ای</h2>
856
+ <div class="dashboard-grid">
857
+ <div class="card">
858
+ <div class="card-header">
859
+ <div class="card-icon tools">
860
+ <i class="ri-search-line"></i>
861
+ </div>
862
+ <div>
863
+ <h3 class="card-title">ton-pro-check</h3>
864
+ </div>
865
+ </div>
866
+ <div class="card-content">
867
+ <p>بررسی جامع محیط و امنیت TON</p>
868
+ <button class="btn btn-secondary" style="margin-top: 1rem; width: 100%;" onclick="runCommand('ton-pro-check')">
869
+ اجرا
870
+ </button>
871
+ </div>
872
+ </div>
873
+
874
+ <div class="card">
875
+ <div class="card-header">
876
+ <div class="card-icon deps">
877
+ <i class="ri-folder-add-line"></i>
878
+ </div>
879
+ <div>
880
+ <h3 class="card-title">ton-pro-create</h3>
881
+ </div>
882
+ </div>
883
+ <div class="card-content">
884
+ <p>ایجاد پروژه جدید با قالب‌های پیشرفته</p>
885
+ <button class="btn btn-secondary" style="margin-top: 1rem; width: 100%;" onclick="runCommand('ton-pro-create')">
886
+ اجرا
887
+ </button>
888
+ </div>
889
+ </div>
890
+
891
+ <div class="card">
892
+ <div class="card-header">
893
+ <div class="card-icon network">
894
+ <i class="ri-upload-cloud-line"></i>
895
+ </div>
896
+ <div>
897
+ <h3 class="card-title">ton-pro-deploy</h3>
898
+ </div>
899
+ </div>
900
+ <div class="card-content">
901
+ <p>استقرار امن قراردادهای هوشمند</p>
902
+ <button class="btn btn-secondary" style="margin-top: 1rem; width: 100%;" onclick="runCommand('ton-pro-deploy')">
903
+ اجرا
904
+ </button>
905
+ </div>
906
+ </div>
907
+
908
+ <div class="card">
909
+ <div class="card-header">
910
+ <div class="card-icon wallet">
911
+ <i class="ri-shield-check-line"></i>
912
+ </div>
913
+ <div>
914
+ <h3 class="card-title">ton-pro-security</h3>
915
+ </div>
916
+ </div>
917
+ <div class="card-content">
918
+ <p>بررسی امنیتی و audit پروژه</p>
919
+ <button class="btn btn-secondary" style="margin-top: 1rem; width: 100%;" onclick="runCommand('ton-pro-security')">
920
+ اجرا
921
+ </button>
922
+ </div>
923
+ </div>
924
+ </div>
925
+ </div>
926
+
927
+ <div class="tab-content" id="commands">
928
+ <h2 style="margin-bottom: 2rem;">⌨️ دستورات اصلی</h2>
929
+ <div class="terminal">
930
+ <div class="terminal-header">
931
+ <div class="terminal-dot red"></div>
932
+ <div class="terminal-dot yellow"></div>
933
+ <div class="terminal-dot green"></div>
934
+ </div>
935
+ <div class="terminal-content">
936
+ <div class="terminal-line"># راه‌اندازی محیط</div>
937
+ <div class="terminal-line">./ton-advanced-builder.sh</div>
938
+ <div class="terminal-line"></div>
939
+ <div class="terminal-line"># بررسی محیط</div>
940
+ <div class="terminal-line">ton-pro-check</div>
941
+ <div class="terminal-line"></div>
942
+ <div class="terminal-line"># ایجاد پروژه جدید</div>
943
+ <div class="terminal-line">ton-pro-create my-dapp fullstack modern</div>
944
+ <div class="terminal-line"></div>
945
+ <div class="terminal-line"># توسعه محلی</div>
946
+ <div class="terminal-line">npm run dev</div>
947
+ <div class="terminal-line"></div>
948
+ <div class="terminal-line"># استقرار امن</div>
949
+ <div class="terminal-line">ton-pro-deploy</div>
950
+ <div class="terminal-line"></div>
951
+ <div class="terminal-line"># بررسی امنیت</div>
952
+ <div class="terminal-line">npm run security</div>
953
+ </div>
954
+ </div>
955
+ </div>
956
+ </main>
957
+
958
+ <footer>
959
+ <div class="footer-content">
960
+ <div class="footer-links">
961
+ <a href="#"><i class="ri-github-line"></i> GitHub</a>
962
+ <a href="#"><i class="ri-book-line"></i> مستندات</a>
963
+ <a href="#"><i class="ri-community-line"></i> جامعه</a>
964
+ <a href="#"><i class="ri-question-line"></i> پشتیبانی</a>
965
+ <a href="#"><i class="ri-shield-line"></i> امنیت</a>
966
+ </div>
967
+ <p style="color: var(--text-secondary);">
968
+ © 2025 TON Advanced Project Builder v3.0.0 | ساخته شده با ❤️ برای اکوسیستم TON
969
+ </p>
970
+ </div>
971
+ </footer>
972
+
973
+ <script>
974
+ // Tab switching
975
+ function switchTab(tabName, tabElement) {
976
+ // Hide all tabs
977
+ document.querySelectorAll('.tab-content').forEach(content => {
978
+ content.classList.remove('active');
979
+ });
980
+
981
+ // Remove active class from all tabs
982
+ document.querySelectorAll('.tab').forEach(tab => {
983
+ tab.classList.remove('active');
984
+ });
985
+
986
+ // Show selected tab
987
+ document.getElementById(tabName).classList.add('active');
988
+ tabElement.classList.add('active');
989
+ }
990
+
991
+ // Command runner simulation
992
+ function runCommand(command) {
993
+ showNotification(`در حال اجرای دستور: ${command}`, 'info');
994
+
995
+ // Simulate command execution
996
+ setTimeout(() => {
997
+ showNotification(`دستور ${command} با موفقیت اجرا شد!`, 'success');
998
+ }, 2000);
999
+ }
1000
+
1001
+ // Environment check simulation
1002
+ function checkEnvironment() {
1003
+ showNotification('در حال بررسی محیط...', 'info');
1004
+
1005
+ const checks = [
1006
+ 'بررسی Node.js...',
1007
+ 'بررسی Blueprint SDK...',
1008
+ 'بررسی اتصال شبکه...',
1009
+ 'بررسی امنیت...',
1010
+ 'تأیید مجوزها...'
1011
+ ];
1012
+
1013
+ checks.forEach((check, index) => {
1014
+ setTimeout(() => {
1015
+ showNotification(check, 'info');
1016
+ if (index === checks.length - 1) {
1017
+ setTimeout(() => {
1018
+ showNotification('محیط TON Professional آماده استفاده! 🎉', 'success');
1019
+ }, 1000);
1020
+ }
1021
+ }, index * 800);
1022
+ });
1023
+ }
1024
+
1025
+ // Install dependencies simulation
1026
+ function installDependencies() {
1027
+ showNotification('شروع نصب وابستگی‌ها...', 'info');
1028
+
1029
+ const packages = [
1030
+ '@ton/blueprint',
1031
+ '@ton/ton',
1032
+ '@ton/core',
1033
+ '@ton/crypto',
1034
+ 'toncli',
1035
+ 'create-ton'
1036
+ ];
1037
+
1038
+ packages.forEach((pkg, index) => {
1039
+ setTimeout(() => {
1040
+ showNotification(`نصب ${pkg}...`, 'info');
1041
+ if (index === packages.length - 1) {
1042
+ setTimeout(() => {
1043
+ showNotification('همه وابستگی‌ها با موفقیت نصب شدند! ✅', 'success');
1044
+ }, 1000);
1045
+ }
1046
+ }, index * 600);
1047
+ });
1048
+ }
1049
+
1050
+ // Create project simulation
1051
+ function createProject() {
1052
+ const projectName = prompt('نام پروژه را وارد کنید:', 'my-ton-dapp');
1053
+ if (projectName) {
1054
+ showNotification(`ایجاد پروژه ${projectName}...`, 'info');
1055
+
1056
+ setTimeout(() => {
1057
+ showNotification('ایجاد ساختار پروژه...', 'info');
1058
+ }, 1000);
1059
+
1060
+ setTimeout(() => {
1061
+ showNotification('نصب وابستگی‌های پروژه...', 'info');
1062
+ }, 2000);
1063
+
1064
+ setTimeout(() => {
1065
+ showNotification(`پروژه ${projectName} با موفقیت ایجاد شد! 🚀`, 'success');
1066
+ }, 3000);
1067
+ }
1068
+ }
1069
+
1070
+ // Start setup simulation
1071
+ function startSetup() {
1072
+ showNotification('شروع راه‌اندازی TON Advanced Project Builder...', 'info');
1073
+
1074
+ const steps = [
1075
+ 'تنظیم محیط امن...',
1076
+ 'بررسی پیش