Function PageLoaderNot Exported

Loading Indicator Component

Provides a consistent loading experience when route components are being dynamically loaded. Displays a centered spinner with loading text to maintain UI stability during transitions.

const PageLoader = () => (
<div className="flex h-[calc(100vh-120px)] w-full items-center justify-center">
<LoadingSpinner size="lg" text="Loading page..." />
</div>
);