feat: add beta tag

This commit is contained in:
amhsirak
2025-12-11 14:45:23 +05:30
parent 372ea7e7f2
commit 397d74bcad

View File

@@ -267,13 +267,14 @@ const RobotCreate: React.FC = () => {
<CardContent sx={{ textAlign: 'center', py: 3 }}>
<PlayCircleOutline sx={{ fontSize: 32, mb: 1 }} />
<Typography variant="h6" gutterBottom>
Record yourself
Manual Mode
</Typography>
<Typography variant="body2" color="text.secondary">
You control the browser
Capture actions step-by-step
</Typography>
</CardContent>
</Card>
<Card
onClick={() => setGenerationMode('agent')}
sx={{
@@ -284,22 +285,40 @@ const RobotCreate: React.FC = () => {
transition: 'all 0.2s',
'&:hover': {
borderColor: '#ff00c3',
}
},
position: 'relative'
}}
>
{/* Beta Tag */}
<Box
sx={{
position: 'absolute',
top: 8,
right: 8,
background: '#ff00c3',
color: '#fff',
px: 1,
py: 0.3,
borderRadius: '6px',
fontSize: '0.7rem',
fontWeight: 600
}}
>
Beta
</Box>
<CardContent sx={{ textAlign: 'center', py: 3 }}>
<SmartToy sx={{ fontSize: 32, mb: 1 }} />
<Typography variant="h6" gutterBottom>
AI Powered
AI Mode
</Typography>
<Typography variant="body2" color="text.secondary">
AI will take care of everything
Describe the task. It builds it for you.
</Typography>
</CardContent>
</Card>
</Box>
</Box>
{generationMode === 'agent' && (
<Box sx={{ width: '100%', maxWidth: 700 }}>
<Box sx={{ mb: 3 }}>