layout.jsx 460 B

123456789101112131415161718
  1. /**
  2. * Public layout for routes that should not display the authenticated app shell.
  3. *
  4. * Examples:
  5. * - /login
  6. *
  7. * Keep it minimal and centered.
  8. * The root layout (app/layout.js) already provides theme + global styling.
  9. */
  10. export default function PublicLayout({ children }) {
  11. return (
  12. <div className="min-h-screen">
  13. <div className="mx-auto flex min-h-screen w-full max-w-md items-center justify-center p-4">
  14. {children}
  15. </div>
  16. </div>
  17. );
  18. }