1
0
mirror of https://github.com/upscayl/upscayl.git synced 2025-01-24 15:12:16 +01:00

21 lines
531 B
TypeScript
Raw Normal View History

import { translationAtom } from "@/atoms/translations-atom";
import { useAtomValue } from "jotai";
2023-07-22 16:37:53 +05:30
import React from "react";
export function DonateButton() {
const t = useAtomValue(translationAtom);
2023-07-22 16:37:53 +05:30
return (
2023-07-23 12:02:22 +05:30
<div className="flex flex-col gap-2 text-sm font-medium">
<p>{t("SETTINGS.DONATE.DESCRIPTION")}</p>
2023-07-23 12:02:22 +05:30
<a
href="https://buymeacoffee.com/fossisthefuture"
target="_blank"
2024-04-24 18:51:58 +05:30
className="btn btn-primary"
>
{t("SETTINGS.DONATE.BUTTON_TITLE")}
2023-07-22 16:37:53 +05:30
</a>
</div>
);
}