2025-02-14 11:41:55 +01:00
|
|
|
"use client"
|
|
|
|
|
|
2025-02-13 20:13:54 +01:00
|
|
|
import { Button } from "@/components/ui/button"
|
|
|
|
|
import { Star } from "lucide-react"
|
2026-05-31 12:41:10 +02:00
|
|
|
import { useTranslations } from "next-intl"
|
2025-02-13 20:13:54 +01:00
|
|
|
|
|
|
|
|
export default function SupportProject() {
|
2026-05-31 12:41:10 +02:00
|
|
|
const t = useTranslations("supportProject")
|
2025-02-14 11:41:55 +01:00
|
|
|
const handleClick = () => {
|
|
|
|
|
window.open("https://github.com/MacRimi/ProxMenux", "_blank")
|
|
|
|
|
}
|
|
|
|
|
|
2025-02-13 20:13:54 +01:00
|
|
|
return (
|
|
|
|
|
<section className="py-16 bg-gray-900">
|
|
|
|
|
<div className="container mx-auto px-4 text-center">
|
2026-05-31 12:41:10 +02:00
|
|
|
<h2 className="text-3xl font-bold mb-6">{t("heading")}</h2>
|
2025-02-13 20:13:54 +01:00
|
|
|
<p className="text-xl mb-8">
|
2026-05-31 12:41:10 +02:00
|
|
|
{t.rich("body", {
|
|
|
|
|
strong: (chunks) => <span className="font-bold">{chunks}</span>,
|
|
|
|
|
})}
|
2025-02-13 20:13:54 +01:00
|
|
|
</p>
|
|
|
|
|
<div className="flex justify-center items-center">
|
2025-02-14 11:41:55 +01:00
|
|
|
<Button className="bg-yellow-400 text-gray-900 hover:bg-yellow-500" onClick={handleClick}>
|
2025-02-13 20:13:54 +01:00
|
|
|
<Star className="mr-2" />
|
2026-05-31 12:41:10 +02:00
|
|
|
{t("button")}
|
2025-02-13 20:13:54 +01:00
|
|
|
</Button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</section>
|
|
|
|
|
)
|
|
|
|
|
}
|
2025-12-13 21:19:08 +01:00
|
|
|
|