feat: use subtitl2 & body2

This commit is contained in:
karishmas6
2024-10-19 08:55:17 +05:30
parent 72d5bb1975
commit c80dfa182d

View File

@@ -55,22 +55,22 @@ const ActionDescriptionBox = () => {
if (getText) { if (getText) {
return ( return (
<> <>
<Typography variant="h6" gutterBottom>Capture Text</Typography> <Typography variant="subtitle2" gutterBottom>Capture Text</Typography>
<Typography variant="body1" gutterBottom>Hover over the texts you want to extract and click to select them</Typography> <Typography variant="body2" gutterBottom>Hover over the texts you want to extract and click to select them</Typography>
</> </>
) )
} else if (getScreenshot) { } else if (getScreenshot) {
return ( return (
<> <>
<Typography variant="h6" gutterBottom>Capture Screenshot</Typography> <Typography variant="subtitle2" gutterBottom>Capture Screenshot</Typography>
<Typography variant="body1" gutterBottom>Capture a partial or full page screenshot of the current page. </Typography> <Typography variant="body2" gutterBottom>Capture a partial or full page screenshot of the current page. </Typography>
</> </>
) )
} else if (getList) { } else if (getList) {
return ( return (
<> <>
<Typography variant="h6" gutterBottom>Capture List</Typography> <Typography variant="subtitle2" gutterBottom>Capture List</Typography>
<Typography variant="body1" gutterBottom> <Typography variant="body2" gutterBottom>
Hover over the list you want to extract. Once selected, you can hover over all texts inside the list you selected. Click to select them. Hover over the list you want to extract. Once selected, you can hover over all texts inside the list you selected. Click to select them.
</Typography> </Typography>
<Box> <Box>
@@ -89,7 +89,7 @@ const ActionDescriptionBox = () => {
/> />
} }
label={ label={
<Typography variant="body1" gutterBottom>{text}</Typography> <Typography variant="body2" gutterBottom>{text}</Typography>
} }
/> />
))} ))}
@@ -99,8 +99,8 @@ const ActionDescriptionBox = () => {
} else { } else {
return ( return (
<> <>
<Typography variant="h6" gutterBottom>What data do you want to extract?</Typography> <Typography variant="subtitle2" gutterBottom>What data do you want to extract?</Typography>
<Typography variant="body1" gutterBottom>A robot is designed to perform one action at a time. You can choose any of the options below.</Typography> <Typography variant="body2" gutterBottom>A robot is designed to perform one action at a time. You can choose any of the options below.</Typography>
</> </>
) )
} }