import Header from "@/components/Header"; import { DonationCard } from "@/components/donation-card"; import { BlurFade } from "@/components/ui/blur-fade"; import { NumberTicker } from "@/components/ui/number-ticker"; import { Badge } from "@/components/ui/badge"; import { Button } from "@/components/ui/button"; import { Accordion, AccordionContent, AccordionItem, AccordionTrigger, } from "@/components/ui/accordion"; import { Heart, Server, Code, Shield, AlertTriangle } from "lucide-react"; import { getTranslations } from "next-intl/server"; import Link from "next/link"; import { ShareButton } from "@/components/share-button"; export async function generateMetadata({ params, }: { params: Promise<{ locale: string }>; }) { const { locale } = await params; const t = await getTranslations({ locale, namespace: "donation" }); return { title: t("title"), description: t("subtitle"), }; } export default async function SupportPage({ params, }: { params: Promise<{ locale: string }>; }) { const { locale } = await params; const t = await getTranslations({ locale, namespace: "donation" }); // Dados mockados para demonstração const stats = { totalSupporters: 1247, totalRaised: 18542, monthsOnline: 12, uptime: 99.8, }; const transparencyData = [ { icon: Server, title: t("transparency.hosting"), percentage: 40, description: t("transparency.hostingDesc"), color: "text-blue-500", }, { icon: Code, title: t("transparency.development"), percentage: 35, description: t("transparency.developmentDesc"), color: "text-green-500", }, { icon: Shield, title: t("transparency.support"), percentage: 15, description: t("transparency.supportDesc"), color: "text-purple-500", }, { icon: AlertTriangle, title: t("transparency.emergency"), percentage: 10, description: t("transparency.emergencyDesc"), color: "text-orange-500", }, ]; const faqItems = [ { question: t("faq.q1"), answer: t("faq.a1"), }, { question: t("faq.q2"), answer: t("faq.a2"), }, { question: t("faq.q3"), answer: t("faq.a3"), }, { question: t("faq.q4"), answer: t("faq.a4"), }, { question: t("faq.q5"), answer: t("faq.a5"), }, ]; return (
{t("subtitle")}
{t("story.text")}
{item.description}
{t("social.supporters")}
R$
{t("social.raised")}
{t("social.months")}
{t("social.uptime")}
{t("cta.subtitle")}