mirror of
https://github.com/upscayl/upscayl.git
synced 2024-12-23 21:05:06 +01:00
21 lines
524 B
TypeScript
21 lines
524 B
TypeScript
import { translationAtom } from "@/atoms/translations-atom";
|
|
import { useAtomValue } from "jotai";
|
|
import React from "react";
|
|
|
|
export function DonateButton() {
|
|
const t = useAtomValue(translationAtom);
|
|
|
|
return (
|
|
<div className="flex flex-col gap-2 text-sm font-medium">
|
|
<p>{t("APP.INFOS.DONATE.IF_LIKED")}</p>
|
|
<a
|
|
href="https://buymeacoffee.com/fossisthefuture"
|
|
target="_blank"
|
|
className="btn btn-primary"
|
|
>
|
|
{t("APP.INFOS.DONATE.DONATE")}
|
|
</a>
|
|
</div>
|
|
);
|
|
}
|