programming-phoenix-liveview/pento/lib/pento_web/components/layouts.ex

14 lines
432 B
Elixir

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