Nicolas Rabault commited on
Commit
f2516c6
·
1 Parent(s): 137f4c1

Improve landing

Browse files
src/components/landing/LandingHeader.tsx CHANGED
@@ -21,12 +21,11 @@ const LandingHeader: React.FC<LandingHeaderProps> = ({
21
  <h1 className="text-5xl font-bold tracking-tight">LeLab</h1>
22
  <p className="text-xl text-gray-400">LeRobot but on HFSpace.</p>
23
  <Button
24
- variant="ghost"
25
- size="icon"
26
  onClick={onShowInstructions}
27
- className="mx-auto"
28
  >
29
- <Info className="h-6 w-6 text-gray-400 hover:text-white" />
30
  </Button>
31
  </div>
32
  </div>
 
21
  <h1 className="text-5xl font-bold tracking-tight">LeLab</h1>
22
  <p className="text-xl text-gray-400">LeRobot but on HFSpace.</p>
23
  <Button
24
+ variant="outline"
 
25
  onClick={onShowInstructions}
26
+ className="mx-auto flex items-center gap-2 border-blue-500 text-blue-400 hover:text-white hover:bg-blue-600 hover:border-blue-600 transition-colors duration-200 px-6 py-2"
27
  >
28
+ 👉&nbsp;&nbsp;&nbsp;&nbsp;Getting started&nbsp;&nbsp;&nbsp;&nbsp;👈
29
  </Button>
30
  </div>
31
  </div>
src/pages/Landing.tsx CHANGED
@@ -358,6 +358,13 @@ const Landing = () => {
358
  };
359
 
360
  const actions: Action[] = [
 
 
 
 
 
 
 
361
  {
362
  title: "Teleoperation",
363
  description: "Control the robot arm in real-time.",
@@ -371,17 +378,10 @@ const Landing = () => {
371
  color: "bg-red-500 hover:bg-red-600",
372
  },
373
  {
374
- title: "Direct Follower Control",
375
- description: "Control robot arm with mouse movements.",
376
- handler: handleDirectFollowerClick,
377
- color: "bg-blue-500 hover:bg-blue-600",
378
- isWorkInProgress: true,
379
- },
380
- {
381
- title: "Calibration",
382
- description: "Calibrate robot arm positions.",
383
- handler: handleCalibrationClick,
384
- color: "bg-indigo-500 hover:bg-indigo-600",
385
  isWorkInProgress: true,
386
  },
387
  {
@@ -392,10 +392,10 @@ const Landing = () => {
392
  isWorkInProgress: true,
393
  },
394
  {
395
- title: "Replay Dataset",
396
- description: "Replay and analyze recorded datasets.",
397
- handler: handleReplayDatasetClick,
398
- color: "bg-purple-500 hover:bg-purple-600",
399
  isWorkInProgress: true,
400
  },
401
  ];
 
358
  };
359
 
360
  const actions: Action[] = [
361
+ {
362
+ title: "Calibration",
363
+ description: "Calibrate robot arm positions.",
364
+ handler: handleCalibrationClick,
365
+ color: "bg-indigo-500 hover:bg-indigo-600",
366
+ isWorkInProgress: false,
367
+ },
368
  {
369
  title: "Teleoperation",
370
  description: "Control the robot arm in real-time.",
 
378
  color: "bg-red-500 hover:bg-red-600",
379
  },
380
  {
381
+ title: "Replay Dataset",
382
+ description: "Replay and analyze recorded datasets.",
383
+ handler: handleReplayDatasetClick,
384
+ color: "bg-purple-500 hover:bg-purple-600",
 
 
 
 
 
 
 
385
  isWorkInProgress: true,
386
  },
387
  {
 
392
  isWorkInProgress: true,
393
  },
394
  {
395
+ title: "Direct Follower Control",
396
+ description: "Control robot arm with mouse movements.",
397
+ handler: handleDirectFollowerClick,
398
+ color: "bg-blue-500 hover:bg-blue-600",
399
  isWorkInProgress: true,
400
  },
401
  ];