mirror of
https://github.com/calli-eve/eve-pi.git
synced 2026-02-14 03:38:49 +01:00
add support project button
This commit is contained in:
23
src/app/components/SupportButton/SupportButton.tsx
Normal file
23
src/app/components/SupportButton/SupportButton.tsx
Normal 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>
|
||||
);
|
||||
};
|
||||
Reference in New Issue
Block a user