feat: change card order

This commit is contained in:
amhsirak
2025-12-11 14:40:25 +05:30
parent b5add96446
commit b7aca0e392

View File

@@ -253,30 +253,6 @@ const RobotCreate: React.FC = () => {
</Typography>
<Box sx={{ display: 'flex', gap: 2 }}>
<Card
onClick={() => setGenerationMode('agent')}
sx={{
flex: 1,
cursor: 'pointer',
border: '2px solid',
borderColor: generationMode === 'agent' ? '#ff00c3' : 'divider',
transition: 'all 0.2s',
'&:hover': {
borderColor: '#ff00c3',
}
}}
>
<CardContent sx={{ textAlign: 'center', py: 3 }}>
<SmartToy sx={{ fontSize: 32, mb: 1 }} />
<Typography variant="h6" gutterBottom>
AI Powered
</Typography>
<Typography variant="body2" color="text.secondary">
AI will take care of everything
</Typography>
</CardContent>
</Card>
<Card
onClick={() => setGenerationMode('recorder')}
sx={{
@@ -300,6 +276,29 @@ const RobotCreate: React.FC = () => {
</Typography>
</CardContent>
</Card>
<Card
onClick={() => setGenerationMode('agent')}
sx={{
flex: 1,
cursor: 'pointer',
border: '2px solid',
borderColor: generationMode === 'agent' ? '#ff00c3' : 'divider',
transition: 'all 0.2s',
'&:hover': {
borderColor: '#ff00c3',
}
}}
>
<CardContent sx={{ textAlign: 'center', py: 3 }}>
<SmartToy sx={{ fontSize: 32, mb: 1 }} />
<Typography variant="h6" gutterBottom>
AI Powered
</Typography>
<Typography variant="body2" color="text.secondary">
AI will take care of everything
</Typography>
</CardContent>
</Card>
</Box>
</Box>