- Updated LinkWhmcsForm to streamline account migration with enhanced error handling and loading states. - Refined SetPasswordForm to include password strength validation and improved user feedback on password matching. - Removed deprecated SignupForm steps and consolidated form logic for better maintainability. - Enhanced LinkWhmcsView and SignupView for clearer messaging and improved layout. - Introduced new constants for migration transfer items and steps to standardize messaging across components.
31 lines
792 B
TypeScript
31 lines
792 B
TypeScript
"use client";
|
|
|
|
import { AuthLayout } from "../components";
|
|
import { SignupForm } from "@/features/auth/components";
|
|
import { useAuthStore } from "../services/auth.store";
|
|
import { LoadingOverlay } from "@/components/atoms";
|
|
|
|
export function SignupView() {
|
|
const { loading, isAuthenticated } = useAuthStore();
|
|
|
|
return (
|
|
<>
|
|
<AuthLayout
|
|
title="Create Your Account"
|
|
subtitle="Set up your portal access in a few simple steps"
|
|
>
|
|
<SignupForm />
|
|
</AuthLayout>
|
|
|
|
{/* Full-page loading overlay during authentication */}
|
|
<LoadingOverlay
|
|
isVisible={loading && isAuthenticated}
|
|
title="Setting up your account..."
|
|
subtitle="Please wait while we prepare your dashboard"
|
|
/>
|
|
</>
|
|
);
|
|
}
|
|
|
|
export default SignupView;
|