strat/lib/strat_web/components/layouts.ex

15 lines
432 B
Elixir

defmodule StratWeb.Layouts do
@moduledoc """
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 StratWeb, :controller` and
`use StratWeb, :live_view`.
"""
use StratWeb, :html
embed_templates "layouts/*"
end