import { notFound } from "next/navigation";
import { Pos2Prototype } from "@/components/pos2/pos2-prototype";

/**
 * Local, no-login preview of the POS v2 prototype.
 * Dev-only — returns 404 in production. Open at /<locale>/pos2-preview
 * (e.g. http://localhost:3000/fa/pos2-preview) to judge the redesign with
 * zero auth and zero backend. The real, auth-guarded route is /<locale>/pos2.
 */
export default function Pos2PreviewPage() {
  if (process.env.NODE_ENV === "production") notFound();
  return <Pos2Prototype />;
}
