diff --git a/app/sponsors/page.tsx b/app/sponsors/page.tsx new file mode 100644 index 0000000..dfb706a --- /dev/null +++ b/app/sponsors/page.tsx @@ -0,0 +1,87 @@ +import type { Metadata } from "next"; +import { ArrowUpRight } from "lucide-react"; +import { CopyButton } from "@/components/app/copy-button"; +import { PressLink } from "@/components/app/press-link"; + +export const metadata: Metadata = { + title: "Sponsors", + description: + "Support beUI's development through GitHub Sponsors or directly with crypto.", + alternates: { canonical: "/sponsors" }, + openGraph: { + title: "Sponsors · beUI", + description: + "Support beUI's development through GitHub Sponsors or directly with crypto.", + url: "/sponsors", + type: "website", + siteName: "beUI", + images: ["/api/og"], + }, + twitter: { + card: "summary_large_image", + title: "Sponsors · beUI", + images: ["/api/og"], + }, +}; + +const GITHUB_SPONSORS_URL = "https://github.com/sponsors/starc007"; + +function truncateAddress(address: string) { + return address.length > 14 + ? `${address.slice(0, 6)}...${address.slice(-6)}` + : address; +} + +function AddressRow({ label, address }: { label: string; address: string }) { + return ( +
{label}
++ {truncateAddress(address)} +
++ Sponsors +
++ beUI is free and open source. If it's saved you time, consider + supporting its development. +
+ ++ Crypto +
+ {evmAddress ?