From 435ea8d75f021a0df7390cf7b31704a192f267b2 Mon Sep 17 00:00:00 2001 From: Sahaj Jain Date: Sat, 2 Aug 2025 20:11:22 +0530 Subject: [PATCH] remove lmsqueezy script and link and use direct referral --- app/figma/page.tsx | 11 +++++------ app/layout.tsx | 15 --------------- components/figma-export-dialog.tsx | 11 +++++------ lib/figma-constants.ts | 5 ++--- 4 files changed, 12 insertions(+), 30 deletions(-) diff --git a/app/figma/page.tsx b/app/figma/page.tsx index 1793eeba..2294d547 100644 --- a/app/figma/page.tsx +++ b/app/figma/page.tsx @@ -11,7 +11,7 @@ import Shadcraft from "@/assets/shadcraft.svg"; import FigmaIcon from "@/assets/figma.svg"; import { Check, X, ArrowUpRight, Figma, Cable, Paintbrush } from "lucide-react"; import Link from "next/link"; -import { FIGMA_CONSTANTS, createPurchaseUrl } from "@/lib/figma-constants"; +import { FIGMA_CONSTANTS, redirectToShadcraft } from "@/lib/figma-constants"; export default function FigmaPage() { const [isScrolled, setIsScrolled] = useState(false); @@ -29,9 +29,8 @@ export default function FigmaPage() { ), })); - const handlePurchase = () => { - const url = createPurchaseUrl("/"); - window.open(url, "_blank"); + const handleGetStarted = () => { + redirectToShadcraft(); }; useEffect(() => { @@ -143,7 +142,7 @@ export default function FigmaPage() {
- @@ -253,7 +252,7 @@ export default function FigmaPage() {
$119
- -