"use client"; import { useRef } from "react"; import { ScrollReveal } from "@/components/ScrollReveal"; import { SectionScrollTitle } from "@/components/SectionScrollTitle"; import { GITEA_ISSUES_URL, SUPPORT_EMAIL } from "@/lib/plans"; type SupportCardProps = { title: string; description: string; href: string; cta: string; external?: boolean; hover: string; titleHover: string; linkClass: string; linkHover: string; }; function SupportCard({ title, description, href, cta, external, hover, titleHover, linkClass, linkHover, }: SupportCardProps) { return (

{title}

{description}

{cta}
); } const SUPPORT_CARDS: SupportCardProps[] = [ { title: "🛠️ Community & Self-Hosting", description: "Found a bug, want to request a feature, or need help setting up your Docker instance? Open an issue on our self-hosted Gitea.", href: GITEA_ISSUES_URL, cta: "Open Gitea Issues", external: true, hover: "hover:border-[#609926]/45 hover:bg-[#609926]/[0.06] hover:shadow-lg hover:shadow-[#609926]/20", titleHover: "group-hover:text-[#609926]", linkClass: "text-[#609926]", linkHover: "group-hover:text-[#7ab33a]", }, { title: "📩 Billing & Premium Support", description: "Have questions about your Pro subscription, custom limits, or Enterprise inquiries? Drop us an email.", href: `mailto:${SUPPORT_EMAIL}`, cta: SUPPORT_EMAIL, hover: "hover:border-accent/50 hover:bg-accent/[0.06] hover:shadow-lg hover:shadow-accent/20", titleHover: "group-hover:text-accent", linkClass: "text-accent", linkHover: "group-hover:text-accent-hover", }, ]; export function SupportSection() { const sectionRef = useRef(null); return (

Support

Community help for self-hosters, or reach us directly for billing and premium support.

{SUPPORT_CARDS.map((card, index) => ( ))}
); }