feat: small text field

This commit is contained in:
amhsirak
2025-07-31 23:50:04 +05:30
parent 297e8463fa
commit 225320347f

View File

@@ -110,24 +110,24 @@ export const MainMenu = ({ value = 'robots', handleChangeContent }: MainMenuProp
As a thank-you to Open Source users, enjoy 8% off your subscription! As a thank-you to Open Source users, enjoy 8% off your subscription!
</Typography> </Typography>
<Typography variant="body2" color="text.secondary" sx={{ mt: 3, mb: 1 }}> <Typography variant="body2" color="text.secondary" sx={{ mt: 2, mb: 0.5, fontSize: 13 }}>
Use the following discount code at checkout: Use the discount code:
</Typography> </Typography>
<TextField <TextField
fullWidth size="small"
value={ossDiscountCode} value={ossDiscountCode}
InputProps={{ InputProps={{
readOnly: true, readOnly: true,
endAdornment: ( endAdornment: (
<InputAdornment position="end"> <InputAdornment position="end">
<IconButton onClick={copyDiscountCode} edge="end" aria-label="copy discount code"> <IconButton onClick={copyDiscountCode} edge="end" aria-label="copy discount code" size="small">
<ContentCopy /> <ContentCopy fontSize="small" />
</IconButton> </IconButton>
</InputAdornment> </InputAdornment>
), ),
}} }}
sx={{ mb: 3 }} sx={{ mb: 2, fontSize: 13 }}
/> />
<Button href="https://app.maxun.dev/login" target="_blank" fullWidth variant="outlined" sx={{ mt: 2 }}> <Button href="https://app.maxun.dev/login" target="_blank" fullWidth variant="outlined" sx={{ mt: 2 }}>
Go to Maxun Cloud Go to Maxun Cloud