EEvolutivoLanding + admin sliceAdmin login
Public landing / protected admin

A public site with a real admin gate.

Evolutivo ships a polished home page, a cookie-backed admin login, and a protected console that talks to the existing Nest auth API without storing secrets in the browser.

Value / features / CTA

Everything the public route and admin slice need.

No database UI, no secret handling in localStorage, and no extra auth libraries. Just the routes, helpers, and styling this app needs.

Public route stays open

The landing page is fully public, responsive, and accessible on every screen size.

Admin stays protected

Unauthenticated visitors are redirected away from /admin before they reach the console.

Same-origin auth flow

Browser requests send cookies with credentials: include, which keeps the Nest session intact.

Next step

Open the admin login and continue into the protected console.

The login form posts to /auth/admin/login, the admin page checks/auth/admin/session, and logout clears the session cookie.