Some checks are pending
E2E / Playwright e2e (push) Waiting to run
- Added new layout and page components for forgot password and signup functionalities, enhancing user experience. - Integrated authentication flow handling for password recovery and account creation, utilizing dynamic metadata. - Updated login form to include links for forgot password and signup, improving navigation between authentication states. - Refactored CSS styles for login components to ensure consistent design across different authentication pages.
20 lines
486 B
TypeScript
20 lines
486 B
TypeScript
"use client"
|
|
|
|
import { Suspense } from "react"
|
|
import { useSearchParams } from "next/navigation"
|
|
import { SignupPageContent } from "@/components/auth/signup-page-content"
|
|
|
|
function SignupContent() {
|
|
const searchParams = useSearchParams()
|
|
const returnTo = searchParams.get("returnTo") ?? "/mail/inbox"
|
|
return <SignupPageContent returnTo={returnTo} />
|
|
}
|
|
|
|
export default function SignupPage() {
|
|
return (
|
|
<Suspense fallback={null}>
|
|
<SignupContent />
|
|
</Suspense>
|
|
)
|
|
}
|