From a31138535ecffae04d85912ce952f775ff85999f Mon Sep 17 00:00:00 2001 From: bflatastic Date: Tue, 27 Jan 2026 21:42:17 +0700 Subject: [PATCH] website: added discord cta on cancel and success pages, pricing footnote cleanup --- frontend/apps/artcraft-website/_redirects | 3 ++ .../pricing-table/pricing-table.tsx | 2 +- .../src/pages/checkout/cancel.tsx | 40 +++++++++++------- .../src/pages/checkout/success.tsx | 42 +++++++++++++------ .../src/pages/pricing/pricing.tsx | 17 ++++---- 5 files changed, 67 insertions(+), 37 deletions(-) diff --git a/frontend/apps/artcraft-website/_redirects b/frontend/apps/artcraft-website/_redirects index 2d852a4bfd..8498c25070 100644 --- a/frontend/apps/artcraft-website/_redirects +++ b/frontend/apps/artcraft-website/_redirects @@ -6,6 +6,9 @@ /checkout_success/ /index.html 200 /checkout_success/* /index.html 200 +/checkout* /index.html 200 +/checkout/* /index.html 200 + /download /index.html 200 /download/ /index.html 200 diff --git a/frontend/apps/artcraft-website/src/components/pricing-table/pricing-table.tsx b/frontend/apps/artcraft-website/src/components/pricing-table/pricing-table.tsx index 8550c1a360..40d66e3599 100644 --- a/frontend/apps/artcraft-website/src/components/pricing-table/pricing-table.tsx +++ b/frontend/apps/artcraft-website/src/components/pricing-table/pricing-table.tsx @@ -256,7 +256,7 @@ const PricingTable = ({ {showHeader && (

{title}

diff --git a/frontend/apps/artcraft-website/src/pages/checkout/cancel.tsx b/frontend/apps/artcraft-website/src/pages/checkout/cancel.tsx index d68b2ee601..95a0b9ef9d 100644 --- a/frontend/apps/artcraft-website/src/pages/checkout/cancel.tsx +++ b/frontend/apps/artcraft-website/src/pages/checkout/cancel.tsx @@ -1,7 +1,9 @@ -import { faXmarkCircle, faArrowLeft } from "@fortawesome/pro-solid-svg-icons"; +import { faXmarkCircle } from "@fortawesome/pro-solid-svg-icons"; +import { faDiscord } from "@fortawesome/free-brands-svg-icons"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { Button } from "@storyteller/ui-button"; import { Link } from "react-router-dom"; +import { SOCIAL_LINKS } from "../../config/links"; import Seo from "../../components/seo"; const CheckoutCancel = () => { @@ -60,34 +62,42 @@ const CheckoutCancel = () => { > View Plans Again +
+ + {/* Discord CTA */} +
+
+ + Need help deciding? + +
{/* Footer Links */} -
+
+ + Back to Home + + • FAQ - • - - Get Help -
diff --git a/frontend/apps/artcraft-website/src/pages/checkout/success.tsx b/frontend/apps/artcraft-website/src/pages/checkout/success.tsx index 8da500f28c..20f778e60b 100644 --- a/frontend/apps/artcraft-website/src/pages/checkout/success.tsx +++ b/frontend/apps/artcraft-website/src/pages/checkout/success.tsx @@ -3,13 +3,14 @@ import { faDownload, faDesktop, faRocket, - faArrowLeft, } from "@fortawesome/pro-solid-svg-icons"; +import { faDiscord } from "@fortawesome/free-brands-svg-icons"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { Button } from "@storyteller/ui-button"; import { Link } from "react-router-dom"; import { isMobile, isMacOs } from "react-device-detect"; import { DOWNLOAD_LINKS } from "../../config/downloads"; +import { SOCIAL_LINKS } from "../../config/links"; import Seo from "../../components/seo"; const CheckoutSuccess = () => { @@ -91,14 +92,6 @@ const CheckoutSuccess = () => { Download ArtCraft - ) : (
@@ -129,15 +122,40 @@ const CheckoutSuccess = () => {
)} + + {/* Discord CTA */} +
+
+ + Join our community + +
+ +
- {/* Footer Link */} -
+ {/* Footer Links */} +
+ + Back to Home + + • - View Plan Details + View Plans
diff --git a/frontend/apps/artcraft-website/src/pages/pricing/pricing.tsx b/frontend/apps/artcraft-website/src/pages/pricing/pricing.tsx index c83815677c..001da2897d 100644 --- a/frontend/apps/artcraft-website/src/pages/pricing/pricing.tsx +++ b/frontend/apps/artcraft-website/src/pages/pricing/pricing.tsx @@ -21,15 +21,14 @@ const Pricing = () => { /> -

- † ArtCraft can be used without paying for a subscription. - You can bring your own compute and third party subscriptions. - We hope you'll subscribe, though, as that helps accelerate our development. -

- -

- ‡ Pricing table is wrong, but we'll fix this shortly. -

+ {/* Footnotes */} +
+

+ † ArtCraft can be used without paying for a subscription. You + can bring your own compute and third party subscriptions. We hope + you'll subscribe, though, as that helps accelerate our development. +

+