aboutsummaryrefslogtreecommitdiff
path: root/lib/nulla_web/components/layouts.ex
diff options
context:
space:
mode:
Diffstat (limited to 'lib/nulla_web/components/layouts.ex')
-rw-r--r--lib/nulla_web/components/layouts.ex14
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/nulla_web/components/layouts.ex b/lib/nulla_web/components/layouts.ex
new file mode 100644
index 0000000..0e335fa
--- /dev/null
+++ b/lib/nulla_web/components/layouts.ex
@@ -0,0 +1,14 @@
+defmodule NullaWeb.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 NullaWeb, :controller` and
+ `use NullaWeb, :live_view`.
+ """
+ use NullaWeb, :html
+
+ embed_templates "layouts/*"
+end