Literature.StaticPages.Layout behaviour (literature v0.4.21)
Behaviour for static pages layout.
Provides a layout/1
component that can be used for all available static pages.
Provided Components
layout/1
– main HTML layout component that can be used for all available static pages. Useful for setting up SEO tags.
Summary
Callbacks
@callback header(assigns :: map()) :: Phoenix.LiveView.Rendered.t()
@callback layout(assigns :: map()) :: Phoenix.LiveView.Rendered.t()