aboutsummaryrefslogtreecommitdiff
path: root/lib/nulla_web/components/layouts/root.html.heex
diff options
context:
space:
mode:
Diffstat (limited to 'lib/nulla_web/components/layouts/root.html.heex')
-rw-r--r--lib/nulla_web/components/layouts/root.html.heex17
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/nulla_web/components/layouts/root.html.heex b/lib/nulla_web/components/layouts/root.html.heex
new file mode 100644
index 0000000..ea6a36d
--- /dev/null
+++ b/lib/nulla_web/components/layouts/root.html.heex
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html lang="en" class="[scrollbar-gutter:stable]">
+ <head>
+ <meta charset="utf-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
+ <meta name="csrf-token" content={get_csrf_token()} />
+ <.live_title default="Nulla" suffix=" ยท Phoenix Framework">
+ {assigns[:page_title]}
+ </.live_title>
+ <link phx-track-static rel="stylesheet" href={~p"/assets/app.css"} />
+ <script defer phx-track-static type="text/javascript" src={~p"/assets/app.js"}>
+ </script>
+ </head>
+ <body class="bg-white">
+ {@inner_content}
+ </body>
+</html>