web_app/src/components/Coffee.tsx gelöscht

This commit is contained in:
Manuel Kamper 2024-08-20 19:29:54 +02:00
parent 4425032472
commit d9c0250391

View File

@ -1,35 +0,0 @@
import { Coffee as CoffeeIcon } from "lucide-react"
import { Dialog, DialogContent, DialogTitle, DialogTrigger } from "./ui/dialog"
import { IconButton } from "./ui/button"
import { DialogDescription } from "@radix-ui/react-dialog"
import Kofi from "@/assets/kofi_button_black.png"
export function Coffee() {
return (
<Dialog>
<DialogTrigger asChild>
<IconButton tooltip="Buy me a coffee">
<CoffeeIcon />
</IconButton>
</DialogTrigger>
<DialogContent>
<DialogTitle>Buy me a coffee</DialogTitle>
<DialogDescription className="mb-8">
Hi, if you found my project is useful, please conside buy me a coffee
to support my work. Thanks!
</DialogDescription>
<div className="w-full flex items-center justify-center">
<a
href="https://ko-fi.com/Z8Z1CZJGY"
target="_blank"
rel="noreferrer"
>
<img src={Kofi} className="h-[32px]" />
</a>
</div>
</DialogContent>
</Dialog>
)
}
export default Coffee