import type {Metadata} from 'next';
import {LoginSplit} from '@/features/auth/components/LoginSplit';

export const metadata: Metadata = {
  title: 'Sign in · Loyaly.ai',
};

/**
 * Sits in the (public) group on purpose: no shell, no nav, no store scope, and
 * a GuestGuard instead of an AuthGuard — see PublicLayout.
 *
 * Reaching this page with a live session is already impossible via a fresh
 * request (src/proxy.ts redirects it to /dashboard); the guard covers the
 * client-side navigation the proxy never sees.
 */
export default function LoginPage() {
  return <LoginSplit />;
}

