Add Rybbit analytics script and enhance pricing section with new features
All checks were successful
Deploy / deploy (push) Successful in 14m22s

- Integrated Rybbit analytics script in layout.tsx for improved tracking.
- Updated pricing section in page.tsx to include detailed package features and pricing information.
- Refined button interactions and added icons for better user engagement.
- Adjusted return URL handling in odeme/sonuc/page.tsx to preserve order information.
- Enhanced satin-al-form.tsx to include visual indicators for payment redirection.
This commit is contained in:
bilalgursen
2026-08-02 18:49:17 +03:00
parent bd613adb8a
commit cc9686147e
5 changed files with 159 additions and 15 deletions

View File

@@ -1,6 +1,7 @@
"use client";
import { useActionState, useEffect } from "react";
import { ArrowRight } from "lucide-react";
import { toast } from "sonner";
import { Button } from "@/components/ui/button";
import { baslatOdeme, type OdemeBaslatDurum } from "./actions";
@@ -36,7 +37,14 @@ export function SatinAlForm({
}
variant={vurgulu ? "default" : "outline"}
>
{pending ? "Ödeme sayfasına yönlendiriliyorsun…" : label}
{pending ? (
"Ödeme sayfasına yönlendiriliyorsun…"
) : (
<>
{label}
<ArrowRight className="size-4" aria-hidden />
</>
)}
</Button>
</form>
);