Skip to content

Commit 40c9336

Browse files
Improve landing page and add a git ignore.
1 parent 4f54bfc commit 40c9336

File tree

3 files changed

+98
-14
lines changed

3 files changed

+98
-14
lines changed

.gitignore

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
# Dependencies
2+
/node_modules
3+
/.pnp
4+
.pnp.js
5+
6+
# Testing
7+
/coverage
8+
9+
# Production
10+
/build
11+
/dist
12+
13+
# Misc
14+
.DS_Store
15+
.env
16+
.env.local
17+
.env.development.local
18+
.env.test.local
19+
.env.production.local
20+
.env*.local
21+
22+
# Debug logs
23+
npm-debug.log*
24+
yarn-debug.log*
25+
yarn-error.log*
26+
27+
# IDE
28+
.idea/
29+
.vscode/
30+
*.swp
31+
*.swo
32+
33+
# TypeScript
34+
*.tsbuildinfo
35+
36+
# Optional npm cache directory
37+
.npm
38+
39+
# Optional eslint cache
40+
.eslintcache
41+
42+
# Optional REPL history
43+
.node_repl_history
44+
45+
# Output of 'npm pack'
46+
*.tgz
47+
48+
# Yarn Integrity file
49+
.yarn-integrity
50+
51+
# Python
52+
__pycache__/
53+
*.py[cod]
54+
*$py.class
55+
*.so
56+
.Python
57+
env/
58+
build/
59+
develop-eggs/
60+
dist/
61+
downloads/
62+
eggs/
63+
.eggs/
64+
lib/
65+
lib64/
66+
parts/
67+
sdist/
68+
var/
69+
wheels/
70+
*.egg-info/
71+
.installed.cfg
72+
*.egg
73+
74+
# Virtual Environment
75+
venv/
76+
ENV/

src/components/landing/ActionList.tsx

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
1-
2-
import React from 'react';
1+
import React from "react";
32
import { Button } from "@/components/ui/button";
43
import { ArrowRight, AlertTriangle } from "lucide-react";
5-
import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "@/components/ui/tooltip";
6-
import { Action } from './types';
4+
import {
5+
Tooltip,
6+
TooltipContent,
7+
TooltipProvider,
8+
TooltipTrigger,
9+
} from "@/components/ui/tooltip";
10+
import { Action } from "./types";
711

812
interface ActionListProps {
913
actions: Action[];
@@ -24,7 +28,8 @@ const ActionList: React.FC<ActionListProps> = ({ actions, robotModel }) => {
2428
)}
2529
{isLeKiwi && (
2630
<p className="text-center text-yellow-500 mb-4">
27-
LeKiwi model is not yet supported. Please select another model to continue.
31+
LeKiwi model is not yet supported. Please select another model to
32+
continue.
2833
</p>
2934
)}
3035
<div className="grid grid-cols-1 md:grid-cols-2 gap-4">
@@ -49,11 +54,13 @@ const ActionList: React.FC<ActionListProps> = ({ actions, robotModel }) => {
4954
<p>Work in progress</p>
5055
</TooltipContent>
5156
</Tooltip>
52-
<span className="text-yellow-500 text-xs font-medium">Work in Progress</span>
57+
<span className="text-yellow-500 text-xs font-medium">
58+
Work in Progress
59+
</span>
5360
</div>
5461
)}
5562
</div>
56-
<p className="text-gray-400 text-sm">
63+
<p className="text-gray-400 text-sm text-left">
5764
{action.description}
5865
</p>
5966
</div>

src/pages/Landing.tsx

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -291,11 +291,18 @@ const Landing = () => {
291291
handler: handleTeleoperationClick,
292292
color: "bg-yellow-500 hover:bg-yellow-600",
293293
},
294+
{
295+
title: "Record Dataset",
296+
description: "Record episodes for training data.",
297+
handler: handleRecordingClick,
298+
color: "bg-red-500 hover:bg-red-600",
299+
},
294300
{
295301
title: "Direct Follower Control",
296-
description: "Train a model on your datasets.",
302+
description: "Control robot arm with mouse movements.",
297303
handler: handleDirectFollowerClick,
298304
color: "bg-blue-500 hover:bg-blue-600",
305+
isWorkInProgress: true,
299306
},
300307
{
301308
title: "Calibration",
@@ -304,12 +311,6 @@ const Landing = () => {
304311
color: "bg-indigo-500 hover:bg-indigo-600",
305312
isWorkInProgress: true,
306313
},
307-
{
308-
title: "Record Dataset",
309-
description: "Record episodes for training data.",
310-
handler: handleRecordingClick,
311-
color: "bg-red-500 hover:bg-red-600",
312-
},
313314
{
314315
title: "Training",
315316
description: "Train a model on your datasets.",

0 commit comments

Comments
 (0)