import type { Metadata } from "next"; import { pageSeo } from "@/content/page-seo"; import { createPageMetadata } from "@/lib/seo"; import Link from "next/link"; import { CheckCircle2 } from "lucide-react"; import { PageRiftHeader } from "@/components/layout/PageRiftHeader"; import { Section } from "@/components/layout/Section"; import { Button } from "@/components/ui/button"; export const metadata: Metadata = createPageMetadata(pageSeo.paymentSuccess); type Props = { searchParams: Promise<{ order?: string; total?: string }>; }; export default async function PaymentSuccessPage({ searchParams }: Props) { const params = await searchParams; const orderId = params.order ?? "GRV-ORDER"; const total = params.total ? `$${params.total} USD` : null; return ( <> Thank you for your order} />

Your registration has been received. Order reference:{" "} {orderId} {total && ( <> {" "} ยท Total: {total} )}

A confirmation email will be sent once payment processing is connected. For now, our team has logged your request.

); }