Spaces:
Running
Running
Nicolas Rabault
commited on
Commit
·
40c9336
1
Parent(s):
4f54bfc
Improve landing page and add a git ignore.
Browse files- .gitignore +76 -0
- src/components/landing/ActionList.tsx +14 -7
- src/pages/Landing.tsx +8 -7
.gitignore
ADDED
@@ -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
CHANGED
@@ -1,9 +1,13 @@
|
|
1 |
-
|
2 |
-
import React from 'react';
|
3 |
import { Button } from "@/components/ui/button";
|
4 |
import { ArrowRight, AlertTriangle } from "lucide-react";
|
5 |
-
import {
|
6 |
-
|
|
|
|
|
|
|
|
|
|
|
7 |
|
8 |
interface ActionListProps {
|
9 |
actions: Action[];
|
@@ -24,7 +28,8 @@ const ActionList: React.FC<ActionListProps> = ({ actions, robotModel }) => {
|
|
24 |
)}
|
25 |
{isLeKiwi && (
|
26 |
<p className="text-center text-yellow-500 mb-4">
|
27 |
-
LeKiwi model is not yet supported. Please select another model to
|
|
|
28 |
</p>
|
29 |
)}
|
30 |
<div className="grid grid-cols-1 md:grid-cols-2 gap-4">
|
@@ -49,11 +54,13 @@ const ActionList: React.FC<ActionListProps> = ({ actions, robotModel }) => {
|
|
49 |
<p>Work in progress</p>
|
50 |
</TooltipContent>
|
51 |
</Tooltip>
|
52 |
-
<span className="text-yellow-500 text-xs font-medium">
|
|
|
|
|
53 |
</div>
|
54 |
)}
|
55 |
</div>
|
56 |
-
<p className="text-gray-400 text-sm">
|
57 |
{action.description}
|
58 |
</p>
|
59 |
</div>
|
|
|
1 |
+
import React from "react";
|
|
|
2 |
import { Button } from "@/components/ui/button";
|
3 |
import { ArrowRight, AlertTriangle } from "lucide-react";
|
4 |
+
import {
|
5 |
+
Tooltip,
|
6 |
+
TooltipContent,
|
7 |
+
TooltipProvider,
|
8 |
+
TooltipTrigger,
|
9 |
+
} from "@/components/ui/tooltip";
|
10 |
+
import { Action } from "./types";
|
11 |
|
12 |
interface ActionListProps {
|
13 |
actions: Action[];
|
|
|
28 |
)}
|
29 |
{isLeKiwi && (
|
30 |
<p className="text-center text-yellow-500 mb-4">
|
31 |
+
LeKiwi model is not yet supported. Please select another model to
|
32 |
+
continue.
|
33 |
</p>
|
34 |
)}
|
35 |
<div className="grid grid-cols-1 md:grid-cols-2 gap-4">
|
|
|
54 |
<p>Work in progress</p>
|
55 |
</TooltipContent>
|
56 |
</Tooltip>
|
57 |
+
<span className="text-yellow-500 text-xs font-medium">
|
58 |
+
Work in Progress
|
59 |
+
</span>
|
60 |
</div>
|
61 |
)}
|
62 |
</div>
|
63 |
+
<p className="text-gray-400 text-sm text-left">
|
64 |
{action.description}
|
65 |
</p>
|
66 |
</div>
|
src/pages/Landing.tsx
CHANGED
@@ -291,11 +291,18 @@ const Landing = () => {
|
|
291 |
handler: handleTeleoperationClick,
|
292 |
color: "bg-yellow-500 hover:bg-yellow-600",
|
293 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
294 |
{
|
295 |
title: "Direct Follower Control",
|
296 |
-
description: "
|
297 |
handler: handleDirectFollowerClick,
|
298 |
color: "bg-blue-500 hover:bg-blue-600",
|
|
|
299 |
},
|
300 |
{
|
301 |
title: "Calibration",
|
@@ -304,12 +311,6 @@ const Landing = () => {
|
|
304 |
color: "bg-indigo-500 hover:bg-indigo-600",
|
305 |
isWorkInProgress: true,
|
306 |
},
|
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 |
-
},
|
313 |
{
|
314 |
title: "Training",
|
315 |
description: "Train a model on your datasets.",
|
|
|
291 |
handler: handleTeleoperationClick,
|
292 |
color: "bg-yellow-500 hover:bg-yellow-600",
|
293 |
},
|
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 |
+
},
|
300 |
{
|
301 |
title: "Direct Follower Control",
|
302 |
+
description: "Control robot arm with mouse movements.",
|
303 |
handler: handleDirectFollowerClick,
|
304 |
color: "bg-blue-500 hover:bg-blue-600",
|
305 |
+
isWorkInProgress: true,
|
306 |
},
|
307 |
{
|
308 |
title: "Calibration",
|
|
|
311 |
color: "bg-indigo-500 hover:bg-indigo-600",
|
312 |
isWorkInProgress: true,
|
313 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
314 |
{
|
315 |
title: "Training",
|
316 |
description: "Train a model on your datasets.",
|