diff options
Diffstat (limited to '')
-rw-r--r-- | lib/lsg_web/templates/layout/app.html.eex | 24 | ||||
-rw-r--r-- | lib/lsg_web/templates/layout/root.html.leex | 18 |
2 files changed, 21 insertions, 21 deletions
diff --git a/lib/lsg_web/templates/layout/app.html.eex b/lib/lsg_web/templates/layout/app.html.eex index 9ad05a6..bca1555 100644 --- a/lib/lsg_web/templates/layout/app.html.eex +++ b/lib/lsg_web/templates/layout/app.html.eex @@ -1,18 +1,3 @@ -<!DOCTYPE html> -<html lang="en"> - <head> - <%= page_title(@conn) %> - <meta charset="utf-8"> - <meta name="robots" content="noindex, nofollow, nosnippet"> - <meta http-equiv="X-UA-Compatible" content="IE=edge"> - <meta name="viewport" content="width=device-width, initial-scale=1"> - <meta name="robots" content="noindex, noarchive, nofollow, nosnippet" /> - <title><%= Map.get(assigns, :title, "") %></title> - <link rel="stylesheet" href="<%= static_path(@conn, "/assets/site.css") %>"> - <script src="<%= static_path(@conn, "/assets/site.js") %>" defer></script> - </head> - - <body> <div> <div class="bg-gray-800 pb-32"> <nav class="bg-gray-800"> @@ -129,16 +114,13 @@ </header> </div> - <main class="-mt-32"> - <div class="max-w-7xl mx-auto pb-12 px-4 sm:px-6 lg:px-8"> + <main class="-mt-32 h-full"> + <div class="max-w-7xl h-full mx-auto pb-12 px-4 sm:px-6 lg:px-8"> <!-- Replace with your content --> - <div class="bg-white rounded-lg shadow px-5 py-6 sm:px-6"> + <div class="bg-white h-full rounded-lg shadow px-5 py-6 sm:px-6"> <%= @inner_content %> </div> <!-- /End replace --> </div> </main> </div> - - </body> -</html> diff --git a/lib/lsg_web/templates/layout/root.html.leex b/lib/lsg_web/templates/layout/root.html.leex new file mode 100644 index 0000000..6a48506 --- /dev/null +++ b/lib/lsg_web/templates/layout/root.html.leex @@ -0,0 +1,18 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <%= page_title(@conn) %> + <meta charset="utf-8"> + <meta name="robots" content="noindex, nofollow, nosnippet"> + <meta http-equiv="X-UA-Compatible" content="IE=edge"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <meta name="robots" content="noindex, noarchive, nofollow, nosnippet" /> + <title><%= Map.get(assigns, :title, "") %></title> + <link rel="stylesheet" href="<%= static_path(@conn, "/assets/site.css") %>"> + <%= csrf_meta_tag() %> + <script src="<%= static_path(@conn, "/assets/site.js") %>" defer></script> + </head> + <body> + <%= @inner_content %> + </body> +</html> |