mirror of
https://github.com/calli-eve/eve-pi.git
synced 2026-02-11 10:18:49 +01:00
add buy me a beer button
This commit is contained in:
@@ -17,6 +17,7 @@ import { GitHubButton } from "../Github/GitHubButton";
|
||||
import { LoginButton } from "../Login/LoginButton";
|
||||
import { PartnerCodeButton } from "../PartnerCode/PartnerCodeButton";
|
||||
import { SettingsButton } from "../Settings/SettingsButtons";
|
||||
import { BuyMeCoffeeButton } from "../BuyMeCoffee/BuyMeCoffeeButton";
|
||||
import {
|
||||
Button,
|
||||
Dialog,
|
||||
@@ -132,6 +133,9 @@ function ResponsiveAppBar() {
|
||||
<MenuItem onClick={handleCloseNavMenu}>
|
||||
<PartnerCodeButton />
|
||||
</MenuItem>
|
||||
<MenuItem onClick={handleCloseNavMenu}>
|
||||
<BuyMeCoffeeButton />
|
||||
</MenuItem>
|
||||
</Menu>
|
||||
</Box>
|
||||
<PublicIcon sx={{ display: { xs: "flex", md: "none" }, mr: 1 }} />
|
||||
@@ -173,6 +177,7 @@ function ResponsiveAppBar() {
|
||||
</Button>
|
||||
<CCPButton />
|
||||
<PartnerCodeButton />
|
||||
<BuyMeCoffeeButton />
|
||||
</Box>
|
||||
</Toolbar>
|
||||
</Container>
|
||||
|
||||
17
src/app/components/BuyMeCoffee/BuyMeCoffeeButton.tsx
Normal file
17
src/app/components/BuyMeCoffee/BuyMeCoffeeButton.tsx
Normal file
@@ -0,0 +1,17 @@
|
||||
import { Box, Button, Tooltip } from "@mui/material";
|
||||
export const BuyMeCoffeeButton = () => {
|
||||
return (
|
||||
<Box>
|
||||
<Tooltip title="Support the development of this tool">
|
||||
<Button
|
||||
href="https://buymeacoffee.com/evepi"
|
||||
target="_blank"
|
||||
style={{ width: "100%" }}
|
||||
sx={{ color: "white", display: "block" }}
|
||||
>
|
||||
By me a beer
|
||||
</Button>
|
||||
</Tooltip>
|
||||
</Box>
|
||||
);
|
||||
};
|
||||
Reference in New Issue
Block a user