1
0
mirror of https://github.com/upscayl/upscayl.git synced 2024-12-19 02:45:54 +01:00
upscayl/renderer/components/settings-tab/DonateButton.tsx
NayamAmarshe d721e7ae7f
Update to new schema, ADD: zh, ja, ru, es and fr
MOD: All necessary strings to match
2024-09-05 21:37:19 -04:00

21 lines
531 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("SETTINGS.DONATE.DESCRIPTION")}</p>
<a
href="https://buymeacoffee.com/fossisthefuture"
target="_blank"
className="btn btn-primary"
>
{t("SETTINGS.DONATE.BUTTON_TITLE")}
</a>
</div>
);
}