2024-09-01 17:31:45 +05:30
|
|
|
import { translationAtom } from "@/atoms/translations-atom";
|
|
|
|
import { useAtomValue } from "jotai";
|
2023-07-22 16:37:53 +05:30
|
|
|
import React from "react";
|
2024-09-01 17:31:45 +05:30
|
|
|
|
|
|
|
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">
|
2024-09-03 13:04:58 +05:30
|
|
|
<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"
|
|
|
|
>
|
2024-09-03 13:04:58 +05:30
|
|
|
{t("SETTINGS.DONATE.BUTTON_TITLE")}
|
2023-07-22 16:37:53 +05:30
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
}
|