diff --git a/app/checkout/layout.tsx b/app/checkout/layout.tsx new file mode 100644 index 0000000..8b9bba6 --- /dev/null +++ b/app/checkout/layout.tsx @@ -0,0 +1,8 @@ +export const metadata = { + title: 'Checkout — Pulse', + robots: 'noindex, nofollow', +} + +export default function CheckoutLayout({ children }: { children: React.ReactNode }) { + return children +} diff --git a/app/checkout/page.tsx b/app/checkout/page.tsx index c994104..320eaf9 100644 --- a/app/checkout/page.tsx +++ b/app/checkout/page.tsx @@ -19,7 +19,7 @@ import pulseLogo from '@/public/pulse_logo_no_margins.png' const VALID_PLANS = new Set(Object.keys(PLAN_PRICES)) const VALID_INTERVALS = new Set(['month', 'year']) -const VALID_LIMITS = new Set(TRAFFIC_TIERS.map((t) => t.value)) +const VALID_LIMITS = new Set(TRAFFIC_TIERS.map((t) => t.value)) function isValidCheckoutParams(plan: string | null, interval: string | null, limit: string | null) { if (!plan || !interval || !limit) return false @@ -196,14 +196,14 @@ function CheckoutContent() {
{/* Left — Plan summary */} {/* Right — Payment form */}