Skip to main content
zerotal

Documentation


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

Layout.constructor

Accessors

Get Signature

get static head(): 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

Layout.head

Methods

render()

render(slot): HtmlNode

Defined in: admin/src/auth/AuthLayout.tsx:16

Render the layout shell around a page.

Parameters

slot

HtmlNode

the page's pre-rendered [data-flow-root] component node. Place it with {slot} in JSX — its HTML is emitted verbatim without escaping.

Returns

HtmlNode

the shell markup wrapping slot.

Overrides

Layout.render