jbilcke-hf HF Staff commited on
Commit
f479593
·
1 Parent(s): c245dc5
Files changed (1) hide show
  1. src/app/main.tsx +14 -14
src/app/main.tsx CHANGED
@@ -400,21 +400,21 @@ export default function Main() {
400
  "flex flex-col w-full pt-4 space-y-3 text-gray-50 dark:text-gray-50",
401
  getGame(gameRef.current).className // apply the game theme
402
  ].join(" ")}>
403
- <div className="flex flex-row justify-between">
404
- <div className="text-xl px-2">{lastEvent}</div>
405
- <div className="flex flex-row">
406
- <div className="text-xl mr-2">
407
- {rendered.segments.length
408
- ? <span>💡 Try to click on:</span>
409
- : <span>⌛ Generating clickable areas..</span>
410
- }
411
- </div>
412
- {clickables.map((clickable, i) =>
413
- <div key={i} className="flex flex-row text-xl mr-2">
414
- <div className="">{clickable}</div>
415
- {i < (clickables.length - 1) ? <div>,</div> : null}
416
- </div>)}
417
  </div>
 
 
 
 
 
 
 
 
418
  </div>
419
  <Inventory game={game} onEvent={handleInventoryEvent} />
420
  <SceneRenderer
 
400
  "flex flex-col w-full pt-4 space-y-3 text-gray-50 dark:text-gray-50",
401
  getGame(gameRef.current).className // apply the game theme
402
  ].join(" ")}>
403
+ <div className="flex flex-row justify-end">
404
+ <div className="text-xl mr-2">
405
+ {rendered.segments.length
406
+ ? <span>💡 Try to click on:</span>
407
+ : <span>⌛ Generating clickable areas..</span>
408
+ }
 
 
 
 
 
 
 
 
409
  </div>
410
+ {clickables.map((clickable, i) =>
411
+ <div key={i} className="flex flex-row text-xl mr-2">
412
+ <div className="">{clickable}</div>
413
+ {i < (clickables.length - 1) ? <div>,</div> : null}
414
+ </div>)}
415
+ </div>
416
+ <div className="flex flex-row justify-start">
417
+ <div className="text-xl px-2">{lastEvent}</div>
418
  </div>
419
  <Inventory game={game} onEvent={handleInventoryEvent} />
420
  <SceneRenderer