-
Notifications
You must be signed in to change notification settings - Fork 69
/
index.html
760 lines (729 loc) · 26 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Stately | Understand your app logic</title>
<link rel="stylesheet" href="./landing-page/styles.css" />
<meta
name="description"
content="Stately helps your whole team understand and collaborate on your logic through our visualizer, visual editor and XState."
/>
<meta property="og:title" content="Stately - Understand your app logic" />
<meta property="og:site_name" content="Stately - Privacy policy" />
<meta property="og:url" content="https://stately.ai" />
<meta
property="og:description"
content="Stately helps your whole team understand and collaborate on your logic through our visualizer, visual editor and XState."
/>
<meta property="og:type" content="website" />
<meta
property="og:image"
content="https://stately.ai/landing-page/assets/stately-landing-page.png"
/>
<link
rel="icon"
href="https://stately.ai/landing-page/favicon.ico"
sizes="any"
/>
<link
rel="icon"
href="https://stately.ai/landing-page/icon.svg"
type="image/svg+xml"
/>
<link
rel="apple-touch-icon"
href="https://stately.ai/landing-page/apple-touch-icon.png"
/>
<link
rel="manifest"
href="https://stately.ai/landing-page/manifest.webmanifest"
/>
<script defer src="./landing-page/bundle.js"></script>
</head>
<body>
<header class="site-header">
<h2 class="logo">
<a aria-label="Navigate home" href="/">
<img
src="./landing-page/stately.svg"
alt="Stately"
width="145"
height="40"
/>
</a>
</h2>
<nav class="navigation">
<a
href="/editor?source=landing-page"
class="button-link orange plausible-event-name=landing+try+editor"
>Try the editor</a
>
<a
href="/registry/login?source=landing-page"
class="button-link blue plausible-event-name=landing-editor+signin"
>Sign in</a
>
<ul class="navigation-list">
<li><a href="/pricing">Pricing</a></li>
<li><a href="/blog">Blog</a></li>
<li><a href="/docs">Docs</a></li>
</ul>
</nav>
</header>
<main id="content" class="landing-page">
<h1
class="intro-title"
data-edge-source="first-heading"
data-edge-target="cta-1"
data-edge-target-side="left"
>
Understand your app logic, <strong class="pink">visually</strong>
</h1>
<p class="subtitle fadeout-box">
Build logic together as a team. Then run the flows using
<a href="/docs/xstate">XState</a>, a best-in-class open source library
for handling complexity at scale.
</p>
<div
class="initial-state duo-buttons"
data-edge-source="cta-1"
data-edge-source-side="right"
data-edge-target="editor"
data-edge-target-position="0.7"
>
<a
class="button-link button-link-cta-primary plausible-event-name=landing+try+editor"
href="/editor?source=landing-page"
>
Try the editor
</a>
<a
class="button-link button-link-cta-secondary ghost plausible-event-name=landing+demo"
href="https://calendly.com/d/yc8-3hq-rpc/request-a-demo"
>
Book a demo
</a>
</div>
<section class="feature editor">
<div
class="video-wrap"
style="--aspect-ratio: 1420/1080"
data-edge-source="editor"
data-edge-target="used-in-production"
data-edge-source-position="0.85"
data-edge-target-position="0.5"
>
<video
muted
preload="metadata"
autoplay
poster="./landing-page/assets/visual-editor-v1-poster-image.png"
>
<source
src="./landing-page/assets/visual-editor-v2.mp4"
type="video/mp4"
width="640"
height="426"
/>
<p>Video is unavailable in your browser.</p>
</video>
</div>
<div class="description">
<div class="grid-background"></div>
<h2>
<span class="eyebrow"
>Visual editor<span class="colon visually-hidden">: </span></span
>Visualize your application logic
</h2>
<p>
Use our drag-and-drop visual editor to build your application logic,
then export it directly into your XState project.
</p>
<p>
<a class="arrow-link" href="/editor?source=landing-page"
>Try the editor</a
>
</p>
</div>
</section>
<section class="used-in-production">
<div
class="grid-background"
data-edge-source="used-in-production"
data-edge-target="feature-statecharts"
></div>
<h2 class="center-small">XState in production</h2>
<ul class="logo-list fadeout-box">
<li>
<img
src="./landing-page/assets/aws.svg"
alt="AWS"
height="62"
width="63"
/>
</li>
<li>
<img
src="./landing-page/assets/ted.svg"
alt="TED"
height="62"
width="78"
/>
</li>
<li>
<img
src="./landing-page/assets/netflix.svg"
alt="Netflix"
height="62"
width="119"
/>
</li>
<li>
<img
src="./landing-page/assets/lyft.svg"
alt="Lyft"
height="62"
width="56"
/>
</li>
<li>
<img
src="./landing-page/assets/centered.svg"
alt="Centered"
height="62"
width="90"
/>
</li>
<li>
<img
src="./landing-page/assets/microsoft.svg"
alt="Microsoft"
height="62"
width="150"
/>
</li>
<li>
<img
src="./landing-page/assets/epic-games.svg"
alt="Epic Games"
height="62"
width="44"
/>
</li>
<li>
<img
src="./landing-page/assets/cisco.svg"
alt="Cisco"
height="62"
width="72"
/>
</li>
</ul>
</section>
<section class="feature statecharts">
<div
class="screenshot"
data-edge-source="feature-statecharts"
data-edge-source-position="0.75"
data-edge-source-position="0.75"
data-edge-target="feature-vscode"
data-edge-target-position="0.9"
>
<picture>
<img
src="./landing-page/assets/collaborate-narrow-v1.png"
height="615"
width="607"
alt="Player statechart in the Stately visual editor with min and full states transitioning to each other on toggle. The full state contains playing and paused states which transition to each other on play and pause."
/></picture>
</div>
<div class="comment comment-1" role="presentation">
Here’s the new logic for the video player…
</div>
<div class="comment comment-2" role="presentation">
Should the video stop playing when fullscreen is exited?
</div>
<div class="comment comment-3" role="presentation">
Looks great to me!
</div>
<div class="grid-background"></div>
<div class="description">
<h2>
<span class="eyebrow" class="fadeout-box"
>Statecharts<span class="colon visually-hidden">: </span></span
>Collaborate with everyone on the team
</h2>
<p class="fadeout-box">
Not just for developers. Statecharts are a visual language that
everyone on the team can understand. Our editor and visualizer make
it easy for anyone to create and edit application logic.
</p>
<p>
<a class="arrow-link" href="/docs/state-machines-and-statecharts"
>Learn more about statecharts</a
>
</p>
</div>
</section>
<section class="feature vscode">
<picture
class="screenshot fadeout"
data-edge-source="feature-vscode"
data-edge-source-position="0.9"
data-edge-target="feature-state-management"
data-edge-target-position="0.2"
data-edge-bend-position="0.85"
>
<img
src="./landing-page/assets/vscode-v1.png"
height="563"
width="947"
alt="Stately VS Code extension showing a split screen inside VS Code with the code editor on the left and the Stately visual Editor on the right."
/>
</picture>
<div class="grid-background"></div>
<div class="description">
<h2>
<span class="eyebrow"
>IDE Extension<span class="colon visually-hidden">: </span></span
>Upgrade your workflow
</h2>
<p class="fadeout-box">
Bring the power of Stately’s tools directly into your development
environment. Edit statecharts visually in JavaScript and TypeScript
with our VS Code extension.
</p>
<p>
<a
class="arrow-link"
href="https://marketplace.visualstudio.com/items?itemName=statelyai.stately-vscode"
>Download the VS Code extension</a
>
</p>
</div>
</section>
<section class="feature state-management">
<figure
data-edge-source="feature-state-management"
data-edge-source-position="0.05"
data-edge-target="feature-registry"
data-edge-target-side="left"
>
<figcaption class="before"><p>Before</p></figcaption>
<picture>
<img
src="./landing-page/assets/booleans.png"
sizes="(min-width: 1520px) 640px, (min-width: 960px) calc(52.41vw + 44px), 50vw"
srcset="
./landing-page/assets/booleans-256.png 256w,
./landing-page/assets/booleans-640.png 640w,
./landing-page/assets/booleans-1010.png 1010w,
./landing-page/assets/booleans-1280.png 1280w,
./landing-page/assets/booleans-1480.png 1480w,
./landing-page/assets/booleans-1660.png 1660w
"
width="823"
height="854"
alt="Boolean-based code showing a lot of if else statements and repetition."
/>
</picture>
</figure>
<figure>
<figcaption class="after"><p>After</p></figcaption>
<!-- TODO: replace with generated images -->
<picture>
<img
src="./landing-page/assets/statechart-v1.png"
width="823"
height="854"
alt="Statechart equivalent for the previous code which is much easier to read at-a-glance."
/>
</picture>
</figure>
<div class="grid-background"></div>
<div class="description">
<h2>
<span class="eyebrow"
>State management<span class="colon visually-hidden"
>:
</span></span
>Make complexity manageable
</h2>
<p class="fadeout-box">
Statecharts make state management simpler. Get an overview of how
your application works at a glance. Find states that are often
missed, including unwanted states, impossible states and unnecessary
error states. As well as eliminating bugs and other issues caused by
boolean-based state management.
</p>
<p>
<a class="arrow-link" href="/docs/installation"
>Get started with our quickstart guide</a
>
</p>
</div>
</section>
<section class="feature registry">
<picture
class="screenshot fadeout"
data-edge-source="feature-registry"
data-edge-target="powered-by-xstate"
data-edge-target-position="0.5"
>
<img
src="./landing-page/assets/registry.png"
sizes="(min-width: 1280px) 800px, (min-width: 960px) 674px, (min-width: 720px) 81.36vw, 87.5vw"
srcset="
./landing-page/assets/registry-265.png 265w,
./landing-page/assets/registry-800.png 800w,
./landing-page/assets/registry-1110.png 1110w,
./landing-page/assets/registry-1348.png 1348w,
./landing-page/assets/registry-1600.png 1600w
"
height="598"
width="789"
alt="Stately Registry’s Discover section, featuring a list of the latest public machines built by the community. Machine names include Chess Moves, eiv-form-statechart, login, searchBoxMachine, tldrawcore, users-search-engine, Address Autocompletea and Matt’s Beta System."
/>
</picture>
<div class="grid-background"></div>
<div class="description">
<h2>
<span class="eyebrow"
>Registry<span class="colon visually-hidden">: </span></span
>Explore and share
</h2>
<p class="fadeout-box">
Share your machines with the community, get feedback and kudos for
your work.
</p>
<p>
<a class="arrow-link" href="/discover?source=landing-page"
>Discover the machine registry</a
>
</p>
</div>
</section>
<section class="powered-by-xstate">
<div class="grid-background" data-edge-source="powered-by-xstate"></div>
<h2 class="powered-by-xstate-heading">Powered by XState</h2>
<p
data-edge-source="powered-by-xstate-subhead"
data-edge-target="testimonial-1"
>
<a href="https://github.com/statelyai/xstate">XState</a> is a robust,
production-proven library for building application logic with state
machines.
</p>
<ul class="powered-by-xstate-list">
<li class="extra-feature js">
<h3 class="fadeout-box">No framework required</h3>
<p class="fadeout-box">
Only JavaScript is required. Get started quickly with our
<a href="/docs/templates">JavaScript-only template</a>.
</p>
</li>
<li class="extra-feature packages">
<h3 class="fadeout-box">
Packages and templates for React, Vue and Svelte
</h3>
<p class="fadeout-box">
Speedy integration with React, Vue, Svelte and more, with our
dedicated
<a href="/docs/category/xstate-packages">packages</a> and
<a href="/docs/templates">templates</a>.
</p>
</li>
<li class="extra-feature stack">
<h3 class="fadeout-box">Works anywhere in your stack</h3>
<p class="fadeout-box">
Use state machines to orchestrate state in both frontend and
backend environments.
<a href="https://youtu.be/-Ve1ZUPipDs?t=253"
>Watch us discuss interesting uses of state machines</a
>
in our office hours.
</p>
</li>
<li class="extra-feature robust">
<h3 class="fadeout-box">Robust and production-proven</h3>
<p class="fadeout-box">
Used in production by many big and small teams across the world.
<a href="/blog/2021-10-11-convince-teammates"
>Convince your team to use XState</a
>.
</p>
</li>
<li class="extra-feature github">
<h3 class="fadeout-box">Mature project with 22k+ GitHub stars</h3>
<p class="fadeout-box">
3+ years of development and a dedicated full-time team improving
the tooling every day.
<a href="https://github.com/statelyai/xstate"
>Check out the GitHub repository</a
>.
</p>
</li>
<li class="extra-feature discord">
<h3 class="fadeout-box">Friendly and helpful community</h3>
<p class="fadeout-box">
<a href="https://discord.gg/xstate">Join our Discord</a> to give
us feedback and get support.
</p>
</li>
</ul>
</section>
<section class="loved-by-teams">
<div class="grid-background"></div>
<h2 class="fadeout-box">Loved by teams</h2>
<p class="testimonial-subhead visually-hidden">User’s testimonials</p>
<div class="grid-background grid-background-two"></div>
<ul class="testimonials" data-edge-source="testimonial-1">
<li class="testimonial">
<div class="testimonial-about">
<picture>
<img
class="avatar"
src="./landing-page/assets/amy.png"
alt=""
height="62"
width="62"
/>
</picture>
<h3 class="name">Amy Pellegrini</h3>
<p class="works-with">@ Thoughtworks</p>
</div>
<p class="testimonial-text">
Every team where I introduced XState has been more effective at
handling state management with complex user interfaces. It fills a
gap in the JS ecosystem no other tool did before.
</p>
</li>
<li
class="testimonial"
data-edge-source="testimonial-2"
data-edge-target="testimonial-3"
data-edge-source-side="left"
data-edge-source-position="0.5"
data-edge-target-side="top"
data-edge-target-position="0.1"
>
<div class="testimonial-about">
<picture>
<img
class="avatar"
src="./landing-page/assets/natalie.png"
alt=""
height="62"
width="62"
/>
</picture>
<h3 class="name">Natalie Cuthbert</h3>
<p class="works-with">@ Stitch</p>
</div>
<p class="testimonial-text">
We've been using XState for our new payments product. Shout out to
the team that is making designing complex front-end flows a dream.
</p>
</li>
<li
class="testimonial"
data-edge-source="testimonial-3"
data-edge-target="testimonial-4"
data-edge-source-side="right"
data-edge-source-position="0.5"
data-edge-target-side="top"
data-edge-target-position="0.92"
>
<div class="testimonial-about">
<picture>
<img
class="avatar"
src="./landing-page/assets/patrick.png"
alt=""
height="62"
width="62"
/>
</picture>
<h3 class="name">Patrick Cavit</h3>
<p class="works-with">@ Netflix</p>
</div>
<p class="testimonial-text">
XState is a revelation. It makes complex tasks easier to build and
debug while also making the code more straightforward and
approachable
</p>
</li>
<li
class="testimonial"
data-edge-source="testimonial-4"
data-edge-target="testimonial-5"
data-edge-source-side="bottom"
data-edge-source-position="0.05"
data-edge-target-side="left"
data-edge-target-position="0.5"
>
<div class="testimonial-about">
<picture>
<img
class="avatar"
src="./landing-page/assets/santi.png"
alt=""
height="62"
width="62"
/>
</picture>
<h3 class="name">Santi Cros</h3>
<p class="works-with">@ Domestic Data Streamers</p>
</div>
<p class="testimonial-text">
Thinking and building with XState has been a revolution in how I
develop robust business logic. But being able to visualize that in
real time, has been a game changer in how I model and communicate
any logic!
</p>
</li>
<li
class="testimonial"
data-edge-source="testimonial-5"
data-edge-target="testimonial-6"
data-edge-source-side="bottom"
data-edge-source-position="0.9"
data-edge-target-side="right"
data-edge-target-position="0.5"
>
<div class="testimonial-about">
<picture>
<img
class="avatar"
src="./landing-page/assets/presley.png"
alt=""
height="62"
width="62"
/>
</picture>
<h3 class="name">Presley Pizzo</h3>
<p class="works-with">@ Coder</p>
</div>
<p class="testimonial-text">
XState naturally separates the logic and makes it simple to mock
out API calls, so it's easier to test the code and organize it!
</p>
</li>
<li class="testimonial" data-edge-source="testimonial-6">
<div class="testimonial-about">
<picture>
<img
class="avatar"
src="./landing-page/assets/maya.png"
alt=""
height="62"
width="62"
/>
</picture>
<h3 class="name">Maya Shavin</h3>
<p class="works-with">@ Microsoft</p>
</div>
<p class="testimonial-text">
Advantages of XState: Visually clear view of the code flow, code
reusability, test coverage, easy to debug/ spot bugs, code
scalability & maintenance, and better code design & planning
</p>
</li>
<li
class="testimonial"
data-edge-source="testimonial-7"
data-edge-source-side="left"
data-edge-target="make-your-code-do-more"
data-edge-target-side="left"
>
<div class="testimonial-about">
<picture>
<img
class="avatar"
src="./landing-page/assets/james.png"
alt=""
height="62"
width="62"
/>
</picture>
<h3 class="name">James Tharpe</h3>
<p class="works-with">@ T-Mobile</p>
</div>
<p class="testimonial-text">
We use XState to implement business workflows as statecharts. The
visualizer helps us collaborate more closely with customers, the
ability to externalize workflows as JSON configuration makes
complex workflow changes surprisingly simple to roll out, and test
case generation makes it easier than ever to move forward with
confidence. XState makes it all possible!
</p>
</li>
</ul>
</section>
<section class="tagline center-small">
<h2
data-edge-source="make-your-code-do-more"
data-edge-target="final-cta"
>
Make your code do more.
</h2>
<p class="duo-buttons" data-edge-source="final-cta">
<a
class="button-link button-link-cta-primary plausible-event-name=landing+try+editor"
href="/editor?source=landing-page"
>
Try the editor
</a>
<a
class="button-link button-link-cta-secondary plausible-event-name=landing+demo"
href="https://calendly.com/d/yc8-3hq-rpc/request-a-demo"
>
Book a demo
</a>
</p>
</section>
</main>
<aside id="newsletter" class="email-signup">
<form
action="registry/api/newsletter/signup"
method="post"
target="popupwindow"
class="embeddable-buttondown-form state plausible-event-name=landing+newsletter+signup"
data-active
>
<h2>Get updates by email</h2>
<label for="bd-email">Subscribe to our newsletter</label>
<div class="fields">
<input
type="email"
name="email"
id="bd-email"
required
placeholder="[email protected]"
/>
<input type="hidden" value="1" name="embed" />
<input type="submit" class="white" value="Subscribe" />
</div>
</form>
</aside>
<footer class="site-footer">
<nav>
<ul class="footer-list">
<li><a href="/privacy/">Privacy policy</a></li>
<li>
<a href="/code-of-conduct/">Code of Conduct</a>
</li>
<li><a href="https://twitter.com/statelyai">Twitter</a></li>
<li><a href="https://youtube.com/c/statelyai">YouTube</a></li>
<li>
<a
href="https://discord.gg/xstate"
class="plausible-event-name=landing+discord"
>Discord community</a
>
</li>
</ul>
</nav>
<p class="copyright"><small>Copyright © Stately, 2023</small></p>
</footer>
</body>
</html>