From e476e10b0525e8ad950f58335af7540163951f65 Mon Sep 17 00:00:00 2001 From: Ivan Fontosh Date: Mon, 6 Jul 2026 20:54:10 +0800 Subject: [PATCH] Link support buttons to CrowdRepublic campaign and add VK. Pricing buy buttons open the live crowdfunding page; hero and footer get VK links; remove unused modal. Co-authored-by: Cursor --- src/components/layout/Footer.tsx | 13 ++- src/components/sections/Hero.tsx | 5 +- src/components/ui/BuyButton.tsx | 11 +- src/data/siteContent.ts | 5 +- src/i18n/messages.ts | 16 +-- src/main.tsx | 9 +- src/providers/CrowdfundingModal.module.css | 72 ------------- src/providers/CrowdfundingModalProvider.tsx | 107 -------------------- src/siteContent.test.ts | 6 +- 9 files changed, 37 insertions(+), 207 deletions(-) delete mode 100644 src/providers/CrowdfundingModal.module.css delete mode 100644 src/providers/CrowdfundingModalProvider.tsx diff --git a/src/components/layout/Footer.tsx b/src/components/layout/Footer.tsx index 707e748..84a5ea2 100644 --- a/src/components/layout/Footer.tsx +++ b/src/components/layout/Footer.tsx @@ -1,4 +1,4 @@ -import { SITE_LINKS } from "../../data/siteContent"; +import { SITE_LINKS, VK_URL } from "../../data/siteContent"; import { useLocale } from "../../i18n/LocaleProvider"; import { useEulaModal } from "../../providers/EulaModalProvider"; @@ -10,6 +10,7 @@ const FOOTER_LINK_KEYS = [ "faq", "enterKey", "support", + "vk", ] as const; const FOOTER_HREFS: Record<(typeof FOOTER_LINK_KEYS)[number], string> = { @@ -18,6 +19,7 @@ const FOOTER_HREFS: Record<(typeof FOOTER_LINK_KEYS)[number], string> = { faq: SITE_LINKS.faq, enterKey: SITE_LINKS.enterKey, support: SITE_LINKS.support, + vk: VK_URL, }; export function Footer() { @@ -30,7 +32,14 @@ export function Footer() {

© TTRPGPlayer