Skip to content

Commit cca2fb8

Browse files
committed
fix editor link
1 parent a1a581f commit cca2fb8

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/components/landing/Intro.tsx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,20 @@ export function Intro() {
55
return (
66
<section className="py-36 bgimage-gradient-blue">
77
<div className="container m-auto max-w-7xl">
8-
<h1 className="text-5xl md:text-6xl lg:text-6xl font-semibold text-white/90 drop-shadow-sm tracking-tighter leading-tight text-center">
8+
<h1 className="text-5xl font-semibold leading-tight tracking-tighter text-center md:text-6xl lg:text-6xl text-white/90 drop-shadow-sm">
99
Your intelligent assistant for robust logic
1010
</h1>
1111
<ExampleRow />
1212

13-
<div className="flex flex-col w-full items-center">
14-
<p className="text-lg md:text-xl lg:text-2xl text-white/60 drop-shadow-sm tracking-tight leading-normal mt-24 mb-12 max-w-lg text-center">
13+
<div className="flex flex-col items-center w-full">
14+
<p className="max-w-lg mt-24 mb-12 text-lg leading-normal tracking-tight text-center md:text-xl lg:text-2xl text-white/60 drop-shadow-sm">
1515
Build and deploy workflows and app logic with AI enhanced,
1616
collaborative tools
1717
</p>
1818
<CallToActionButtons />
1919
</div>
2020

21-
<div className="shadow-md rounded-md w-full">
21+
<div className="w-full rounded-md shadow-md">
2222
<img
2323
alt="This state machine is called Accumulate room readings. Its purpose is to get temperature and humidity readings from IoT sensors and generate a report every hour. The state machine starts in the ConsumeReadings state, where it initializes the temperature and humidity values as null. It then waits for temperature and humidity events to be logged. When a temperature event is logged, the state machine updates the temperature value. Similarly, when a humidity event is logged, it updates the humidity value. After one hour, the state machine transitions to the GenerateReport state. In this state, it invokes a service called produceReport to generate the report. Once the report is generated, the state machine transitions back to the ConsumeReadings state to continue accumulating readings."
2424
src="/assets/landing/room-readings.png"
@@ -40,7 +40,7 @@ const line = 'w-4 lg:w-12 h-[1px] bg-blue-800 self-center rounded-md';
4040

4141
function ExampleRow() {
4242
return (
43-
<ul className="flex max-w-full flex-wrap gap-2 mt-20 m-auto justify-center select-none">
43+
<ul className="flex flex-wrap justify-center max-w-full gap-2 m-auto mt-20 select-none">
4444
<li className="flex flex-wrap gap-2">
4545
<div className={exampleBox}>Workflows</div>{' '}
4646
<span className={line}></span>
@@ -75,11 +75,11 @@ function ExampleRow() {
7575

7676
function CallToActionButtons() {
7777
return (
78-
<div className="flex gap-4 justify-center md:justify-start">
78+
<div className="flex justify-center gap-4 md:justify-start">
7979
<ButtonLink
8080
size="large"
8181
background="pink"
82-
href="https://stately.ai/editor?source=landing-page"
82+
href="/editor?source=landing-page"
8383
>
8484
Try the visual editor
8585
</ButtonLink>
@@ -96,7 +96,7 @@ function CallToActionButtons() {
9696

9797
function Companies() {
9898
return (
99-
<div className="container flex flex-wrap gap-12 md:gap-16 justify-center pb-16 max-w-3xl lg:max-w-5xl">
99+
<div className="container flex flex-wrap justify-center max-w-3xl gap-12 pb-16 md:gap-16 lg:max-w-5xl">
100100
<Company
101101
src="/landing-page/assets/aws.svg"
102102
alt="AWS"

0 commit comments

Comments
 (0)