fix: remove dialog

This commit is contained in:
amhsirak
2026-09-30 13:08:44 +05:30
parent b6b35b44c1
commit 344669c964
+2 -39
View File
@@ -250,7 +250,8 @@ export const MainMenu = ({ value = 'robots', handleChangeContent }: MainMenuProp
sx={buttonStyles} startIcon={<CloseFullscreen />}>
MCP
</Button>
<Button onClick={() => setSponsorModalOpen(true)} sx={buttonStyles} startIcon={<Favorite />}>
<Button href='https://github.com/sponsors/amhsirak' target="_blank"
rel="noopener noreferrer"sx={buttonStyles} startIcon={<Favorite />}>
Sponsor Us
</Button>
</Box>
@@ -299,44 +300,6 @@ export const MainMenu = ({ value = 'robots', handleChangeContent }: MainMenuProp
</Box>
</Button>
</Paper>
<Dialog
open={sponsorModalOpen}
onClose={() => setSponsorModalOpen(false)}
maxWidth="sm"
fullWidth
PaperProps={{
sx: {
borderRadius: 2,
width: 600
}
}}
>
<DialogTitle>
Support Maxun Open Source
</DialogTitle>
<DialogContent sx={{ pt: 2 }}>
<Typography variant="body1" gutterBottom>
Maxun is built by a small, full-time team. Your donations directly
contribute to making it better.
<br />
Thank you for your support! 🩷
</Typography>
<Stack direction="row" spacing={2} mt={4}>
<Button
href="https://github.com/sponsors/amhsirak"
target="_blank"
rel="noopener noreferrer"
variant="outlined"
fullWidth
>
Sponsor Maxun on GitHub Sponsors
</Button>
</Stack>
</DialogContent>
</Dialog>
</>
);
};