Files
ProxMenux/web/components/support-project.tsx

33 lines
978 B
TypeScript
Raw Normal View History

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"
import { useTranslations } from "next-intl"
2025-02-13 20:13:54 +01:00
export default function SupportProject() {
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">
<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">
{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" />
{t("button")}
2025-02-13 20:13:54 +01:00
</Button>
</div>
</div>
</section>
)
}
2025-12-13 21:19:08 +01:00