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