@@ -43,7 +43,7 @@ const Page = () => {
43
43
const [ agentInfoDisplay , setAgentInfoDisplay ] = useState < AgentName | false > (
44
44
false
45
45
) ;
46
- const [ currentStep , setCurrentStep ] = useState ( 0 ) ;
46
+ const [ currentStep , setCurrentStep ] = useState ( 4 ) ;
47
47
48
48
// form submit handler
49
49
const handleSend = async ( e : FormEvent < HTMLFormElement > ) => {
@@ -195,9 +195,9 @@ const Page = () => {
195
195
{ /* header */ }
196
196
< header className = "bg-zinc-50 text-center" >
197
197
< div className = "mx-auto max-w-screen-sm px-6 py-12" >
198
- < h1 className = "text-3xl font-bold" > Cross Reference Agent</ h1 >
198
+ < h1 className = "text-2xl font-bold" > Cross Reference Agent</ h1 >
199
199
200
- < div className = "mt-2 text-lg text- zinc-500" >
200
+ < div className = "mt-2 text-zinc-500" >
201
201
This is a simple example to demonstrate how to use
202
202
< WorkflowIcon size = { 18 } className = " ml-2 inline-flex" /> Upstash
203
203
Workflow Agents to cross-reference information from different
@@ -206,7 +206,7 @@ const Page = () => {
206
206
207
207
< div className = "flex justify-center items-center gap-2 mt-4" >
208
208
< a
209
- className = "inline-flex items-center gap-1 h-9 pl-3 pr-4 bg-black text-white rounded-lg"
209
+ className = "inline-flex items-center gap-1 h-8 pl-3 pr-4 bg-black text-white rounded-lg hover:opacity-80 "
210
210
href = "https://upstash.com/docs/qstash/workflow/quickstarts/vercel-nextjs"
211
211
target = "_blank"
212
212
>
@@ -230,7 +230,7 @@ const Page = () => {
230
230
Docs
231
231
</ a >
232
232
< a
233
- className = "inline-flex items-center gap-1 h-9 pl-3 pr-4 bg-black text-white rounded-lg"
233
+ className = "inline-flex items-center gap-1 h-8 pl-3 pr-4 bg-black text-white rounded-lg hover:opacity-80 "
234
234
href = "https://github.com/upstash/workflow-js/tree/main/examples/agents-researcher"
235
235
>
236
236
< svg
@@ -321,8 +321,8 @@ const Page = () => {
321
321
>
322
322
< Img
323
323
src = "/icons/wikipedia.png"
324
- width = { 44 }
325
- height = { 44 }
324
+ width = { 34 }
325
+ height = { 34 }
326
326
alt = "Wikipedia"
327
327
className = {
328
328
agentStates [ 'Wikipedia' ] === false
@@ -339,8 +339,8 @@ const Page = () => {
339
339
>
340
340
< Img
341
341
src = "/icons/wolfram-alpha.png"
342
- width = { 48 }
343
- height = { 48 }
342
+ width = { 40 }
343
+ height = { 40 }
344
344
alt = "WolframAlpha"
345
345
className = {
346
346
agentStates [ 'WolframAlpha' ] === false
@@ -357,8 +357,8 @@ const Page = () => {
357
357
>
358
358
< Img
359
359
src = "/icons/exa.jpg"
360
- width = { 38 }
361
- height = { 38 }
360
+ width = { 30 }
361
+ height = { 30 }
362
362
alt = "Exa"
363
363
className = {
364
364
agentStates [ 'Exa' ] === false
@@ -414,7 +414,7 @@ const Page = () => {
414
414
{ currentStep > 3 && (
415
415
< StepContent >
416
416
< a
417
- className = "inline-flex items-center gap-1 px-3 py-2 rounded-md bg-purple-500 text-white hover:bg-purple-400"
417
+ className = "inline-flex items-center gap-1 h-8 px-4 rounded-md bg-purple-500 text-white hover:bg-purple-400"
418
418
href = "https://console.upstash.com/qstash?tab=workflow"
419
419
>
420
420
< svg
@@ -437,7 +437,7 @@ const Page = () => {
437
437
</ a >
438
438
439
439
< Img
440
- className = "block mt-4 "
440
+ className = "block mt-8 "
441
441
src = "/screenshot.png"
442
442
width = { 1564 }
443
443
height = { 476 }
0 commit comments