das marketing frontend wurde auf lokalisierte urls umgestellt.

This commit is contained in:
Codex Agent
2025-11-03 15:50:10 +01:00
parent c0c1d31385
commit 55c606bdd4
47 changed files with 1592 additions and 251 deletions

View File

@@ -21,13 +21,13 @@ interface CheckoutWizardPageProps {
};
}
export default function CheckoutWizardPage({
const CheckoutWizardPage: React.FC<CheckoutWizardPageProps> = ({
package: initialPackage,
packageOptions,
privacyHtml,
googleAuth,
paddle,
}: CheckoutWizardPageProps) {
}) => {
const page = usePage<{ auth?: { user?: { id: number; email: string; name?: string; pending_purchase?: boolean } | null } }>();
const currentUser = page.props.auth?.user ?? null;
const googleProfile = googleAuth?.profile ?? null;
@@ -75,4 +75,8 @@ export default function CheckoutWizardPage({
</div>
</MarketingLayout>
);
}
};
CheckoutWizardPage.layout = (page: React.ReactNode) => page;
export default CheckoutWizardPage;