mirror of
https://github.com/getmaxun/maxun.git
synced 2026-10-17 04:30:39 +08:00
fix: remove dialog
This commit is contained in:
@@ -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>
|
||||
</>
|
||||
);
|
||||
};
|
||||
Reference in New Issue
Block a user