forked from clue/framework-x-website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
1219 lines (1138 loc) · 64 KB
/
index.html
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
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Framework X</title>
<link
href="https://unpkg.com/tailwindcss/dist/tailwind.min.css"
rel="stylesheet">
<link
href="https://unpkg.com/@tailwindcss/custom-forms/dist/custom-forms.min.css"
rel="stylesheet">
<link rel="stylesheet" href="src/code-landing.css">
<script src="src/highlight.pack.js"></script>
<script>hljs.highlightAll();</script>
</head>
<div class="relative bg-gray-900 overflow-hidden">
<div class="hidden sm:block sm:absolute sm:inset-0 max-w-7xl mx-auto" aria-hidden="true">
<svg class="absolute bottom-0 right-0 transform translate-x-1/2 mb-48 text-gray-700 lg:top-0 lg:mt-28 lg:mb-0 xl:transform-none xl:translate-x-0" width="364" height="384" viewBox="0 0 364 384" fill="none">
<defs>
<pattern id="eab71dd9-9d7a-47bd-8044-256344ee00d0" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse">
<rect x="0" y="0" width="4" height="4" fill="currentColor" />
</pattern>
</defs>
<rect width="364" height="384" fill="url(#eab71dd9-9d7a-47bd-8044-256344ee00d0)" />
</svg>
</div>
<div class="relative pt-6 pb-16 sm:pb-24">
<nav class="relative max-w-7xl mx-auto flex items-center justify-between px-4 sm:px-6" aria-label="Global">
<div class="flex items-center flex-1">
<div class="flex items-center justify-between w-full md:w-auto">
<span class="sr-only">Framework X</span>
<img class="h-8 w-auto sm:h-10" src="src/logo.svg" alt="Framework X logo">
</div>
<div class="hidden space-x-10 md:flex md:ml-10">
<a href="#features" class="text-base font-medium text-white hover:text-gray-300">Features</a>
<a href="#open-source" class="text-base font-medium text-white hover:text-gray-300">Open-Source</a>
<a href="#values" class="text-base font-medium text-white hover:text-gray-300">Values</a>
<a href="#faq" class="text-base font-medium text-white hover:text-gray-300">FAQ</a>
</div>
</div>
<div class="hidden md:flex md:items-center md:space-x-6">
<a href="#quickstart" class="text-base font-medium text-white hover:text-gray-300">
Quickstart
</a>
<a href="docs/" class="inline-flex items-center px-4 py-2 border border-transparent text-base font-medium rounded-md bg-indigo-500 text-white font-medium focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-300 focus:ring-offset-gray-900">
Documentation
</a>
</div>
</nav>
<main class="mt-16 sm:mt-24">
<div class="mx-auto max-w-7xl">
<div class="lg:grid lg:grid-cols-12 lg:gap-8">
<div class="px-4 sm:px-6 sm:text-center md:max-w-2xl md:mx-auto lg:col-span-6 lg:text-left lg:flex lg:items-center">
<div>
<a href="#cooperation" class="inline-flex items-center text-white bg-black rounded-full p-1 pr-2 sm:text-base lg:text-sm xl:text-base hover:text-gray-200">
<span class="px-3 py-0.5 text-white text-xs font-semibold leading-5 uppercase tracking-wide bg-indigo-500 rounded-full">Cooperations welcome</span>
<span class="ml-4 text-sm">Let’s work together</span>
<svg class="ml-2 w-5 h-5 text-gray-500" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
<path fill-rule="evenodd" d="M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z" clip-rule="evenodd" />
</svg>
</a>
<h1 class="mt-4 text-4xl tracking-tight font-extrabold text-white sm:mt-5 sm:leading-none lg:mt-6 lg:text-5xl xl:text-6xl">
<span class="md:block">Framework X</span>
<span class="text-indigo-400 md:block">react all the things</span>
</h1>
<p class="mt-3 text-base text-gray-300 sm:mt-5 sm:text-xl lg:text-lg xl:text-xl">
The simple and fast micro framework for building reactive web applications with PHP.
Supports async and non-blocking execution for maximum performance.
Runs anywhere, from shared hosting to your own servers.
Get started in minutes and scale to the next level with Framework X!
</p>
<div class="mt-10 sm:mt-12">
<form class="sm:max-w-xl sm:mx-auto lg:mx-0">
<div class="sm:flex">
<div class="min-w-0 flex-1">
<label for="email" class="sr-only">Email address</label>
<input disabled id="field" type="email" placeholder="Coming soon" class="cursor-not-allowed block w-full px-4 py-3 rounded-md border-0 text-base text-gray-800 bg-gray-800 placeholder-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-300 focus:ring-offset-gray-800">
</div>
<div class="mt-3 sm:mt-0 sm:ml-3">
<button disabled type="submit" class="block w-full py-3 px-4 rounded-md shadow bg-indigo-500 text-white font-medium cursor-not-allowed focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-300 focus:ring-offset-gray-900" title="Coming soon">Pre-registration open beta</button>
</div>
</div>
<p class="mt-3 text-sm text-gray-300 sm:mt-4">Apply for open beta access. Will be available soon.</p>
</form>
</div>
</div>
</div>
<div class="mt-16 sm:mt-24 lg:mt-0 lg:col-span-6">
<div class="relative mx-auto w-full rounded-lg shadow-lg lg:max-w-md">
<button type="button" class="cursor-not-allowed relative block w-full bg-white rounded-lg overflow-hidden focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500">
<span class="sr-only">Watch our video to learn more about Framework X.</span>
<!--Edited version of https://unsplash.com/photos/f77Bh3inUpE -->
<img class="w-full" src="src/video_placeholder.jpg" alt="Video of Framework X">
<div class="absolute inset-0 w-full h-full flex items-center justify-center" aria-hidden="true" title="Coming soon">
<svg class="h-20 w-20 text-indigo-500 hover:text-indigo-600" fill="currentColor" viewBox="0 0 84 84">
<circle opacity="0.9" cx="42" cy="42" r="42" fill="white" />
<path d="M55.5039 40.3359L37.1094 28.0729C35.7803 27.1869 34 28.1396 34 29.737V54.263C34 55.8604 35.7803 56.8131 37.1094 55.9271L55.5038 43.6641C56.6913 42.8725 56.6913 41.1275 55.5039 40.3359Z" />
</svg>
</div>
</button>
</div>
</div>
</div>
</div>
</main>
</div>
</div>
<section class="relative bg-indigo-600">
<div class="max-w-7xl mx-auto py-3 px-3 sm:px-6 lg:px-8">
<div class="pr-16 sm:text-center sm:px-16">
<p class="font-medium text-white">
<span class="md:hidden">
Early access.
</span>
<span class="hidden md:inline">
Big news! We're excited to announce early access is available.
</span>
<span class="block sm:ml-2 sm:inline-block">
<a href="https://github.com/clue-access/clue-access" class="text-white font-bold underline"> Get early access <span aria-hidden="true">→</span></a>
</span>
</p>
</div>
</div>
</section>
<section id="--screenshot" class="relative overflow-hidden py-16 lg:py-24">
<div class="mx-auto max-w-md px-4 text-center sm:px-6 sm:max-w-3xl lg:px-8 lg:max-w-7xl">
<div>
<h2 class="text-base font-semibold tracking-wider text-indigo-600 uppercase">Too good to be true?</h2>
<p class="mt-2 text-3xl font-extrabold text-gray-900 tracking-tight sm:text-4xl">
Sneak a peek at the code!
</p>
<p class="mt-5 max-w-prose mx-auto text-xl text-gray-500">
Here’s what using Framework X in code looks like.
</p>
</div>
<pre class="text-left mt-12 shadow-2xl"><code class="php rounded-md">require __DIR__ . '/../vendor/autoload.php';
$loop = React\EventLoop\Factory::create();
$app = new FrameworkX\App($loop);
$app->get('/', function () {
return new React\Http\Message\Response(
200,
[],
"Hello wörld!\n"
);
});
$app->get('/users/{name}', function (Psr\Http\Message\ServerRequestInterface $request) {
return new React\Http\Message\Response(
200,
[],
"Hello " . $request->getAttribute('name') . "!\n"
);
});
$loop->run();
</code></pre>
<p class="mt-12 max-w-prose mx-auto text-xl text-gray-500">
But that’s not all!
We are currently working on the documentation with all the details to give you a deep understanding of how everything works and how to build most common use-cases.
</p>
</div>
</section>
<section id="--testimonials" class="bg-indigo-800">
<div class="max-w-7xl mx-auto md:grid md:grid-cols-2 md:px-6 lg:px-8">
<div class="py-12 px-4 sm:px-6 md:flex md:flex-col md:py-16 md:pl-0 md:pr-10 md:border-r md:border-indigo-900 lg:pr-16">
<blockquote class="mt-6 md:flex-grow md:flex md:flex-col">
<div class="relative text-lg font-medium text-white md:flex-grow">
<svg class="absolute top-0 left-0 transform -translate-x-3 -translate-y-2 h-8 w-8 text-indigo-600" fill="currentColor" viewBox="0 0 32 32" aria-hidden="true">
<path d="M9.352 4C4.456 7.456 1 13.12 1 19.36c0 5.088 3.072 8.064 6.624 8.064 3.36 0 5.856-2.688 5.856-5.856 0-3.168-2.208-5.472-5.088-5.472-.576 0-1.344.096-1.536.192.48-3.264 3.552-7.104 6.624-9.024L9.352 4zm16.512 0c-4.8 3.456-8.256 9.12-8.256 15.36 0 5.088 3.072 8.064 6.624 8.064 3.264 0 5.856-2.688 5.856-5.856 0-3.168-2.304-5.472-5.184-5.472-.576 0-1.248.096-1.44.192.48-3.264 3.456-7.104 6.528-9.024L25.864 4z" />
</svg>
<p class="relative">
<a href="https://twitter.com/iantearle/status/1368897606835961863">
In fact, one of my most anticipated software arrivals in 2021 will be @x_framework
</a>
</p>
</div>
<footer class="mt-8">
<div class="flex items-start">
<div class="flex-shrink-0 inline-flex rounded-full border-2 border-white">
<img class="h-12 w-12 rounded-full" src="https://pbs.twimg.com/profile_images/1366666000385589251/yPJOPUw-_bigger.jpg" alt="Photo Ian Tearle">
</div>
<div class="ml-4">
<div class="text-base font-medium text-white">Ian Tearle</div>
<div class="text-base font-medium text-indigo-200">@iantearle</div>
</div>
</div>
</footer>
</blockquote>
</div>
<div class="py-12 px-4 border-t-2 border-indigo-900 sm:px-6 md:py-16 md:pr-0 md:pl-10 md:border-t-0 md:border-l lg:pl-16">
<blockquote class="mt-6 md:flex-grow md:flex md:flex-col">
<div class="relative text-lg font-medium text-white md:flex-grow">
<svg class="absolute top-0 left-0 transform -translate-x-3 -translate-y-2 h-8 w-8 text-indigo-600" fill="currentColor" viewBox="0 0 32 32">
<path d="M9.352 4C4.456 7.456 1 13.12 1 19.36c0 5.088 3.072 8.064 6.624 8.064 3.36 0 5.856-2.688 5.856-5.856 0-3.168-2.208-5.472-5.088-5.472-.576 0-1.344.096-1.536.192.48-3.264 3.552-7.104 6.624-9.024L9.352 4zm16.512 0c-4.8 3.456-8.256 9.12-8.256 15.36 0 5.088 3.072 8.064 6.624 8.064 3.264 0 5.856-2.688 5.856-5.856 0-3.168-2.304-5.472-5.184-5.472-.576 0-1.248.096-1.44.192.48-3.264 3.456-7.104 6.528-9.024L25.864 4z" />
</svg>
<p class="relative">
<a href="https://twitter.com/geertvanbommel/status/1387805916842577923">
I hope I can sleep tonight.
@x_framework #1moresleep for early access.
</a>
</p>
</div>
<footer class="mt-8">
<div class="flex items-start">
<div class="flex-shrink-0 inline-flex rounded-full border-2 border-white">
<img class="h-12 w-12 rounded-full" src="https://pbs.twimg.com/profile_images/1119674052543700992/uRHhy3gl_400x400.jpg" alt="Photo Geert Van Bommel">
</div>
<div class="ml-4">
<div class="text-base font-medium text-white">Geert Van Bommel</div>
<div class="text-base font-medium text-indigo-200">@geertvanbommel</div>
</div>
</div>
</footer>
</blockquote>
</div>
</div>
</section>
<section id="features" class="py-16 overflow-hidden lg:py-24">
<div class="relative max-w-xl mx-auto px-4 sm:px-6 lg:px-8 lg:max-w-7xl">
<header class="relative">
<h2 class="text-center text-3xl leading-8 font-extrabold tracking-tight text-gray-900 sm:text-4xl">
What makes Framework X a great choice for your projects
</h2>
<p class="mt-4 max-w-3xl mx-auto text-center text-xl text-gray-500">
Framework X combines years of experience from existing real-world projects.
</p>
</header>
<section id="simple" class="relative mt-12 lg:mt-24 lg:grid lg:grid-cols-2 lg:gap-8 lg:items-center">
<div class="relative">
<h3 class="text-2xl font-extrabold text-gray-900 tracking-tight sm:text-3xl">
Simple Web APIs
</h3>
<p class="mt-3 text-lg text-gray-500">
Building web APIs should be simple, lightweight and efficient.
That’s what Framework X is all about.
No matter if you’re building a RESTful or JSON-based HTTP API or the next big cat rating platform, we’ve got you covered.
Framework X doesn’t get in your way, it paves your way.
</p>
<dl class="mt-10 space-y-10">
<div class="flex">
<div class="flex-shrink-0">
<div class="flex items-center justify-center h-12 w-12 rounded-md bg-indigo-500 text-white">
<!-- Heroicon name: fast-forward -->
<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" aria-hidden="true">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M11.933 12.8a1 1 0 000-1.6L6.6 7.2A1 1 0 005 8v8a1 1 0 001.6.8l5.333-4zM19.933 12.8a1 1 0 000-1.6l-5.333-4A1 1 0 0013 8v8a1 1 0 001.6.8l5.333-4z"></path>
</svg>
</div>
</div>
<div class="ml-4">
<dt class="text-lg leading-6 font-medium text-gray-900">
Start in minutes
</dt>
<dd class="mt-2 text-base text-gray-500">
Framework X is super easy to get started with:
If you’ve used PHP and standard PSR-7 HTTP messages before, you’ll feel at home immediately.
Install the package with a single command and you’re ready to go.
</dd>
</div>
</div>
<div class="flex">
<div class="flex-shrink-0">
<div class="flex items-center justify-center h-12 w-12 rounded-md bg-indigo-500 text-white">
<!-- Heroicon name: cursor-click -->
<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" aria-hidden="true">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 15l-2 5L9 9l11 4-5 2zm0 0l5 5M7.188 2.239l.777 2.897M5.136 7.965l-2.898-.777M13.95 4.05l-2.122 2.122m-5.657 5.656l-2.12 2.122"></path>
</svg>
</div>
</div>
<div class="ml-4">
<dt class="text-lg leading-6 font-medium text-gray-900">
Web APIs and beyond
</dt>
<dd class="mt-2 text-base text-gray-500">
No matter if you’re building a RESTful or JSON-based HTTP API or the next big cat rating platform, we’ve got you covered.
Processing images, XML data or large CSV files? No problemo.
</dd>
</div>
</div>
<div class="flex">
<div class="flex-shrink-0">
<div class="flex items-center justify-center h-12 w-12 rounded-md bg-indigo-500 text-white">
<!-- Heroicon name: lightning-bolt -->
<svg class="h-6 w-6" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 10V3L4 14h7v7l9-11h-7z" />
</svg>
</div>
</div>
<div class="ml-4">
<dt class="text-lg leading-6 font-medium text-gray-900">
From <abbr title="Rapid Application Development" class="cursor-help">RAD</abbr> and prototypes to production in hours, not weeks
</dt>
<dd class="mt-2 text-base text-gray-500">
Starting a new project feels great.
Shipping to production should feel the same.
We provide the tools and guidelines so you can have a piece of mind.
</dd>
</div>
</div>
</dl>
</div>
<div class="mt-10 -mx-4 relative hidden lg:block" aria-hidden="true">
<img class="relative mx-auto" width="490" src="src/simplewebapis.svg" alt="">
</div>
<pre class="text-left mt-12 col-span-full shadow-2xl"><code class="php rounded-md">$app->get('/users', function () {
// TODO: get users from DB
$users = [['name' => 'Alice'], ['name' => 'Bob']];
$json = json_encode($users);
return new React\Http\Message\Response(
200,
[
'Content-Type' => 'application/json'
],
$json
);
});
</code></pre>
</section>
<section id="lightning-fast" class="relative mt-12 sm:mt-16 lg:mt-24">
<div class="lg:grid lg:grid-flow-row-dense lg:grid-cols-2 lg:gap-8 lg:items-center">
<div class="lg:col-start-2">
<h3 class="text-2xl font-extrabold text-gray-900 tracking-tight sm:text-3xl">
Lightning fast
</h3>
<p class="mt-3 text-lg text-gray-500">
Framework X is super efficient.
It’s a micro framework that is optimized for you as human (<em>to build fast</em>) and the computer (<em>to run fast</em>).
Because Framework X is so efficient, it makes it much easier to scale.
</p>
<dl class="mt-10 space-y-10">
<div class="flex">
<div class="flex-shrink-0">
<div class="flex items-center justify-center h-12 w-12 rounded-md bg-indigo-500 text-white">
<!-- Heroicon name: trending-up -->
<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" aria-hidden="true">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 7h8m0 0v8m0-8l-8 8-4-4-6 6"></path>
</svg>
</div>
</div>
<div class="ml-4">
<dt class="text-lg leading-6 font-medium text-gray-900">
Scales well – from shared hosting to cloud-native
</dt>
<dd class="mt-2 text-base text-gray-500">
It performs well even on shared hosting.
For better performance, Framework X is designed to be cloud-native and supports running on your servers or the cloud.
For maximum performance, it provides a built-in web server that you can run straight from the command line.
</dd>
</div>
</div>
<dl class="mt-10 space-y-10">
<div class="flex">
<div class="flex-shrink-0">
<div class="flex items-center justify-center h-12 w-12 rounded-md bg-indigo-500 text-white">
<!-- Heroicon name: chart-bar -->
<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" aria-hidden="true">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 19v-6a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2a2 2 0 002-2zm0 0V9a2 2 0 012-2h2a2 2 0 012 2v10m-6 0a2 2 0 002 2h2a2 2 0 002-2m0 0V5a2 2 0 012-2h2a2 2 0 012 2v14a2 2 0 01-2 2h-2a2 2 0 01-2-2z"></path>
</svg>
</div>
</div>
<div class="ml-4">
<dt class="text-lg leading-6 font-medium text-gray-900">
Handle millions of requests
</dt>
<dd class="mt-2 text-base text-gray-500">
Traditional web servers run a dedicated PHP interpreter for each request.
This implies you’re commonly limited to only a few dozens concurrent requests.
For maximum performance, you can use Framework X’s built-in web server that allows you to process up to millions of requests at once.
</dd>
</div>
</div>
<div class="flex">
<div class="flex-shrink-0">
<div class="flex items-center justify-center h-12 w-12 rounded-md bg-indigo-500 text-white">
<!-- Heroicon name: globe -->
<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" aria-hidden="true">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3.055 11H5a2 2 0 012 2v1a2 2 0 002 2 2 2 0 012 2v2.945M8 3.935V5.5A2.5 2.5 0 0010.5 8h.5a2 2 0 012 2 2 2 0 104 0 2 2 0 012-2h1.064M15 20.488V18a2 2 0 012-2h3.064M21 12a9 9 0 11-18 0 9 9 0 0118 0z"></path>
</svg>
</div>
</div>
<div class="ml-4">
<dt class="text-lg leading-6 font-medium text-gray-900">
Save resources
</dt>
<dd class="mt-2 text-base text-gray-500">
More efficient processing means you need less processing power and fewer servers.
Avoiding unneeded maintenance means you can use your time to focus on more interesting stuff.
Keep the money in your pocket and save the environment.
</dd>
</div>
</div>
</dl>
</div>
<div class="-mx-4 relative col-start-1 hidden lg:block" aria-hidden="true">
<img class="relative mx-auto" width="490" src="src/lightningfast.svg" alt="">
</div>
</div>
<pre class="text-left mt-12 col-span-full shadow-2xl"><code class="plaintext rounded-md">$ ab -n100000 -c50 -k http://localhost:8080/
…
Concurrency Level: 50
Time taken for tests: 5.508 seconds
Complete requests: 100000
Failed requests: 0
Keep-Alive requests: 100000
Total transferred: 13300000 bytes
HTML transferred: 1300000 bytes
Requests per second: 18155.95 [#/sec] (mean)
Time per request: 2.754 [ms] (mean)
Time per request: 0.055 [ms] (mean, across all concurrent requests)
Transfer rate: 2358.15 [Kbytes/sec] received
</code></pre>
</section>
<section id="async" class="relative max-w-xl mx-auto lg:max-w-7xl">
<div class="relative mt-12 lg:mt-24 lg:grid lg:grid-cols-2 lg:gap-8 lg:items-center">
<div class="relative">
<h3 class="text-2xl font-extrabold text-gray-900 tracking-tight sm:text-3xl">
Supports async
</h3>
<p class="mt-3 text-lg text-gray-500">
Thanks to async programming, Framework X allows you to do multiple things at once.
On top of this, its built-in web server also utilizes the async execution model to process multiple incoming connections at once.
</p>
<dl class="mt-10 space-y-10">
<div class="flex">
<div class="flex-shrink-0">
<div class="flex items-center justify-center h-12 w-12 rounded-md bg-indigo-500 text-white">
<!-- Heroicon name: arrows-expand -->
<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" aria-hidden="true">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 8V4m0 0h4M4 4l5 5m11-1V4m0 0h-4m4 0l-5 5M4 16v4m0 0h4m-4 0l5-5m11 5l-5-5m5 5v-4m0 4h-4"></path>
</svg>
</div>
</div>
<div class="ml-4">
<dt class="text-lg leading-6 font-medium text-gray-900">
Faster responses by using non-blocking APIs
</dt>
<dd class="mt-2 text-base text-gray-500">
Imagine sending two HTTP requests to external APIs while already saving the request in the database at the same time.
Async, non-blocking APIs allow much faster response times by doing multiple things at once, instead of having to do one thing after another.
</dd>
</div>
</div>
<div class="flex">
<div class="flex-shrink-0">
<div class="flex items-center justify-center h-12 w-12 rounded-md bg-indigo-500 text-white">
<!-- Heroicon name: trending-up -->
<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" aria-hidden="true">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 7h8m0 0v8m0-8l-8 8-4-4-6 6"></path>
</svg>
</div>
</div>
<div class="ml-4">
<dt class="text-lg leading-6 font-medium text-gray-900">
Scale to the next level
</dt>
<dd class="mt-2 text-base text-gray-500">
Framework X helps you being prepared to scale to the next level.
By utilizing async programming techniques, the built-in web server achieve maximum performance per CPU core.
Parallel worker processes and server clusters allow even better performance.
</dd>
</div>
</div>
<div class="flex">
<div class="flex-shrink-0">
<div class="flex items-center justify-center h-12 w-12 rounded-md bg-indigo-500 text-white">
<!-- Heroicon name: sparkles -->
<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" aria-hidden="true">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 3v4M3 5h4M6 17v4m-2-2h4m5-16l2.286 6.857L21 12l-5.714 2.143L13 21l-2.286-6.857L5 12l5.714-2.143L13 3z"></path>
</svg>
</div>
</div>
<div class="ml-4">
<dt class="text-lg leading-6 font-medium text-gray-900">
Mix and match blocking code
</dt>
<dd class="mt-2 text-base text-gray-500">
To get best performance, we recommend using async programming.
Additionally, Framework X provides the tools and guidelines so you can keep using existing, blocking code and integrate this into a non-blocking structure.
This makes it easy to get started right away.
</dd>
</div>
</div>
</dl>
</div>
<div class="-mx-4 relative hidden lg:block" aria-hidden="true">
<img class="relative mx-auto" width="490" src="src/supportsasync.svg" alt="">
</div>
</div>
<pre class="text-left mt-12 col-span-full shadow-2xl"><code class="php rounded-md">$app->get('/book/{id:\d+}', function (Psr\Http\Message\ServerRequestInterface $request) use ($db, $twig) {
return $db->query(
'SELECT * FROM books WHERE ID=?',
[$request->getAttribute('id')]
)->then(function (array $row) use ($twig) {
$html = $twig->render('book.twig', $row);
return new React\Http\Message\Response(
200,
[
'Content-Type' => 'text/html; charset=utf-8'
],
$html
);
});
});
</code></pre>
</section>
<section id="reactive-and-streaming" class="relative mt-12 sm:mt-16 lg:mt-24">
<div class="lg:grid lg:grid-flow-row-dense lg:grid-cols-2 lg:gap-8 lg:items-center">
<div class="lg:col-start-2">
<h3 class="text-2xl font-extrabold text-gray-900 tracking-tight sm:text-3xl">
Reactive and streaming
</h3>
<p class="mt-3 text-lg text-gray-500">
Framework X has built-in support for reactive applications that are responsive, resilient, elastic and message-driven.
It enables streaming protocols to transport structured and binary data over HTTP.
</p>
<dl class="mt-10 space-y-10">
<div class="flex">
<div class="flex-shrink-0">
<div class="flex items-center justify-center h-12 w-12 rounded-md bg-indigo-500 text-white">
<!-- Heroicon name: play -->
<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" aria-hidden="true">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M14.752 11.168l-3.197-2.132A1 1 0 0010 9.87v4.263a1 1 0 001.555.832l3.197-2.132a1 1 0 000-1.664z"></path><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 12a9 9 0 11-18 0 9 9 0 0118 0z"></path>
</svg>
</div>
</div>
<div class="ml-4">
<dt class="text-lg leading-6 font-medium text-gray-900">
Server-Sent-Events (EventSource)
</dt>
<dd class="mt-2 text-base text-gray-500">
The HTML5 <code>EventSource</code> API allows you to receive live updates in real-time as they happen on the server side.
Because it uses standard HTTP requests, it works well on most stacks.
When using the built-in web server, you can utilize efficient, long-lived connections.
</dd>
</div>
</div>
<dl class="mt-10 space-y-10">
<div class="flex">
<div class="flex-shrink-0">
<div class="flex items-center justify-center h-12 w-12 rounded-md bg-indigo-500 text-white">
<!-- Heroicon name: status-online -->
<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" aria-hidden="true">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5.636 18.364a9 9 0 010-12.728m12.728 0a9 9 0 010 12.728m-9.9-2.829a5 5 0 010-7.07m7.072 0a5 5 0 010 7.07M13 12a1 1 0 11-2 0 1 1 0 012 0z"></path>
</svg>
</div>
</div>
<div class="ml-4">
<dt class="text-lg leading-6 font-medium text-gray-900">
Beyond HTTP with WebSockets
</dt>
<dd class="mt-2 text-base text-gray-500">
The HTML5 <code>WebSocket</code> API allows bidirectional real-time communication of structured live data between client and server.
This is supported thanks to the efficient, event-driven nature of Framework X’s built-in web server.
</dd>
</div>
</div>
<div class="flex">
<div class="flex-shrink-0">
<div class="flex items-center justify-center h-12 w-12 rounded-md bg-indigo-500 text-white">
<!-- Heroicon name: cube-transparent -->
<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" aria-hidden="true">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M14 10l-2 1m0 0l-2-1m2 1v2.5M20 7l-2 1m2-1l-2-1m2 1v2.5M14 4l-2-1-2 1M4 7l2-1M4 7l2 1M4 7v2.5M12 21l-2-1m2 1l2-1m-2 1v-2.5M6 18l-2-1v-2.5M18 18l2-1v-2.5"></path>
</svg>
</div>
</div>
<div class="ml-4">
<dt class="text-lg leading-6 font-medium text-gray-900">
Handle thousands of connections
</dt>
<dd class="mt-2 text-base text-gray-500">
The built-in web server is optimized for handlings thousands of connections.
It is responsible for managing protocols and connection states, so you can focus on implementing your business logic.
</dd>
</div>
</div>
</dl>
</div>
<div class="-mx-4 relative col-start-1 hidden lg:block">
<img class="relative mx-auto" width="490" src="src/reactiveandstreaming.svg" alt="">
</div>
</div>
<pre class="text-left mt-12 col-span-full shadow-2xl"><code class="php rounded-md">$app->get('/users', function () use ($redis) {
// stream messages received from Redis PubSub channel
$stream = new React\Stream\ThroughStream();
$redis->on('message', function ($message) use ($stream) {
$stream->write("data: $message\n\n");
});
return new React\Http\Message\Response(
200,
[
'Content-Type' => 'text/event-stream'
],
$stream
);
});
</code></pre>
</section>
<section id="runs-anywhere" class="relative mt-12 lg:mt-24 lg:grid lg:grid-cols-2 lg:gap-8 lg:items-center">
<div class="relative">
<h3 class="text-2xl font-extrabold text-gray-900 tracking-tight sm:text-3xl">
Runs anywhere
</h3>
<p class="mt-3 text-lg text-gray-500">
Framework X is scalable from the ground up.
We provide a simple API that is easy to get started with for the smallest of projects, yet allow to grow to complex, production-ready setups.
</p>
<dl class="mt-10 space-y-10">
<div class="flex">
<div class="flex-shrink-0">
<div class="flex items-center justify-center h-12 w-12 rounded-md bg-indigo-500 text-white">
<!-- Heroicon name: view-list -->
<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" aria-hidden="true">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 10h16M4 14h16M4 18h16"></path>
</svg>
</div>
</div>
<div class="ml-4">
<dt class="text-lg leading-6 font-medium text-gray-900">
Support running behind existing PHP stacks
</dt>
<dd class="mt-2 text-base text-gray-500">
We support running behind existing PHP stacks using Apache, nginx or any other web server using CGI/FastCGI.
This means you can create a simple web application in minutes and run it anywhere from shared hosting to your own clustered server setup in the clouds.
</dd>
</div>
</div>
<div class="flex">
<div class="flex-shrink-0">
<div class="flex items-center justify-center h-12 w-12 rounded-md bg-indigo-500 text-white">
<!-- Heroicon name: sparkles -->
<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" aria-hidden="true">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 3v4M3 5h4M6 17v4m-2-2h4m5-16l2.286 6.857L21 12l-5.714 2.143L13 21l-2.286-6.857L5 12l5.714-2.143L13 3z"></path>
</svg>
</div>
</div>
<div class="ml-4">
<dt class="text-lg leading-6 font-medium text-gray-900">
Awesome features with built-in web server
</dt>
<dd class="mt-2 text-base text-gray-500">
Framework X ships its own efficient web server implementation written in pure PHP.
This uses an event-driven architecture to allow you to get the most out of Framework X.
With no changes required, you can run the built-in web server with the exact same code base on the command line.
</dd>
</div>
</div>
<div class="flex">
<div class="flex-shrink-0">
<div class="flex items-center justify-center h-12 w-12 rounded-md bg-indigo-500 text-white">
<!-- Heroicon name: chart-square-bar -->
<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" aria-hidden="true">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M16 8v8m-4-5v5m-4-2v2m-2 4h12a2 2 0 002-2V6a2 2 0 00-2-2H6a2 2 0 00-2 2v12a2 2 0 002 2z"></path>
</svg>
</div>
</div>
<div class="ml-4">
<dt class="text-lg leading-6 font-medium text-gray-900">
Better user experience in high-load scenarios
</dt>
<dd class="mt-2 text-base text-gray-500">
With the built-in web server, we provide a non-blocking implementation that can handle thousands of incoming connections and provide a much better user experience in high-load scenarios.
</dd>
</div>
</div>
</dl>
</div>
<div class="-mx-4 relative hidden lg:block" aria-hidden="true">
<img class="relative mx-auto" width="490" src="src/runsanywhere.svg" alt="">
</div>
<pre class="text-left mt-12 col-span-full shadow-2xl"><code class="php rounded-md">$ php -S localhost:8081 examples/index.php
PHP Development Server (http://localhost:8081) started
$ php examples/index.php
Listening on http://127.0.0.1:8080
$ curl http://localhost:8081/
Hello world!
$ curl http://localhost:8080/
Hello world!
</code></pre>
</section>
</div>
</section>
<section id="open-source" class="py-16 bg-gray-900 overflow-hidden">
<div class="max-w-7xl mx-auto px-4 space-y-8 sm:px-6 lg:px-8">
<div class="text-base max-w-prose mx-auto lg:max-w-none">
<h2 class="text-base text-white font-semibold tracking-wide uppercase">Open source</h2>
<p class="mt-2 text-3xl leading-8 font-extrabold tracking-tight text-white sm:text-4xl">We love open source! ❤️</p>
</div>
<div class="lg:grid lg:grid-cols-2 lg:gap-8 lg:items-start">
<div class="relative z-10 max-w-prose mx-auto">
<div class="prose prose-indigo text-gray-300 mx-auto lg:max-w-none">
<p>
Framework X will be released as open-source under the permissive MIT license.
This means it will be free as in <em>free speech</em> and as in <em>free beer</em>.
</p>
<p class="mt-4">
We believe in open source and made a conscious decision to take this path.
Being open-source means we can foster a community to focus on building the best possible framework together.
Framework X builds on top of existing open-source projects and we want to give back to this community of awesome engineers and developers.
Being open to outside contributions means we can guarantee interoperability with a vivid ecosystem and ensure the longevity of the project.
</p>
</div>
<div class="mt-10 flex text-base max-w-prose mx-auto lg:max-w-none">
<div class="rounded-md shadow">
<a href="https://clue.engineering/" class="w-full flex items-center justify-center px-5 py-3 border border-transparent text-base font-medium rounded-md text-white bg-indigo-600 hover:bg-indigo-700">
Learn more about us
</a>
</div>
</div>
</div>
<div class="mt-12 relative text-base max-w-prose mx-auto lg:mt-0 lg:max-w-none">
<svg class="absolute top-0 right-0 -mt-20 -mr-20 lg:top-auto lg:right-auto lg:bottom-1/2 lg:left-1/2 lg:mt-0 lg:mr-0 xl:top-0 xl:right-0 xl:-mt-20 xl:-mr-20" width="404" height="384" fill="none" viewBox="0 0 404 384" aria-hidden="true">
<rect width="404" height="384" fill="url(#bedc54bc-7371-44a2-a2bc-dc68d819ae60)" />
</svg>
<blockquote class="relative bg-white rounded-lg shadow-lg">
<div class="rounded-t-lg px-6 py-8 sm:px-10 sm:pt-10 sm:pb-8">
<div class="relative text-lg text-gray-700 font-medium mt-8">
<!-- quotes -->
<svg class="absolute top-0 left-0 transform -translate-x-3 -translate-y-2 h-8 w-8 text-gray-200" fill="currentColor" viewBox="0 0 32 32" aria-hidden="true">
<path d="M9.352 4C4.456 7.456 1 13.12 1 19.36c0 5.088 3.072 8.064 6.624 8.064 3.36 0 5.856-2.688 5.856-5.856 0-3.168-2.208-5.472-5.088-5.472-.576 0-1.344.096-1.536.192.48-3.264 3.552-7.104 6.624-9.024L9.352 4zm16.512 0c-4.8 3.456-8.256 9.12-8.256 15.36 0 5.088 3.072 8.064 6.624 8.064 3.264 0 5.856-2.688 5.856-5.856 0-3.168-2.304-5.472-5.184-5.472-.576 0-1.248.096-1.44.192.48-3.264 3.456-7.104 6.528-9.024L25.864 4z" />
</svg>
<p class="relative">I love open-source! ❤️ Open-source software ensures we can overcome market constraints and build software systems based on trust and mutual cooperations instead.</p>
</div>
</div>
<cite class="relative flex items-center sm:items-start bg-indigo-600 rounded-b-lg not-italic py-5 px-6 sm:py-5 sm:pl-12 sm:pr-10 sm:mt-10">
<div class="relative rounded-full border-2 border-white sm:absolute sm:top-0 sm:transform sm:-translate-y-1/2">
<img class="w-12 h-12 sm:w-20 sm:h-20 rounded-full bg-indigo-300" src="src/christian.jpg" alt="Photo Christian Lück">
</div>
<span class="relative ml-4 text-indigo-300 font-semibold leading-6 sm:ml-24 sm:pl-1">
<p><a href="https://twitter.com/another_clue"><span class="text-white font-semibold block sm:inline hover:underline">Christian Lück</span> @another_clue</a>
</span>
</cite>
</blockquote>
</div>
</div>
</div>
</section>
<section class="bg-gray-50 pt-12 sm:pt-16">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="max-w-4xl mx-auto text-center">
<h2 class="text-3xl font-extrabold text-gray-900 sm:text-4xl">
We are part of the open-source community
</h2>
<p class="mt-3 text-xl text-gray-500 sm:mt-4">
Here are some numbers!
</p>
</div>
</div>
<div class="mt-10 pb-12 bg-white sm:pb-16">
<div class="relative">
<div class="absolute inset-0 h-1/2 bg-gray-50"></div>
<div class="relative max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="max-w-4xl mx-auto">
<dl class="rounded-lg bg-white shadow-lg sm:grid sm:grid-cols-3">
<div class="flex flex-col border-b border-gray-100 p-6 text-center sm:border-0 sm:border-r">
<dt class="order-2 mt-2 text-lg leading-6 font-medium text-gray-500">
<a href="https://github.com/clue" class="hover:underline">Repositories on Github</a>
</dt>
<dd class="order-1 text-5xl font-extrabold text-indigo-600">
100+
</dd>
</div>
<div class="flex flex-col border-t border-b border-gray-100 p-6 text-center sm:border-0 sm:border-l sm:border-r">
<dt class="order-2 mt-2 text-lg leading-6 font-medium text-gray-500">
<a href="https://reactphp.org/#team" class="hover:underline">Maintainer of ReactPHP</a>
</dt>
<dd class="order-1 text-5xl font-extrabold text-indigo-600">
~8 Years
</dd>
</div>
<div class="flex flex-col border-t border-gray-100 p-6 text-center sm:border-0 sm:border-l">
<dt class="order-2 mt-2 text-lg leading-6 font-medium text-gray-500">
<a href="https://packagist.org/users/clue/" class="hover:underline">Downloads</a>
</dt>
<dd class="order-1 text-5xl font-extrabold text-indigo-600">
100+ Mio
</dd>
</div>
</dl>
</div>
</div>
</div>
</div>
</section>
<section id="quickstart" class="relative pt-16 sm:pt-24 lg:pt-32">
<div class="mx-auto max-w-md px-4 text-center sm:px-6 sm:max-w-3xl lg:max-w-7xl">
<div>
<h2 class="text-base font-semibold tracking-wider text-indigo-600 uppercase">Quickstart</h2>
<p class="mt-2 text-3xl font-extrabold text-gray-900 tracking-tight sm:text-4xl">
Get started in seconds
</p>
<p class="mt-5 max-w-prose mx-auto text-xl text-gray-500">
First manually change your <code class="bg-gray-100 px-2 py-1">composer.json</code> to include these lines:
</p>
</div>
<pre class="text-left mt-12 col-span-full shadow-2xl"><code class="php rounded-md">{
"repositories": [
{
"type": "vcs",
"url": "https://github.com/clue-access/framework-x"
}
]
}
</code></pre>
</div>
</section>
<section class="mx-auto max-w-md px-4 text-center sm:px-6 sm:max-w-3xl lg:px-8 lg:max-w-7xl">
<div>
<p class="mt-20 mb-10 max-w-prose mx-auto text-xl text-gray-500">
Next, simply install Framework X with a single command:
</p>
</div>
<pre class="text-left mt-12 col-span-full shadow-2xl"><code class="php rounded-md">$ composer require clue/framework-x:dev-main
</code></pre>
<div>
<p class="mt-10 mb-10 max-w-prose mx-auto text-xl text-gray-500">
That's it already!
If you also can't wait to finally try it out, get early access to Framework X.
</p>
</div>
<div class="mt-8 flex justify-center">
<div class="inline-flex rounded-md shadow">
<a href="https://github.com/clue-access/clue-access" class="inline-flex items-center justify-center px-5 py-3 border border-transparent text-base font-medium rounded-md text-white bg-indigo-600 hover:bg-indigo-700">
Get early access
</a>
</div>
<div class="ml-3 inline-flex">
<a href="docs/" class="inline-flex items-center justify-center px-5 py-3 border border-transparent text-base font-medium rounded-md text-indigo-700 bg-indigo-100 hover:bg-indigo-200">
Documentation
</a>
</div>
</div>
</section>
<section id="--twitter" class="bg-gray-50 mt-12">
<div class="max-w-7xl mx-auto py-12 px-4 sm:px-6 lg:py-16 lg:px-8 lg:flex lg:items-center lg:justify-between">
<h2 class="text-3xl font-extrabold tracking-tight text-gray-900 sm:text-4xl">
<span class="block">Don't miss out on the release!</span>
<span class="block text-indigo-600">Follow Framework X on Twitter to stay up to date.</span>
</h2>
<div class="mt-8 flex lg:mt-0 lg:flex-shrink-0">
<div class="inline-flex rounded-md shadow">
<a href="https://twitter.com/x_framework" class="inline-flex items-center justify-center px-5 py-3 border border-transparent text-base font-medium rounded-md text-white bg-indigo-600 hover:bg-indigo-700">
Framework X on Twitter
</a>
</div>
</div>
</div>
</section>
<section id="values" class="relative bg-white py-16 sm:py-24 lg:py-32">
<div class="mx-auto max-w-md px-4 text-center sm:max-w-3xl sm:px-6 lg:px-8 lg:max-w-7xl">
<h2 class="text-base font-semibold tracking-wider text-indigo-600 uppercase">Values</h2>
<p class="mt-2 text-3xl font-extrabold text-gray-900 tracking-tight sm:text-4xl">
What you can expect
</p>
<div class="mt-12">
<div class="grid grid-cols-1 gap-8 sm:grid-cols-2 lg:grid-cols-3">
<div class="pt-6">
<div class="flow-root bg-gray-50 rounded-lg px-6 pb-8">
<div class="-mt-6">
<div>
<span class="inline-flex items-center justify-center p-3 bg-indigo-500 rounded-md shadow-lg">
<!-- Heroicon name: refresh -->
<svg class="h-6 w-6 text-white" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15" />
</svg>
</span>
</div>
<h3 class="mt-8 text-lg font-medium text-gray-900 tracking-tight">Durability</h3>
<p class="mt-5 text-base text-left text-gray-500">
We ensure a long maintenance of the project with regular updates.
This is an elementary part of our philosophy and is accompanied by our high quality standards for our projects.
</p>
</div>
</div>
</div>
<div class="pt-6">
<div class="flow-root bg-gray-50 rounded-lg px-6 pb-8">
<div class="-mt-6">
<div>
<span class="inline-flex items-center justify-center p-3 bg-indigo-500 rounded-md shadow-lg">
<!-- Heroicon name: outline/lock-open -->
<svg class="h-6 w-6 text-white" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 11V7a4 4 0 118 0m-4 8v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2z" />
</svg>
</span>
</div>
<h3 class="mt-8 text-lg font-medium text-gray-900 tracking-tight">Transparent communication</h3>
<p class="mt-5 text-base text-left text-gray-500">
We speak plainly, nothing happens behind closed doors.
Framework X creates a high level of transparency about the current project status and its progress.
</p>
</div>
</div>
</div>
<div class="pt-6">
<div class="flow-root bg-gray-50 rounded-lg px-6 pb-8">
<div class="-mt-6">
<div>
<span class="inline-flex items-center justify-center p-3 bg-indigo-500 rounded-md shadow-lg">
<!-- Heroicon name: user-group -->
<svg class="h-6 w-6 text-white" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17 20h5v-2a3 3 0 00-5.356-1.857M17 20H7m10 0v-2c0-.656-.126-1.283-.356-1.857M7 20H2v-2a3 3 0 015.356-1.857M7 20v-2c0-.656.126-1.283.356-1.857m0 0a5.002 5.002 0 019.288 0M15 7a3 3 0 11-6 0 3 3 0 016 0zm6 3a2 2 0 11-4 0 2 2 0 014 0zM7 10a2 2 0 11-4 0 2 2 0 014 0z" />
</svg>
</span>
</div>
<h3 class="mt-8 text-lg font-medium text-gray-900 tracking-tight">We are users</h3>
<p class="mt-5 text-base text-left text-gray-500">
We use Framework X ourselves on a daily basis.
Our firsthand experience ensures we have an interest in making sure everything works smoothly.
</p>
</div>
</div>
</div>
<div class="pt-6">
<div class="flow-root bg-gray-50 rounded-lg px-6 pb-8">
<div class="-mt-6">
<div>
<span class="inline-flex items-center justify-center p-3 bg-indigo-500 rounded-md shadow-lg">
<!-- Heroicon name: heart -->
<svg class="h-6 w-6 text-white" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4.318 6.318a4.5 4.5 0 000 6.364L12 20.364l7.682-7.682a4.5 4.5 0 00-6.364-6.364L12 7.636l-1.318-1.318a4.5 4.5 0 00-6.364 0z" />
</svg>
</span>
</div>
<h3 class="mt-8 text-lg font-medium text-gray-900 tracking-tight">Passionate and experienced</h3>
<p class="mt-5 text-base text-left text-gray-500">
We are software engineers at heart.
Framework X is not only a hobby project, it is our biggest project to solve problems and perhaps have a lasting impact on the larger PHP ecosystem.
</p>
</div>
</div>
</div>
<div class="pt-6">
<div class="flow-root bg-gray-50 rounded-lg px-6 pb-8">
<div class="-mt-6">
<div>
<span class="inline-flex items-center justify-center p-3 bg-indigo-500 rounded-md shadow-lg">