Documentation / @zerotal/admin / auth / AuthLayout
Class: AuthLayout
Defined in: admin/src/auth/AuthLayout.tsx:10
@zerotal/admin/auth — the opt-in auth screens. Kept on a separate subpath so
the @zerotal/auth dependency these modules pull in stays optional for apps
that don't use the built-in auth pages. Enable them with
Panel.auth({ enabled: true, ... }); AdminProvider mounts the routes.
Extends
Constructors
Constructor
new AuthLayout():
AuthLayout
Returns
AuthLayout
Inherited from
Accessors
head
Get Signature
get
statichead():string
Defined in: admin/src/auth/AuthLayout.tsx:11
Extra HTML injected into <head> (stylesheets, fonts, global meta tags).
Returns
string
Extra HTML injected into <head> (stylesheets, fonts, global meta tags).
Overrides
Methods
render()
render(
slot):HtmlNode
Defined in: admin/src/auth/AuthLayout.tsx:16
Render the layout shell around a page.
Parameters
slot
the page's pre-rendered [data-flow-root] component node. Place it with
{slot} in JSX — its HTML is emitted verbatim without escaping.
Returns
the shell markup wrapping slot.