1
0
mirror of https://github.com/upscayl/upscayl.git synced 2024-12-19 10:55:53 +01:00
upscayl/renderer/components/sidebar/settings-tab/donate-button.tsx

21 lines
531 B
TypeScript
Raw Normal View History

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