Login as First Page

How to set login as First page instead landing

This section explains how to set the Login page as the default starting page, skipping the landing page, for cases where it is not needed.

  • Update the code at route full-version/src/app/page.tsx

src/app/page.tsx
// PROJECT IMPORTS
import GuestGuard from 'utils/route-guard/GuestGuard';
import LoginPage from './(auth)/login/page';

export default function Landing() {
  return (
    <GuestGuard>
      <LoginPage />
    </GuestGuard>
  );
}

Last updated