chore: lint
This commit is contained in:
@@ -18,11 +18,11 @@ export const MainMenu = ({ value = 'robots', handleChangeContent }: MainMenuProp
|
|||||||
const { t } = useTranslation();
|
const { t } = useTranslation();
|
||||||
const navigate = useNavigate();
|
const navigate = useNavigate();
|
||||||
const { notify } = useGlobalInfoStore();
|
const { notify } = useGlobalInfoStore();
|
||||||
|
|
||||||
const [cloudModalOpen, setCloudModalOpen] = useState(false);
|
const [cloudModalOpen, setCloudModalOpen] = useState(false);
|
||||||
const [sponsorModalOpen, setSponsorModalOpen] = useState(false);
|
const [sponsorModalOpen, setSponsorModalOpen] = useState(false);
|
||||||
|
|
||||||
const ossDiscountCode = "MAXUNOSS8";
|
const ossDiscountCode = "MAXUNOSS8";
|
||||||
|
|
||||||
const handleChange = (event: React.SyntheticEvent, newValue: string) => {
|
const handleChange = (event: React.SyntheticEvent, newValue: string) => {
|
||||||
navigate(`/${newValue}`);
|
navigate(`/${newValue}`);
|
||||||
@@ -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: 2, mb: 0.5, fontSize: 13 }}>
|
<Typography variant="body2" color="text.secondary" sx={{ mt: 2, mb: 0.5, fontSize: 13 }}>
|
||||||
Use the discount code
|
Use the discount code
|
||||||
</Typography>
|
</Typography>
|
||||||
<TextField
|
<TextField
|
||||||
size="small"
|
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" size="small">
|
<IconButton onClick={copyDiscountCode} edge="end" aria-label="copy discount code" size="small">
|
||||||
<ContentCopy fontSize="small" />
|
<ContentCopy fontSize="small" />
|
||||||
</IconButton>
|
</IconButton>
|
||||||
</InputAdornment>
|
</InputAdornment>
|
||||||
),
|
),
|
||||||
}}
|
}}
|
||||||
sx={{ mb: 2, fontSize: 13 }}
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user