import React from 'react'; import type { Locale } from '@/lib/locale'; interface PayPageLayoutProps { isDark: boolean; isEmbedded?: boolean; maxWidth?: 'sm' | 'lg' | 'full'; title: string; subtitle: string; actions?: React.ReactNode; children: React.ReactNode; locale?: Locale; } export default function PayPageLayout({ isDark, isEmbedded = false, maxWidth = 'full', title, subtitle, actions, children, locale = 'zh', }: PayPageLayoutProps) { const maxWidthClass = maxWidth === 'sm' ? 'max-w-lg' : maxWidth === 'lg' ? 'max-w-6xl' : ''; return (
{subtitle}