Skip to content

Commit f70f17f

Browse files
authored
Optimise images and add alt text (#267)
1 parent 40e4701 commit f70f17f

27 files changed

+31
-123
lines changed

src/components/landing/Benefits.tsx

Lines changed: 20 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ function DesignSection() {
7979
<img
8080
alt="View of the same credit check workflow in simulate mode in the Stately editor. In Design mode, states can be added. In Simulate mode, the machine can be walked through where the current state and available events are highlighted."
8181
src="/assets/landing/design-and-simulate.png"
82-
className="w-full h-auto rounded-b-2xl"
82+
className="w-full h-auto rounded-b-2xl" height="385" width="1207"
8383
/>
8484
</Feature>
8585
</div>
@@ -139,9 +139,9 @@ function DesignSection() {
139139
</div>
140140
</div>
141141
<img
142-
alt="View of the same credit check workflow in simulate mode in the Stately editor. In Design mode, states can be added. In Simulate mode, the machine can be walked through where the current state and available events are highlighted."
142+
alt="A state machine in the Stately editor for a color picker with a screenshot of the color value input in the idle state and a screenshot of the full spectrum color picker in the open state."
143143
src="/assets/landing/assets-colorpicker.png"
144-
className="w-full h-auto rounded-r-2xl"
144+
className="w-full h-auto rounded-r-2xl" width="603" height="903"
145145
/>
146146
</div>
147147
</Feature>
@@ -159,7 +159,7 @@ function DesignSection() {
159159
<img
160160
alt="A state machine being accurately generated in the Stately editor from the text description: An authentication flow for a web app. The first two sign in options are using GitHub or Apple where the user does not need to enter their email address or password. The third sign in option is using email where the user needs to enter their email address and password to sign up if they have not already signed up or to sign in if they have already signed up. The authentication flow is complete when a user has signed in."
161161
src="/assets/landing/ai-generation.png"
162-
className="w-full h-auto rounded-br-2xl"
162+
className="w-full h-auto rounded-br-2xl" height="363" width="1207"
163163
/>
164164
</Feature>
165165
</div>
@@ -250,9 +250,10 @@ function XStateSection() {
250250
</Feature>
251251
</div>
252252
<img
253-
alt="A book lender state machine in VSCode. One panel shows the state machine as a JavaScript object, the other panel shows the state machine visualized using the XState VSCode extension."
253+
alt="A book lender state machine in VSCode. One panel shows the state machine as a JavaScript object, the other panel shows the same state machine visualized using the XState VSCode extension."
254254
src="/assets/landing/vscode-split.png"
255255
className="w-full h-auto mt-12"
256+
height="637" width="1208"
256257
/>
257258
<div className="grid justify-center w-full gap-12 md:grid-cols-2 lg:grid-cols-3 pt-48">
258259
<Feature box>
@@ -302,9 +303,11 @@ function XStateSection() {
302303
</FeatureText>
303304
</div>
304305
<img
305-
alt="A book lending machine in the Stately editor alongside the React app view showing the React code and the machine represented in TypeScript. In between them is the Stately editor’s Generate React app button."
306+
alt="The room reading state machine visualized in the Stately editor alongside the React app code generated for that app logic. Over the top is a button that says Generate React app."
306307
src="/assets/landing/generate-react.png"
307308
className="w-full h-auto rounded-b-2xl md:rounded-bl-[0] md:rounded-tr-2xl"
309+
height="331"
310+
width="580"
308311
/>
309312
</div>
310313
</Feature>
@@ -320,8 +323,10 @@ function XStateSection() {
320323
</FeatureText>
321324
</div>
322325
<img
323-
alt="A list of test paths in the Stately editor, The reaches state “Book lennding.End” via declineBookHold is hovered over, and the corresponding path through the state machine is highlighted on the canvas."
326+
alt="A test path list of states and events in the Stately editor alongside that path being highlighted on the canvas, and the code generated to implement the tests."
324327
src="/assets/landing/test-generation.png"
328+
height="287"
329+
width="1207"
325330
className="w-full h-auto rounded-br-2xl"
326331
/>
327332
</div>
@@ -413,9 +418,10 @@ function SourceOfTruthSection() {
413418
</FeatureText>
414419
</div>
415420
<img
416-
alt="The event schema modal in the Stately editor open to add properties to an orderCreatedEvent event. The properties are orderNumber and orderDate, and they are both strings."
421+
alt="An order flow in the Stately editor alongside the event schema which shows events for OrderCreatedEvent, ShipmentSentEvent and OrderConfirmedEvent. Each event has properties of various types including string, array, object, and boolean."
417422
src="/assets/landing/event-schema.png"
418-
height="100px"
423+
height="580"
424+
width="470"
419425
className="rounded-md"
420426
/>
421427
</div>
@@ -474,8 +480,9 @@ function SkySection() {
474480
</div>
475481

476482
<img
477-
alt="A traffic light machine in the Stately editor alongside a live web app with a rendering of a traffic light. In between them is the Stately editor’s Deploy button."
483+
alt="A traffic light machine in the Stately editor alongside a live web app with a rendering of a traffic light."
478484
src="/assets/landing/deploy-to-sky.png"
485+
height="598" width="1024"
479486
className="w-full h-auto max-w-5xl mx-auto mt-32 rounded-2xl border-2 border-white/10"
480487
/>
481488

@@ -497,8 +504,10 @@ function SkySection() {
497504
</div>
498505

499506
<img
500-
alt="A traffic light machine in the Stately editor alongside a live web app with a rendering of a traffic light. In between them is the Stately editor’s Deploy button."
507+
alt="A diagram showing how Stately Studio deploys an actor to Stately Sky, how the config is sent from Stately Sky to Stately Sky SDK, which in turn sents state and events back to Stately Sky."
501508
src="/assets/landing/sky-diagram.svg"
509+
height="139"
510+
width="1024"
502511
className="w-full max-w-5xl mx-auto mt-24"
503512
/>
504513

static/assets/landing/DELETE-1.png

-219 KB
Binary file not shown.

static/assets/landing/DELETE-2.png

-428 KB
Binary file not shown.
-14.5 KB
Loading
-29.3 KB
Loading
-935 Bytes
Loading
-23.4 KB
Loading
-43.4 KB
Loading
-30.2 KB
Loading
-826 Bytes
Loading

0 commit comments

Comments
 (0)