feat: add donation support with footer card and navigation

Add donation functionality to encourage community support, including a footer card on the home page, a highlighted "Apoiar" link in the header, and comprehensive English messages for the donation section to promote transparency and user engagement.
This commit is contained in:
Evandro Fonseca Junior committed 2025-10-26 18:14:53 -03:00
1 parent b5093cb49a
commit 01e97eb078
16 files changed
+1161 -2

No files matched your search

+5 -2
View File
@@ -23,6 +23,7 @@ export default function Header() {
{ href: `/${locale}/market`, label: t("market") },
{ href: `/${locale}/sobre`, label: t("about") },
{ href: `/${locale}/precos`, label: t("prices") },
{ href: `/${locale}/apoiar`, label: "Apoiar", highlight: true },
];
return (
@@ -41,14 +42,16 @@ export default function Header() {
{/* Desktop Navigation */}
<NavigationMenu className="hidden md:flex">
<NavigationMenuList>
{links.map(({ href, label }) => (
{links.map(({ href, label, highlight }) => (
<NavigationMenuItem key={href}>
<NavigationMenuLink asChild>
<Link
href={href}
className={cn(
navigationMenuTriggerStyle(),
"bg-transparent"
"bg-transparent",
highlight &&
"bg-primary text-primary-foreground hover:bg-primary/90"
)}
>
{label}