-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
741 lines (700 loc) · 37.5 KB
/
index.html
File metadata and controls
741 lines (700 loc) · 37.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
<!DOCTYPE html>
<html lang="en" class="scroll-smooth">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>FarmLabs - Automate Your Blockchain Interactions</title>
<!-- Meta Tags for SEO + Social Sharing -->
<meta name="description" content="FarmLabs – Automate Web3 wallet behavior testing, EVM chain interaction simulation, and stealth research from your browser. No code required.">
<meta property="og:title" content="FarmLabs – Web3 Automation Suite" />
<meta property="og:image" content="https://d.cess.network/n1/1075188011.png" />
<meta property="og:url" content="https://farmlabs.pages.dev/" />
<meta property="og:description" content="No-code, local-first console for simulating EVM wallet behavior and research. For developers, by explorers." />
<!-- End Meta Tags -->
<script src="https://cdn.tailwindcss.com"></script>
<script defer data-domain="farmlabs.pages.dev" src="https://plausible.io/js/script.js"></script>
<!-- Required for QR Code and Typed.js functionality -->
<script src="https://cdn.jsdelivr.net/npm/qrcodejs@1.0.0/qrcode.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/typed.js@2.0.12"></script>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;900&display=swap" rel="stylesheet">
<link rel="preload" as="style" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
<style>
/* Base styles for consistency */
body {
font-family: 'Inter', sans-serif;
background-color: #f4f1eb; /* bg-primary */
color: #2d3748; /* text-main */
}
/* Dark mode styles - applied to html.dark */
html.dark {
background-color: #1a202c; /* Dark Slate */
color: #e2e8f0; /* Light Gray */
}
html.dark body {
background-color: #1a202c;
color: #e2e8f0;
}
html.dark .hero-section {
background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://placehold.co/1920x1080/1a202c/e2e8f0?text=FarmLabs');
background-size: cover;
background-position: center;
}
html.dark header {
background-color: #2d3748;
box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}
html.dark header h1, html.dark header a {
color: #e2e8f0;
}
html.dark #sidebar {
background-color: #2d3748;
box-shadow: 2px 0 5px rgba(0,0,0,0.3);
border-right: 1px solid #4a5568;
}
html.dark #sidebar h2, html.dark #sidebar .nav-link {
color: #e2e8f0;
}
html.dark #sidebar .nav-link:hover, html.dark #sidebar .nav-link.active {
background-color: #4a5568;
color: #63b3ed;
}
html.dark .security-banner {
background-color: #4a5568;
color: #fefcbf;
}
html.dark #how-it-works, html.dark #why-farmlabs, html.dark .metric-card, html.dark .feature-card, html.dark .tool-card, html.dark .modal-content, html.dark .testimonial-card {
background-color: #2d3748;
color: #e2e8f0;
box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}
html.dark .text-gray-600, html.dark .text-gray-500, html.dark .text-gray-400 {
color: #cbd5e0;
}
html.dark .tool-card.bg-yellow-100 {
background-color: #4a5568;
color: #e2e8f0;
}
html.dark .tool-card.bg-yellow-100 .text-yellow-700 {
color: #fefcbf;
}
html.dark .btn-secondary {
background-color: #4a5568;
border-color: #63b3ed;
color: #63b3ed;
}
html.dark .btn-secondary:hover {
background-color: #63b3ed;
color: #1a202c;
}
html.dark .bg-gray-50 { /* For tool-card */
background-color: #2d3748;
}
html.dark .bg-gray-200 { /* For theme toggle button */
background-color: #4a5568;
color: #e2e8f0;
}
html.dark .bg-gray-200:hover {
background-color: #63b3ed;
}
html.dark .bg-gray-700 { /* For donation address container */
background-color: #4a5568;
}
html.dark .modal-content {
border-color: #4a5568;
}
html.dark .close-qr-button {
color: #cbd5e0;
}
html.dark .close-qr-button:hover {
color: #e2e8f0;
}
html.dark .bg-blue-100 { /* For "How it Works" icons */
background-color: #4a5568;
}
html.dark .text-blue-500 { /* For "How it Works" icons */
color: #63b3ed;
}
html.dark footer {
background-color: #1f2937; /* Darker footer for dark mode */
}
html.dark .text-accent {
color: #90cdf4; /* Lighter accent for dark mode */
}
html.dark .text-blue-600 { /* For links */
color: #63b3ed;
}
html.dark .text-red-600 {
color: #fc8181; /* Lighter red for dark mode warnings */
}
/* Hero section background */
.hero-section {
background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://placehold.co/1920x1080/2d3748/f4f1eb?text=FarmLabs');
background-size: cover;
background-position: center;
}
/* Modal for QR code */
.modal {
display: none; /* Hidden by default */
}
.modal.flex {
display: flex;
}
/* Typed.js cursor styling */
.typed-cursor {
color: #3b82f6; /* Blue-500 */
}
/* --- Sidebar Navigation Styles --- */
#sidebar {
position: fixed;
top: 0;
left: 0;
height: 100vh;
width: 80px; /* Collapsed width */
background-color: #ffffff;
color: #2d3748;
padding-top: 1rem;
transition: width 0.3s ease-in-out;
z-index: 50;
box-shadow: 2px 0 5px rgba(0,0,0,0.1);
overflow-x: hidden;
border-right: 1px solid #e2e8f0;
}
#sidebar:hover {
width: 250px; /* Expanded width */
}
#sidebar .logo-container {
transition: justify-content 0.3s ease-in-out;
}
#sidebar:hover .logo-container {
justify-content: flex-start;
}
#sidebar .nav-link {
display: flex;
align-items: center;
justify-content: center;
padding: 1rem 1.5rem;
color: #4a5568;
font-weight: 600;
text-decoration: none;
transition: background-color 0.2s ease, color 0.2s ease, justify-content 0.3s ease-in-out;
white-space: nowrap;
}
#sidebar:hover .nav-link {
justify-content: flex-start;
}
#sidebar .nav-link:hover, #sidebar .nav-link.active {
background-color: #f1f5f9;
color: #1e40af;
}
#sidebar .nav-link i {
min-width: 24px;
text-align: center;
font-size: 1.25rem;
}
#sidebar .nav-text {
opacity: 0;
max-width: 0;
overflow: hidden;
white-space: nowrap;
margin-left: 0;
transition: opacity 0.2s ease-in-out, max-width 0.3s ease-in-out, margin-left 0.3s ease-in-out;
transition-delay: 0.1s;
}
#sidebar:hover .nav-text {
opacity: 1;
max-width: 200px;
margin-left: 0.75rem;
}
/* Adjust main content, header, and footer margin to accommodate sidebar */
header, main, footer {
margin-left: 80px;
transition: margin-left 0.3s ease-in-out;
}
#sidebar:hover ~ header,
#sidebar:hover ~ main,
#sidebar:hover ~ footer {
margin-left: 250px;
}
/* Ensure responsiveness for smaller screens */
@media (max-width: 768px) {
header, main, footer {
margin-left: 0;
}
#sidebar {
width: 0; /* Hide sidebar on mobile */
}
}
/* Custom styles for the new layout (from index2.html) */
.text-accent {
color: #63b3ed; /* Example accent color */
}
.btn-primary {
@apply bg-blue-600 hover:bg-blue-700 px-6 py-3 rounded-full font-bold text-white transition duration-300;
}
.btn-secondary {
@apply bg-white border border-blue-600 text-blue-700 px-6 py-3 rounded-full font-bold transition duration-300;
}
.feature-card {
@apply bg-white p-6 rounded-lg shadow-md hover:shadow-xl transition duration-300 transform hover:scale-105;
}
.tool-card {
@apply bg-gray-50 p-4 rounded-lg shadow-md transition duration-300 hover:shadow-lg;
}
.security-banner {
background-color: #fefcbf; /* bg-yellow-100 */
color: #8a6a00; /* text-yellow-800 */
padding: 1rem;
text-align: center;
font-weight: 500;
}
/* Additional styles from index.html for metric cards and coming soon */
.metric-card {
@apply bg-white p-6 rounded-lg shadow-md text-center;
}
.coming-soon-card {
@apply bg-gray-50 p-4 rounded-lg shadow-md flex flex-col items-center text-center;
}
.coming-soon-card .icon {
font-size: 2.5rem; /* Adjust icon size */
margin-bottom: 0.5rem;
}
.coming-soon-card .badge {
@apply bg-purple-600 text-white text-xs font-bold px-2 py-1 rounded-full mt-2;
}
/* Testimonial card specific styling */
.testimonial-card {
@apply bg-white p-8 rounded-lg shadow-lg;
}
</style>
</head>
<body class="text-main">
<!-- Sidebar Navigation -->
<div id="sidebar">
<div class="p-4 mt-8 flex items-center justify-center logo-container">
<img src="https://d.cess.network/n1/1075188011.png" alt="FarmLabs Logo" class="h-10 w-10 rounded-full">
<h2 class="text-xl font-bold text-gray-800 nav-text">FarmLabs</h2>
</div>
<nav class="flex flex-col mt-4">
<a href="index.html" class="nav-link active"><i class="fas fa-home"></i><span class="nav-text">Home</span></a>
<a href="basic.html" class="nav-link"><i class="fas fa-terminal"></i><span class="nav-text">Basic Console</span></a>
<a href="advance.html" class="nav-link"><i class="fas fa-tools"></i><span class="nav-text">Advanced Console</span></a>
<hr class="border-gray-300 my-2 mx-4">
<a href="infographic.html" class="nav-link"><i class="fas fa-chart-pie"></i><span class="nav-text">Infographic</span></a>
<a href="doc.html" class="nav-link"><i class="fas fa-file-alt"></i><span class="nav-text">Documentation</span></a>
</nav>
</div>
<!-- Header -->
<header class="bg-white shadow-md sticky top-0 z-40">
<div class="container mx-auto px-6 py-4 flex justify-between items-center">
<div class="flex items-center">
<h1 class="text-2xl font-bold text-gray-800">FarmLabs</h1>
</div>
<!-- Right-side social icons and dark mode toggle -->
<div class="flex items-center space-x-4">
<a href="https://farm-labs.blogspot.com/" target="_blank" rel="noopener noreferrer" class="text-gray-600 hover:text-blue-500" title="Farm Labs Blog">
<i class="fab fa-blogger text-xl"></i>
</a>
<a href="https://t.me/farm_lab" target="_blank" rel="noopener noreferrer" class="text-gray-600 hover:text-blue-500" title="Farm Lab Telegram">
<i class="fab fa-telegram text-xl"></i>
</a>
<a href="https://github.com/CryptoExplor/farmlabs" target="_blank" rel="noopener noreferrer" class="text-gray-600 hover:text-blue-500" title="Farm Labs GitHub">
<i class="fab fa-github text-xl"></i>
</a>
<!-- Dark Mode Toggle -->
<button id="theme-toggle" aria-label="Toggle Dark Mode" class="p-2 rounded-full bg-gray-200 text-gray-800 hover:bg-gray-300 transition-colors" title="Toggle Dark Mode">
<i class="fas fa-moon text-xl" id="theme-toggle-icon"></i>
</button>
</div>
</div>
</header>
<!-- Main Content -->
<main>
<!-- Hero Section -->
<section class="hero-section text-white py-20 md:py-32">
<div class="container mx-auto text-center px-6">
<!-- Combined hero headlines with Typed.js -->
<h1 class="text-4xl md:text-6xl font-extrabold leading-tight mb-4">Simulate <span id="typed-output"></span>, Interact Stealthily, and Build Faster.</h1>
<p class="text-lg md:text-xl text-gray-200 mb-8 max-w-3xl mx-auto">FarmLabs is your browser-based no-code automation suite for EVM development, wallet behavior testing, and smart interaction research. Fully client-side, privacy-preserving, and stealth-optimized.</p>
<div class="flex flex-col sm:flex-row justify-center items-center space-y-4 sm:space-y-0 sm:space-x-4">
<a href="basic.html" class="btn-primary">🛠️ Basic Console</a>
<a href="advance.html" class="btn-primary">🧠 Advanced Console</a>
<a href="doc.html" class="btn-secondary">📘 Documentation</a>
<a href="infographic.html" class="btn-secondary">📊 Infographic</a>
</div>
<p class="mt-8 text-sm text-gray-300"><i class="fas fa-lock mr-2"></i>Client-side processing ensures your private keys never leave your browser. Safe for testnets.</p>
</div>
</section>
<!-- Security Notice -->
<section class="security-banner py-6">
<p class="text-yellow-800 font-medium">⚠️ This tool is for testing and development only. Do not use wallets with real assets. All execution is local in-browser.</p>
</section>
<!-- How it Works Section -->
<section id="how-it-works" class="py-20 bg-white">
<div class="container mx-auto px-6">
<div class="text-center mb-12">
<h3 class="text-4xl font-bold text-gray-800">Get Started in 3 Easy Steps</h3>
<p class="text-gray-600 mt-2">Launch the console and start automating in minutes.</p>
</div>
<div class="grid grid-cols-1 md:grid-cols-3 gap-8 text-center">
<div class="p-4">
<div class="flex items-center justify-center h-20 w-20 mx-auto mb-6 bg-blue-100 text-blue-500 rounded-full text-3xl">
<i class="fas fa-wallet"></i>
</div>
<h4 class="text-xl font-bold mb-2">1. Connect Wallet</h4>
<p class="text-gray-600">Connect your Web3 wallet (e.g., MetaMask) to enable the console.</p>
</div>
<div class="p-4">
<div class="flex items-center justify-center h-20 w-20 mx-auto mb-6 bg-blue-100 text-blue-500 rounded-full text-3xl">
<i class="fas fa-sliders-h"></i>
</div>
<h4 class="text-xl font-bold mb-2">2. Configure Profile</h4>
<p class="text-gray-600">Load your keys, set delays, gas fees, and choose your stealth profile.</p>
</div>
<div class="p-4">
<div class="flex items-center justify-center h-20 w-20 mx-auto mb-6 bg-blue-100 text-blue-500 rounded-full text-3xl">
<i class="fas fa-play-circle"></i>
</div>
<h4 class="text-xl font-bold mb-2">3. Launch Console</h4>
<p class="text-gray-600">Start the script and monitor all activity from the live dashboard.</p>
</div>
</div>
</div>
</section>
<!-- Powerful Features at Your Fingertips Section -->
<section id="powerful-features" class="py-20">
<div class="container mx-auto px-6">
<div class="text-center mb-12">
<h3 class="text-4xl font-bold text-gray-800 dark:text-gray-100">Powerful Features at Your Fingertips</h3>
<p class="text-gray-600 mt-2 dark:text-gray-300">Everything you need to manage complex blockchain tasks efficiently.</p>
</div>
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
<!-- Feature 1 -->
<div class="bg-white dark:bg-gray-700 p-8 rounded-lg shadow-lg text-center transition-all duration-300 ease-in-out hover:scale-105 hover:shadow-2xl cursor-pointer">
<i class="fas fa-cogs text-4xl text-blue-500 mb-4"></i>
<h4 class="text-xl font-bold mb-2 dark:text-gray-100">Advanced Configuration</h4>
<p class="text-gray-600 dark:text-gray-300">Fine-tune every aspect of your script, from gas fees and transaction delays to human-like behavior simulation.</p>
</div>
<!-- Feature 2 -->
<div class="bg-white dark:bg-gray-700 p-8 rounded-lg shadow-lg text-center transition-all duration-300 ease-in-out hover:scale-105 hover:shadow-2xl cursor-pointer">
<i class="fas fa-tachometer-alt text-4xl text-blue-500 mb-4"></i>
<h4 class="text-xl font-bold mb-2 dark:text-gray-100">Live Dashboard</h4>
<p class="text-gray-600 dark:text-gray-300">Monitor your wallets, track performance, and view real-time logs and analytics all in one place.</p>
</div>
<!-- Feature 3 -->
<div class="bg-white dark:bg-gray-700 p-8 rounded-lg shadow-lg text-center transition-all duration-300 ease-in-out hover:scale-105 hover:shadow-2xl cursor-pointer">
<i class="fas fa-shield-alt text-4xl text-blue-500 mb-4"></i>
<h4 class="text-xl font-bold mb-2 dark:text-gray-100">Security First</h4>
<p class="text-gray-600 dark:text-gray-300">Client-side processing ensures your private keys never leave your browser. Use with testnets for full peace of mind.</p>
</div>
</div>
</div>
</section>
<!-- Why FarmLabs? Section -->
<section id="why-farmlabs" class="py-20 bg-white dark:bg-gray-800">
<div class="container mx-auto px-6">
<div class="text-center mb-12">
<h3 class="text-4xl font-bold text-gray-800 dark:text-gray-100">Why FarmLabs?</h3>
<p class="text-gray-600 mt-2 dark:text-gray-300">Empowering developers and researchers with cutting-edge Web3 automation.</p>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8">
<div class="feature-card">
<div class="text-4xl text-blue-500 mb-4">🧠</div>
<h4 class="text-xl font-bold mb-2">Human-like Behavior Simulation</h4>
<p class="text-gray-600">Simulate realistic wallet interactions and transaction patterns for robust testing and research.</p>
</div>
<div class="feature-card">
<div class="text-4xl text-blue-500 mb-4">🔐</div>
<h4 class="text-xl font-bold mb-2">100% Client-Side Execution</h4>
<p class="text-gray-600">Your operations run entirely in your browser, ensuring maximum privacy and security. No keys ever leave your device.</p>
</div>
<div class="feature-card">
<div class="text-4xl text-blue-500 mb-4">⚙️</div>
<h4 class="text-xl font-bold mb-2">Custom Delay and Randomness</h4>
<p class="text-gray-600">Fine-tune timing and introduce variability to mimic organic user behavior and avoid detection.</p>
</div>
<div class="feature-card">
<div class="text-4xl text-blue-500 mb-4">🌐</div>
<h4 class="text-xl font-bold mb-2">Multi-Chain & RPC Rotation</h4>
<p class="text-gray-600">Seamlessly interact with various EVM-compatible chains and rotate RPCs for enhanced reliability and decentralization.</p>
</div>
</div>
</div>
</section>
<!-- Our Impact Section (Animated Counters) -->
<section id="our-impact-section" class="py-20 bg-gray-100 dark:bg-gray-900">
<div class="container mx-auto px-6">
<div class="text-center mb-12">
<h3 class="text-4xl font-bold text-gray-800 dark:text-gray-100">Our Impact</h3>
<p class="text-gray-600 mt-2 dark:text-gray-300">Driving efficiency and innovation in Web3 development.</p>
</div>
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
<div class="metric-card">
<div class="text-5xl font-bold text-blue-600" id="wallets-managed">0+</div>
<p class="text-gray-600 dark:text-gray-300">Wallets Simulated</p>
</div>
<div class="metric-card">
<div class="text-5xl font-bold text-blue-600" id="chains-supported">0+</div>
<p class="text-gray-600 dark:text-gray-300">Chains Supported</p>
</div>
<div class="metric-card">
<div class="text-5xl font-bold text-blue-600" id="gas-variants">0+</div>
<p class="text-gray-600 dark:text-gray-300">Interaction Variants</p>
</div>
</div>
</div>
</section>
<!-- Key Features Section (formerly "Coming Soon" from index2.html) -->
<section id="key-features" class="py-20">
<div class="container mx-auto px-6">
<div class="text-center mb-12">
<h3 class="text-4xl font-bold text-gray-800 dark:text-gray-100">Key Features</h3>
<p class="text-gray-600 mt-2 dark:text-gray-300">Tools to streamline your EVM development and interaction research.</p>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
<div class="tool-card">
<div class="text-3xl mb-2">👤</div>
<h4 class="text-xl font-semibold mb-1">Wallet Simulation</h4>
<p class="text-sm text-gray-500">Model persona-based wallet behaviors</p>
</div>
<div class="tool-card">
<div class="text-3xl mb-2">🧪</div>
<h4 class="text-xl font-semibold mb-1">Protocol Testing</h4>
<p class="text-sm text-gray-500">Automate protocol interactions</p>
</div>
<div class="tool-card">
<div class="text-3xl mb-2">🛠️</div>
<h4 class="text-xl font-semibold mb-1">Deploy Contracts</h4>
<p class="text-sm text-gray-500">Push bytecode to testnet RPCs</p>
</div>
<div class="tool-card">
<div class="text-3xl mb-2">🌉</div>
<h4 class="text-xl font-semibold mb-1">Bridge Simulator</h4>
<p class="text-sm text-gray-500">Emulate cross-chain tx patterns</p>
</div>
<div class="tool-card">
<div class="text-3xl mb-2">🖊️</div>
<h4 class="text-xl font-semibold mb-1">TX Signer</h4>
<p class="text-sm text-gray-500">Build & send raw EVM txs</p>
</div>
<div class="tool-card bg-yellow-100">
<div class="text-3xl mb-2">🧠</div>
<h4 class="text-xl font-semibold mb-1">Configurator</h4>
<p class="text-sm text-yellow-700">No-code UI to customize logic</p>
</div>
</div>
</div>
</section>
<!-- Testimonials Section -->
<section class="py-20">
<div class="container mx-auto px-6">
<div class="text-center mb-12">
<h3 class="text-4xl font-bold text-gray-800 dark:text-gray-100">What Users Are Saying</h3>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 gap-8">
<div class="bg-white dark:bg-gray-700 p-8 rounded-lg shadow-lg">
<p class="text-gray-600 italic mb-4 dark:text-gray-300">"FarmLabs has revolutionized my Web3 development workflow. The ability to simulate complex interactions locally is invaluable!"</p>
<div class="flex items-center">
<img src="https://placehold.co/40x40/E2E8F0/4A5568?text=A" class="h-10 w-10 rounded-full mr-4" alt="User Avatar">
<div>
<p class="font-bold dark:text-gray-100">Alex_Crypto</p>
<p class="text-sm text-gray-500 dark:text-gray-400">Web3 Researcher</p>
</div>
</div>
</div>
<div class="bg-white dark:bg-gray-700 p-8 rounded-lg shadow-lg">
<p class="text-gray-600 italic mb-4 dark:text-gray-300">"The advanced console saved me hours of manual work. The real-time dashboard is incredibly useful for tracking everything."</p>
<div class="flex items-center">
<img src="https://placehold.co/40x40/E2E8F0/4A5568?text=J" class="h-10 w-10 rounded-full mr-4" alt="User Avatar">
<div>
<p class="font-bold dark:text-gray-100">Jane_DeFi</p>
<p class="text-sm text-gray-500 dark:text-gray-400">Advanced User</p>
</div>
</div>
</div>
</div>
</div>
</section>
</main>
<!-- UNIFIED DARK FOOTER with Donation -->
<footer class="bg-gray-800 text-white py-12 dark:bg-gray-900">
<div class="container mx-auto px-6 text-center">
<h3 class="text-2xl font-bold mb-2">We Grow Together!</h3>
<p class="mb-4 max-w-2xl mx-auto text-gray-300">
Your contributions help keep this project alive, ad-free, and continuously improving. Consider supporting our development efforts by donating.
</p>
<div class="flex items-center justify-center bg-gray-700 p-3 rounded-lg max-w-md mx-auto mb-6 shadow-md dark:bg-gray-800">
<span id="donation-address" class="text-sm md:text-base text-white font-mono break-all mr-2">0x1C46ccEA4D62d3eEC4DCE3501aa96d0Ff5FcA954</span>
<button id="copy-address-btn" class="ml-auto p-2 rounded-md hover:bg-gray-600 transition-colors" title="Copy Address">
<svg id="copy-icon" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor" class="bi bi-clipboard" viewBox="0 0 16 16">
<path d="M4 1.5H3a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2v-8a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1v-8a1 1 0 0 1 1-1h1v-1z"/>
<path d="M9.5 1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h3zm-3-1A1.5 1.5 0 0 0 5 1.5v1A1.5 1.5 0 0 0 6.5 4h3A1.5 1.5 0 0 0 11 2.5v-1A1.5 1.5 0 0 0 9.5 0h-3z"/>
</svg>
<svg id="check-icon" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor" class="bi bi-check2 hidden text-green-400" viewBox="0 0 16 16">
<path d="M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z"/>
</svg>
</button>
<button id="show-qr-btn" class="ml-2 p-2 rounded-md hover:bg-gray-600 transition-colors" title="Show QR Code">
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor" class="bi bi-qr-code" viewBox="0 0 16 16">
<path d="M2 2h2v2H2V2Z"/>
<path d="M6 0v6H0V0h6ZM5 1H1v4h4V1ZM4 12H2v2h2v-2Z"/>
<path d="M6 10v6H0v-6h6Zm-5 1v4h4v-4H1Zm11-9h2v2h-2V2Z"/>
<path d="M10 0v6h6V0h-6ZM5 1v4h-4V1h4ZM8 1V0h1v2H8v2H7V1h1Zm0 5V4h1v2H8ZM6 8V7h1V6h1v2h1V7h5v1h-4v1H7V8H6Zm0 0v1H2V8H1v1H0V7h3v1h3Zm10 1h-1V7h1v2Zm-1 0h-1v2h2v-1h-1V9Zm-4 0h2v1h-1v1h-1V9Zm2 3v-1h-1v1h-1v1H9v1h3v-2h1v-1h-3Zm-4-3v1h1v-2H7v1h2v1H7Z"/>
<path d="M7 12h1v3h4v1H7v-4Zm9 2v2h-3v-1h2v-1h1Z"/>
</svg>
</button>
</div>
<p class="text-sm text-gray-400 mt-8">
© 2025 FarmLabs. All rights reserved.
</p>
<div class="flex items-center justify-center mt-4 space-x-6">
<a href="https://farm-labs.blogspot.com/" target="_blank" rel="noopener noreferrer" class="text-gray-400 hover:text-white" title="Blog">
<i class="fab fa-blogger fa-lg"></i>
</a>
<a href="https://t.me/farm_lab" target="_blank" rel="noopener noreferrer" class="text-gray-400 hover:text-white" title="Telegram">
<i class="fab fa-telegram fa-lg"></i>
</a>
<a href="https://github.com/CryptoExplor/farmlabs" target="_blank" rel="noopener noreferrer" class="text-gray-400 hover:text-white" title="GitHub">
<i class="fab fa-github fa-lg"></i>
</a>
</div>
</div>
</footer>
<!-- QR Code Modal -->
<div id="qr-code-modal" class="modal fixed z-50 left-0 top-0 w-full h-full overflow-auto bg-black bg-opacity-40 items-center justify-center">
<div class="modal-content bg-white text-gray-800 flex flex-col items-center text-center p-5 border border-gray-300 max-w-sm mx-auto rounded-lg shadow-lg relative">
<span class="close-qr-button self-end text-gray-400 text-3xl font-bold cursor-pointer hover:text-black">×</span>
<h3 class="text-xl font-bold mb-4">Donation Address</h3>
<div id="qr-code-container" class="p-4 bg-white inline-block rounded-lg shadow-inner"></div>
<p class="font-mono text-xs mt-4 break-all" id="qr-address-display"></p>
</div>
</div>
<script>
document.addEventListener('DOMContentLoaded', () => {
// --- Dark Mode Toggle ---
const themeToggleBtn = document.getElementById('theme-toggle');
const htmlElement = document.documentElement;
const themeToggleIcon = document.getElementById('theme-toggle-icon');
// Check for saved theme preference
const currentTheme = localStorage.getItem('theme');
if (currentTheme === 'dark') {
htmlElement.classList.add('dark');
themeToggleIcon.classList.remove('fa-moon');
themeToggleIcon.classList.add('fa-sun');
} else {
htmlElement.classList.remove('dark');
themeToggleIcon.classList.remove('fa-sun');
themeToggleIcon.classList.add('fa-moon');
}
themeToggleBtn.addEventListener('click', () => {
htmlElement.classList.toggle('dark');
const isDarkMode = htmlElement.classList.contains('dark');
localStorage.setItem('theme', isDarkMode ? 'dark' : 'light');
themeToggleIcon.classList.toggle('fa-sun', isDarkMode);
themeToggleIcon.classList.toggle('fa-moon', !isDarkMode);
});
// --- Typed.js Hero Animation ---
if (typeof Typed !== 'undefined') {
new Typed('#typed-output', {
strings: ['Smarter', 'Stealthily', 'Faster'], // Updated strings for the new sentence structure
typeSpeed: 60,
backSpeed: 40,
loop: true
});
} else {
document.getElementById('typed-output').textContent = 'smarter';
}
// --- Animated Counters for "Our Impact" Section ---
function animateValue(id, start, end, duration) {
let range = end - start;
let current = start;
let increment = end > start ? 1 : -1;
let stepTime = Math.abs(Math.floor(duration / range));
let obj = document.getElementById(id);
let timer = setInterval(function() {
current += increment;
obj.textContent = current + "+";
if (current === end) {
clearInterval(timer);
}
}, stepTime);
}
// Call animations when the "Our Impact" section comes into view
const impactSection = document.getElementById('our-impact-section');
const observer = new IntersectionObserver((entries, observer) => {
entries.forEach(entry => {
if (entry.isIntersecting) {
animateValue('wallets-managed', 0, 1200, 2000); // Updated to 1200
animateValue('chains-supported', 0, 100, 1800);
animateValue('gas-variants', 0, 99, 2200); // Updated to 99
observer.unobserve(entry.target); // Stop observing once animated
}
});
}, { threshold: 0.5 }); // Trigger when 50% of the section is visible
if (impactSection) {
observer.observe(impactSection);
}
// --- Footer & Modal Functionality ---
const donationAddressStr = '0x1C46ccEA4D62d3eEC4DCE3501aa96d0Ff5FcA954';
const copyBtn = document.getElementById('copy-address-btn');
const copyIcon = document.getElementById('copy-icon');
const checkIcon = document.getElementById('check-icon');
const showQrBtn = document.getElementById('show-qr-btn');
const qrModal = document.getElementById('qr-code-modal');
const closeQrModalBtn = qrModal.querySelector('.close-qr-button');
const qrCodeContainer = document.getElementById('qr-code-container');
const qrAddressDisplay = document.getElementById('qr-address-display');
// --- Copy to Clipboard Functionality ---
copyBtn.addEventListener('click', () => {
const textArea = document.createElement("textarea");
textArea.value = donationAddressStr;
document.body.appendChild(textArea);
textArea.select();
try {
document.execCommand('copy');
copyIcon.classList.add('hidden');
checkIcon.classList.remove('hidden');
setTimeout(() => {
copyIcon.classList.remove('hidden');
checkIcon.classList.add('hidden');
}, 2000);
} catch (err) {
console.error('Failed to copy text: ', err);
}
document.body.removeChild(textArea);
});
// --- QR Code Modal Functionality ---
if (typeof QRCode !== 'undefined') {
// Clear previous QR code if any
qrCodeContainer.innerHTML = '';
new QRCode(qrCodeContainer, {
text: donationAddressStr,
width: 200,
height: 200,
colorDark: "#2d3748",
colorLight: "#ffffff",
correctLevel: QRCode.CorrectLevel.H
});
qrAddressDisplay.textContent = donationAddressStr;
} else {
console.error("QRCode library is not loaded.");
qrCodeContainer.innerHTML = "QR Code library failed to load.";
}
showQrBtn.addEventListener('click', () => {
qrModal.classList.add('flex');
});
const closeQrModal = () => {
qrModal.classList.remove('flex');
}
closeQrModalBtn.addEventListener('click', closeQrModal);
window.addEventListener('click', (event) => {
if (event.target === qrModal) {
closeQrModal();
}
});
});
</script>
</body>
</html>