From 0651afd6fa854528fe0eda4d41e9d1eeec204302 Mon Sep 17 00:00:00 2001 From: BFlat Date: Sat, 7 Mar 2026 20:02:15 +0700 Subject: [PATCH] Scope Get Now button text to SD2 page only via prop (#1111) --- .../src/components/landing-action-buttons.tsx | 4 +++- .../artcraft-website/src/pages/landing-sd2/landing-sd2.tsx | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/frontend/apps/artcraft-website/src/components/landing-action-buttons.tsx b/frontend/apps/artcraft-website/src/components/landing-action-buttons.tsx index 1757146edc..9415f70752 100644 --- a/frontend/apps/artcraft-website/src/components/landing-action-buttons.tsx +++ b/frontend/apps/artcraft-website/src/components/landing-action-buttons.tsx @@ -8,11 +8,13 @@ import { DOWNLOAD_LINKS } from "../config/github_download_links"; interface LandingActionButtonsProps { onDownloadClick?: (e: React.MouseEvent) => void; className?: string; + creditsButtonText?: string; } export const LandingActionButtons = ({ onDownloadClick, className, + creditsButtonText = "Supercharge Credits", }: LandingActionButtonsProps) => { const MAC_LINK = DOWNLOAD_LINKS.MACOS; const WINDOWS_LINK = DOWNLOAD_LINKS.WINDOWS; @@ -36,7 +38,7 @@ export const LandingActionButtons = ({ href="/pricing" > - Supercharge Credits + {creditsButtonText}