Update support-project.tsx

This commit is contained in:
MacRimi 2025-02-14 11:41:55 +01:00 committed by GitHub
parent a48880d567
commit 7ba808f759
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,7 +1,13 @@
"use client"
import { Button } from "@/components/ui/button" import { Button } from "@/components/ui/button"
import { Star } from "lucide-react" import { Star } from "lucide-react"
export default function SupportProject() { export default function SupportProject() {
const handleClick = () => {
window.open("https://github.com/MacRimi/ProxMenux", "_blank")
}
return ( return (
<section className="py-16 bg-gray-900"> <section className="py-16 bg-gray-900">
<div className="container mx-auto px-4 text-center"> <div className="container mx-auto px-4 text-center">
@ -11,10 +17,7 @@ export default function SupportProject() {
others discover it! others discover it!
</p> </p>
<div className="flex justify-center items-center"> <div className="flex justify-center items-center">
<Button <Button className="bg-yellow-400 text-gray-900 hover:bg-yellow-500" onClick={handleClick}>
className="bg-yellow-400 text-gray-900 hover:bg-yellow-500"
onClick={() => window.open("https://github.com/MacRimi/ProxMenux", "_blank")}
>
<Star className="mr-2" /> <Star className="mr-2" />
Star on GitHub Star on GitHub
</Button> </Button>