This module holds different layouts used by your application.
See the layouts directory for all templates available.
The "root" layout is a skeleton rendered as part of the
application router. The "app" layout is set as the default
layout on both use VoileWeb, :controller and
use VoileWeb, :live_view.
Summary
Functions
Renders your app layout.
Functions
Renders your app layout.
This function is typically invoked from every template, and it often contains your application menu, sidebar, or similar.
Examples
<Layouts.app flash={@flash}>
<h1>Content</h1>
</Layouts.app>Attributes
flash(:map) (required) - the map of flash messages.current_scope(:map) - the current scope. Defaults tonil.
Slots
inner_block(required)
Attributes
id(:string) (required)