This commit is contained in:
32
apps/www/app/sign-up/[[...sign-up]]/page.tsx
Normal file
32
apps/www/app/sign-up/[[...sign-up]]/page.tsx
Normal file
@@ -0,0 +1,32 @@
|
||||
import { SignUp } from '@clerk/nextjs';
|
||||
import type { CSSProperties } from 'react';
|
||||
|
||||
/**
|
||||
* Hosted sign-up fallback page (Sesija E §5.2).
|
||||
*
|
||||
* Reached when:
|
||||
* - User lands on /sign-up directly.
|
||||
* - Pricing CTAs (§5.4) redirect signed-out users here with
|
||||
* `forceRedirectUrl=/api/stripe/checkout?tier=...`.
|
||||
*
|
||||
* Catch-all `[[...sign-up]]` segment supports multi-step flows
|
||||
* (email verification, social-OAuth callback).
|
||||
*
|
||||
* Appearance is inherited from <ClerkProvider> in app/layout.tsx (Hive DS).
|
||||
*/
|
||||
export default function SignUpPage() {
|
||||
return (
|
||||
<main style={pageStyle}>
|
||||
<SignUp />
|
||||
</main>
|
||||
);
|
||||
}
|
||||
|
||||
const pageStyle: CSSProperties = {
|
||||
minHeight: '100vh',
|
||||
display: 'flex',
|
||||
alignItems: 'center',
|
||||
justifyContent: 'center',
|
||||
padding: '96px 24px 48px',
|
||||
background: 'var(--hive-950, #0e0c07)',
|
||||
};
|
||||
Reference in New Issue
Block a user