// ───────────────────────────────────────────────
// Root Page (/)
// ───────────────────────────────────────────────
// Route: /
// Purpose: Top-level entry point for the app.
//   Immediately redirects authenticated users to
//   /dashboard. Unauthenticated users are caught
//   by middleware and redirected to /login.
// Layout: No layout — pure redirect.
// ───────────────────────────────────────────────

import { redirect } from "next/navigation"

/**
 * RootPage
 * ──────────
 * The default route handler for `/`. Immediately
 * redirects to the dashboard. Auth guarding is
 * handled by src/middleware.ts.
 *
 * @returns Never — always calls redirect().
 */
export default function RootPage() {
  redirect("/dashboard")
}
