Files
2026-03-10 01:35:37 -05:00

38 lines
1.1 KiB
TypeScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
"use client";
import { useEffect } from "react";
import Link from "next/link";
import { Header } from "@/app/components";
const PAY_STORAGE_KEY = "pay";
export default function PayPaidPage() {
useEffect(() => {
if (typeof window !== "undefined") {
localStorage.setItem(PAY_STORAGE_KEY, "ok");
window.dispatchEvent(new CustomEvent("pay:updated"));
}
}, []);
return (
<div className="min-h-screen bg-[var(--background)] text-[var(--foreground)]">
<Header />
<main className="flex min-h-[80vh] flex-col items-center justify-center px-4">
<div className="mb-6 flex h-16 w-16 items-center justify-center rounded-full bg-green-500/20 text-4xl">
</div>
<h1 className="mb-2 text-2xl font-bold"></h1>
<p className="mb-8 text-[var(--muted-foreground)]">
</p>
<Link
href="/"
className="rounded-full bg-[var(--accent)] px-8 py-3 font-medium text-[var(--accent-foreground)] transition hover:opacity-90"
>
</Link>
</main>
</div>
);
}