-
Notifications
You must be signed in to change notification settings - Fork 13k
Expand file tree
/
Copy pathindex.html
More file actions
966 lines (833 loc) · 30.9 KB
/
Copy pathindex.html
File metadata and controls
966 lines (833 loc) · 30.9 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
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CodeFlow | Visual Development Platform</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Roboto:wght@300;400;500&display=swap" rel="stylesheet">
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Roboto', sans-serif;
line-height: 1.6;
color: #333;
background-color: #f9fbfd;
}
h1, h2, h3, h4 {
font-family: 'Poppins', sans-serif;
font-weight: 600;
line-height: 1.3;
}
.container {
width: 100%;
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
/* Header & Navigation */
header {
background-color: #fff;
box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
position: fixed;
width: 100%;
z-index: 1000;
}
nav {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px 0;
}
.logo {
display: flex;
align-items: center;
}
.logo-icon {
color: #4361ee;
font-size: 28px;
margin-right: 10px;
}
.logo-text {
font-family: 'Poppins', sans-serif;
font-size: 24px;
font-weight: 700;
color: #333;
}
.logo-text span {
color: #4361ee;
}
.nav-links {
display: flex;
list-style: none;
}
.nav-links li {
margin-left: 30px;
}
.nav-links a {
text-decoration: none;
color: #555;
font-weight: 500;
transition: color 0.3s;
}
.nav-links a:hover {
color: #4361ee;
}
.cta-button {
background-color: #4361ee;
color: white;
border: none;
padding: 12px 28px;
border-radius: 6px;
font-weight: 600;
cursor: pointer;
transition: background-color 0.3s, transform 0.2s;
}
.cta-button:hover {
background-color: #3a56d4;
transform: translateY(-2px);
}
.mobile-menu-btn {
display: none;
background: none;
border: none;
font-size: 24px;
color: #333;
cursor: pointer;
}
/* Hero Section */
.hero {
padding: 150px 0 100px;
background: linear-gradient(135deg, #f0f4ff 0%, #f9fbfd 100%);
}
.hero-content {
display: flex;
align-items: center;
justify-content: space-between;
}
.hero-text {
flex: 1;
padding-right: 40px;
}
.hero-text h1 {
font-size: 48px;
margin-bottom: 20px;
color: #222;
}
.hero-text h1 span {
color: #4361ee;
}
.hero-text p {
font-size: 18px;
color: #666;
margin-bottom: 30px;
max-width: 600px;
}
.hero-buttons {
display: flex;
gap: 15px;
}
.secondary-button {
background-color: white;
color: #4361ee;
border: 2px solid #4361ee;
padding: 12px 28px;
border-radius: 6px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s;
}
.secondary-button:hover {
background-color: #f0f4ff;
}
.hero-image {
flex: 1;
text-align: center;
}
.hero-image img {
max-width: 100%;
border-radius: 10px;
box-shadow: 0 20px 40px rgba(67, 97, 238, 0.15);
}
/* Features Section */
.section-title {
text-align: center;
margin-bottom: 60px;
}
.section-title h2 {
font-size: 36px;
color: #222;
margin-bottom: 15px;
}
.section-title p {
color: #666;
max-width: 700px;
margin: 0 auto;
}
.features {
padding: 100px 0;
background-color: white;
}
.features-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 40px;
}
.feature-card {
background: #fff;
padding: 30px;
border-radius: 10px;
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
transition: transform 0.3s, box-shadow 0.3s;
}
.feature-card:hover {
transform: translateY(-10px);
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}
.feature-icon {
background-color: #eef2ff;
color: #4361ee;
width: 70px;
height: 70px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 20px;
font-size: 28px;
}
.feature-card h3 {
font-size: 22px;
margin-bottom: 15px;
}
.feature-card p {
color: #666;
}
/* Benefits Section */
.benefits {
padding: 100px 0;
background-color: #f0f4ff;
}
.benefits-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 30px;
}
.benefit-item {
text-align: center;
padding: 30px 20px;
}
.benefit-icon {
color: #4361ee;
font-size: 40px;
margin-bottom: 20px;
}
.benefit-item h3 {
font-size: 22px;
margin-bottom: 15px;
}
.benefit-item p {
color: #666;
}
/* Testimonials */
.testimonials {
padding: 100px 0;
background-color: white;
}
.testimonial-slider {
max-width: 800px;
margin: 0 auto;
position: relative;
}
.testimonial {
background: #f9fbfd;
padding: 40px;
border-radius: 10px;
text-align: center;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
.testimonial-text {
font-size: 18px;
font-style: italic;
margin-bottom: 30px;
color: #555;
}
.testimonial-author {
display: flex;
align-items: center;
justify-content: center;
}
.author-avatar {
width: 60px;
height: 60px;
border-radius: 50%;
background-color: #ddd;
margin-right: 15px;
display: flex;
align-items: center;
justify-content: center;
font-weight: bold;
color: #4361ee;
font-size: 24px;
}
.author-info h4 {
font-size: 18px;
margin-bottom: 5px;
}
.author-info p {
color: #777;
font-size: 14px;
}
/* Pricing Section */
.pricing {
padding: 100px 0;
background-color: #f9fbfd;
}
.pricing-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 30px;
}
.pricing-card {
background: white;
border-radius: 10px;
padding: 40px 30px;
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
text-align: center;
transition: transform 0.3s;
}
.pricing-card.featured {
border-top: 5px solid #4361ee;
transform: scale(1.05);
position: relative;
}
.featured-badge {
position: absolute;
top: -12px;
left: 50%;
transform: translateX(-50%);
background-color: #4361ee;
color: white;
padding: 5px 20px;
border-radius: 20px;
font-size: 14px;
font-weight: 600;
}
.pricing-card:hover {
transform: translateY(-10px);
}
.pricing-card.featured:hover {
transform: scale(1.05) translateY(-10px);
}
.plan-name {
font-size: 24px;
margin-bottom: 15px;
color: #333;
}
.plan-price {
font-size: 48px;
font-weight: 700;
color: #4361ee;
margin-bottom: 20px;
}
.plan-price span {
font-size: 16px;
color: #777;
}
.plan-features {
list-style: none;
margin-bottom: 30px;
}
.plan-features li {
padding: 10px 0;
border-bottom: 1px solid #eee;
color: #555;
}
.plan-features li:last-child {
border-bottom: none;
}
/* CTA Section */
.cta-section {
padding: 100px 0;
background: linear-gradient(135deg, #4361ee 0%, #3a56d4 100%);
text-align: center;
color: white;
}
.cta-section h2 {
font-size: 36px;
margin-bottom: 20px;
}
.cta-section p {
font-size: 18px;
max-width: 700px;
margin: 0 auto 30px;
opacity: 0.9;
}
.cta-section .cta-button {
background-color: white;
color: #4361ee;
font-size: 16px;
padding: 15px 40px;
}
.cta-section .cta-button:hover {
background-color: #f0f4ff;
}
/* Footer */
footer {
background-color: #222;
color: #ccc;
padding: 70px 0 20px;
}
.footer-content {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 40px;
margin-bottom: 50px;
}
.footer-column h3 {
font-size: 20px;
color: white;
margin-bottom: 25px;
}
.footer-links {
list-style: none;
}
.footer-links li {
margin-bottom: 12px;
}
.footer-links a {
color: #aaa;
text-decoration: none;
transition: color 0.3s;
}
.footer-links a:hover {
color: #4361ee;
}
.copyright {
text-align: center;
padding-top: 20px;
border-top: 1px solid #444;
font-size: 14px;
color: #888;
}
/* Responsive Design */
@media (max-width: 992px) {
.hero-content {
flex-direction: column;
}
.hero-text {
padding-right: 0;
margin-bottom: 50px;
text-align: center;
}
.hero-text p {
margin: 0 auto 30px;
}
.pricing-card.featured {
transform: none;
}
.pricing-card.featured:hover {
transform: translateY(-10px);
}
}
@media (max-width: 768px) {
.nav-links {
display: none;
}
.mobile-menu-btn {
display: block;
}
.hero-text h1 {
font-size: 36px;
}
.section-title h2 {
font-size: 30px;
}
.hero-buttons {
flex-direction: column;
align-items: center;
}
.hero-buttons button {
width: 100%;
max-width: 300px;
}
}
@media (max-width: 576px) {
.hero {
padding: 130px 0 80px;
}
.features, .benefits, .testimonials, .pricing, .cta-section {
padding: 70px 0;
}
.feature-card, .testimonial {
padding: 25px;
}
.plan-price {
font-size: 36px;
}
}
</style>
</head>
<body>
<!-- Header & Navigation -->
<header>
<div class="container">
<nav>
<div class="logo">
<div class="logo-icon"><i class="fas fa-bezier-curve"></i></div>
<div class="logo-text">Code<span>Flow</span></div>
</div>
<ul class="nav-links">
<li><a href="#features">Features</a></li>
<li><a href="#benefits">Benefits</a></li>
<li><a href="#testimonials">Testimonials</a></li>
<li><a href="#pricing">Pricing</a></li>
<li><a href="#">Resources</a></li>
</ul>
<button class="cta-button">Start Free Trial</button>
<button class="mobile-menu-btn"><i class="fas fa-bars"></i></button>
</nav>
</div>
</header>
<!-- Hero Section -->
<section class="hero">
<div class="container">
<div class="hero-content">
<div class="hero-text">
<h1>Build Apps Faster With <span>Visual Development</span></h1>
<p>CodeFlow empowers teams to create enterprise-grade applications with minimal coding. Drag, drop, and connect components to build powerful web and mobile apps in record time.</p>
<div class="hero-buttons">
<button class="cta-button">Start Building Free</button>
<button class="secondary-button">Watch Demo</button>
</div>
</div>
<div class="hero-image">
<img src="https://images.unsplash.com/photo-1551650975-87deedd944c3?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80" alt="CodeFlow Platform Interface">
</div>
</div>
</div>
</section>
<!-- Features Section -->
<section class="features" id="features">
<div class="container">
<div class="section-title">
<h2>Powerful Features for Rapid Development</h2>
<p>CodeFlow provides all the tools you need to build, deploy, and scale applications without writing extensive code.</p>
</div>
<div class="features-grid">
<div class="feature-card">
<div class="feature-icon">
<i class="fas fa-th-large"></i>
</div>
<h3>Visual Builder</h3>
<p>Drag and drop UI components to design responsive interfaces. Connect data sources with simple point-and-click actions.</p>
</div>
<div class="feature-card">
<div class="feature-icon">
<i class="fas fa-database"></i>
</div>
<h3>Database Integration</h3>
<p>Connect to any data source with built-in connectors. Automatically generate CRUD operations without writing SQL.</p>
</div>
<div class="feature-card">
<div class="feature-icon">
<i class="fas fa-mobile-alt"></i>
</div>
<h3>Cross-Platform</h3>
<p>Build once, deploy everywhere. Generate applications for web, iOS, and Android from a single visual design.</p>
</div>
<div class="feature-card">
<div class="feature-icon">
<i class="fas fa-code"></i>
</div>
<h3>Extensible with Code</h3>
<p>Add custom functionality with JavaScript when needed. Our platform doesn't limit your creativity or complexity.</p>
</div>
<div class="feature-card">
<div class="feature-icon">
<i class="fas fa-shield-alt"></i>
</div>
<h3>Enterprise Security</h3>
<p>Built-in authentication, authorization, and data encryption. SOC2 compliant with enterprise-grade security features.</p>
</div>
<div class="feature-card">
<div class="feature-icon">
<i class="fas fa-rocket"></i>
</div>
<h3>One-Click Deployment</h3>
<p>Deploy to cloud or on-premises with a single click. Automatic scaling and monitoring included.</p>
</div>
</div>
</div>
</section>
<!-- Benefits Section -->
<section class="benefits" id="benefits">
<div class="container">
<div class="section-title">
<h2>Why Choose CodeFlow?</h2>
<p>Join thousands of companies accelerating their digital transformation with low-code development.</p>
</div>
<div class="benefits-grid">
<div class="benefit-item">
<div class="benefit-icon">
<i class="fas fa-bolt"></i>
</div>
<h3>10x Faster Development</h3>
<p>Build applications in days instead of months with visual development tools.</p>
</div>
<div class="benefit-item">
<div class="benefit-icon">
<i class="fas fa-money-bill-wave"></i>
</div>
<h3>Reduce Costs by 70%</h3>
<p>Lower development and maintenance costs with fewer resources required.</p>
</div>
<div class="benefit-item">
<div class="benefit-icon">
<i class="fas fa-users"></i>
</div>
<h3>Citizen Developers</h3>
<p>Enable business users to build solutions with minimal IT assistance.</p>
</div>
<div class="benefit-item">
<div class="benefit-icon">
<i class="fas fa-chart-line"></i>
</div>
<h3>Scale Effortlessly</h3>
<p>From prototype to enterprise-scale applications with the same platform.</p>
</div>
</div>
</div>
</section>
<!-- Testimonials -->
<section class="testimonials" id="testimonials">
<div class="container">
<div class="section-title">
<h2>Trusted by Industry Leaders</h2>
<p>See what our customers have to say about their experience with CodeFlow.</p>
</div>
<div class="testimonial-slider">
<div class="testimonial">
<div class="testimonial-text">
"CodeFlow transformed how we deliver solutions to our business units. What used to take 6 months now takes 3 weeks. Our development team can focus on complex problems while business teams build their own solutions."
</div>
<div class="testimonial-author">
<div class="author-avatar">SC</div>
<div class="author-info">
<h4>Sarah Chen</h4>
<p>CTO, TechGrowth Inc.</p>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Pricing Section -->
<section class="pricing" id="pricing">
<div class="container">
<div class="section-title">
<h2>Simple, Transparent Pricing</h2>
<p>Choose the plan that fits your needs. All plans include core features with no hidden fees.</p>
</div>
<div class="pricing-grid">
<div class="pricing-card">
<h3 class="plan-name">Starter</h3>
<div class="plan-price">$29<span>/month</span></div>
<ul class="plan-features">
<li>Up to 5 users</li>
<li>10 GB storage</li>
<li>Basic components</li>
<li>Community support</li>
<li>1 production app</li>
</ul>
<button class="secondary-button">Get Started</button>
</div>
<div class="pricing-card featured">
<div class="featured-badge">Most Popular</div>
<h3 class="plan-name">Professional</h3>
<div class="plan-price">$89<span>/month</span></div>
<ul class="plan-features">
<li>Up to 25 users</li>
<li>100 GB storage</li>
<li>All components</li>
<li>Priority support</li>
<li>10 production apps</li>
<li>Custom branding</li>
</ul>
<button class="cta-button">Try Free for 14 Days</button>
</div>
<div class="pricing-card">
<h3 class="plan-name">Enterprise</h3>
<div class="plan-price">Custom</div>
<ul class="plan-features">
<li>Unlimited users</li>
<li>Unlimited storage</li>
<li>All features included</li>
<li>24/7 dedicated support</li>
<li>Unlimited apps</li>
<li>On-premises option</li>
</ul>
<button class="secondary-button">Contact Sales</button>
</div>
</div>
</div>
</section>
<!-- CTA Section -->
<section class="cta-section">
<div class="container">
<h2>Start Building Today</h2>
<p>Join over 10,000 companies that use CodeFlow to accelerate their application development. No credit card required for the free trial.</p>
<button class="cta-button">Get Started for Free</button>
</div>
</section>
<!-- Footer -->
<footer>
<div class="container">
<div class="footer-content">
<div class="footer-column">
<div class="logo">
<div class="logo-icon"><i class="fas fa-bezier-curve"></i></div>
<div class="logo-text">Code<span>Flow</span></div>
</div>
<p style="margin-top: 20px; color: #aaa;">The leading visual development platform for building enterprise applications with minimal coding.</p>
</div>
<div class="footer-column">
<h3>Product</h3>
<ul class="footer-links">
<li><a href="#">Features</a></li>
<li><a href="#">Pricing</a></li>
<li><a href="#">Use Cases</a></li>
<li><a href="#">Integrations</a></li>
<li><a href="#">Roadmap</a></li>
</ul>
</div>
<div class="footer-column">
<h3>Resources</h3>
<ul class="footer-links">
<li><a href="#">Documentation</a></li>
<li><a href="#">Tutorials</a></li>
<li><a href="#">Blog</a></li>
<li><a href="#">Community</a></li>
<li><a href="#">Support</a></li>
</ul>
</div>
<div class="footer-column">
<h3>Company</h3>
<ul class="footer-links">
<li><a href="#">About Us</a></li>
<li><a href="#">Careers</a></li>
<li><a href="#">Contact</a></li>
<li><a href="#">Privacy Policy</a></li>
<li><a href="#">Terms of Service</a></li>
</ul>
</div>
</div>
<div class="copyright">
<p>© 2023 CodeFlow. All rights reserved.</p>
</div>
</div>
</footer>
<script>
// Mobile menu toggle
document.querySelector('.mobile-menu-btn').addEventListener('click', function() {
const navLinks = document.querySelector('.nav-links');
navLinks.style.display = navLinks.style.display === 'flex' ? 'none' : 'flex';
// Adjust for mobile
if (window.innerWidth <= 768) {
if (navLinks.style.display === 'flex') {
navLinks.style.flexDirection = 'column';
navLinks.style.position = 'absolute';
navLinks.style.top = '80px';
navLinks.style.left = '0';
navLinks.style.width = '100%';
navLinks.style.backgroundColor = 'white';
navLinks.style.padding = '20px';
navLinks.style.boxShadow = '0 10px 20px rgba(0,0,0,0.1)';
const navItems = document.querySelectorAll('.nav-links li');
navItems.forEach(item => {
item.style.margin = '10px 0';
});
}
}
});
// Smooth scrolling for anchor links
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener('click', function(e) {
e.preventDefault();
const targetId = this.getAttribute('href');
if(targetId === '#') return;
const targetElement = document.querySelector(targetId);
if(targetElement) {
window.scrollTo({
top: targetElement.offsetTop - 80,
behavior: 'smooth'
});
// Close mobile menu if open
if(window.innerWidth <= 768) {
document.querySelector('.nav-links').style.display = 'none';
}
}
});
});
// Simple testimonial slider
const testimonials = [
{
text: "CodeFlow transformed how we deliver solutions to our business units. What used to take 6 months now takes 3 weeks. Our development team can focus on complex problems while business teams build their own solutions.",
name: "Sarah Chen",
position: "CTO, TechGrowth Inc.",
initials: "SC"
},
{
text: "We reduced our app development time by 80% using CodeFlow. The visual interface made it easy for our analysts to build data dashboards without waiting for IT resources.",
name: "Marcus Johnson",
position: "Director of Operations, DataCorp",
initials: "MJ"
},
{
text: "As a non-technical founder, CodeFlow allowed me to build our MVP in just 2 months. I could test ideas quickly and iterate based on user feedback without deep coding knowledge.",
name: "Lisa Wang",
position: "Founder, StartupLabs",
initials: "LW"
}
];
let currentTestimonial = 0;
const testimonialElement = document.querySelector('.testimonial');
function rotateTestimonial() {
currentTestimonial = (currentTestimonial + 1) % testimonials.length;
updateTestimonial();
}
function updateTestimonial() {
const testimonial = testimonials[currentTestimonial];
testimonialElement.innerHTML = `
<div class="testimonial-text">"${testimonial.text}"</div>
<div class="testimonial-author">
<div class="author-avatar">${testimonial.initials}</div>
<div class="author-info">
<h4>${testimonial.name}</h4>
<p>${testimonial.position}</p>
</div>
</div>
`;
}
// Auto-rotate testimonials every 5 seconds
setInterval(rotateTestimonial, 5000);
// CTA button interactions
document.querySelectorAll('.cta-button').forEach(button => {
button.addEventListener('click', function() {
alert('Thank you for your interest in CodeFlow! You would be redirected to the signup page in a real implementation.');
});
});
// Pricing card interactions
document.querySelectorAll('.pricing-card button').forEach(button => {
button.addEventListener('click', function() {
const planName = this.closest('.pricing-card').querySelector('.plan-name').textContent;
alert(`You selected the ${planName} plan. In a real implementation, you would be redirected to the checkout process.`);
});
});
</script>
</body>
</html>