add support project button

This commit is contained in:
calli
2025-03-07 07:28:45 +02:00
parent 17ac314750
commit 3ed35f14b4
2 changed files with 29 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
import { Box, Button, Tooltip } from "@mui/material";
export const SupportButton = () => {
return (
<Box>
<Tooltip
title={`
Consider using code 'CALLIEVE' on EVE store checkout to support the project! Click to copy to clipboard ;)
`}
>
<Button
href=""
style={{ width: "100%" }}
sx={{ color: "white", display: "block" }}
onClick={() => {
navigator.clipboard.writeText("CALLIEVE");
}}
>
CALLIEVE
</Button>
</Tooltip>
</Box>
);
};