# `SquatchMail.Web.Layouts`
[🔗](https://github.com/Axio-Intelligence/Squatch-Mail/blob/v0.1.0/lib/squatch_mail/web/layouts.ex#L1)

Root and app layouts for the SquatchMail dashboard.

`root/1` is the outermost HTML document (used as the LiveView
`:root_layout`) and is responsible for loading the dashboard's
self-contained CSS/JS bundle (see `SquatchMail.Web.AssetController`). It
intentionally does *not* inherit the host application's own root layout —
the dashboard is meant to look identical no matter which app embeds it,
the same way LiveDashboard and Oban Web render inside their own document
shell rather than the host's.

`app/1` is the inner chrome every dashboard page renders through: the
220px sidebar (logo, nav, session easter egg) plus the main content slot.

# `app`

## Attributes

* `page_title` (`:string`) (required)
* `active_nav` (`:atom`) (required)
* `dashboard_path` (`:string`) (required)
* `flash` (`:map`) (required)
## Slots

* `actions`
* `inner_block` (required)

# `flash_group`

## Attributes

* `flash` (`:map`) (required)

# `root`

## Attributes

* `dashboard_path` (`:string`) (required)
## Slots

* `inner_block` (required)

---

*Consult [api-reference.md](api-reference.md) for complete listing*
