cannery/lib/cannery_web/templates/layout/root.html.heex

24 lines
751 B
Plaintext
Raw Normal View History

2021-03-11 21:12:55 -05:00
<!DOCTYPE html>
2022-02-26 00:16:12 -05:00
<html lang="en" class="m-0 p-0 w-full h-full bg-white">
2021-03-11 21:12:55 -05:00
<head>
2022-01-22 17:21:10 -05:00
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
2021-03-11 21:12:55 -05:00
<%= csrf_meta_tag() %>
<%= if(assigns |> Map.has_key?(:page_title), do: @page_title, else: "Cannery")
|> live_title_tag(suffix: " | Cannery") %>
2022-01-22 17:21:10 -05:00
<link phx-track-static rel="stylesheet" href={Routes.static_path(@conn, "/css/app.css")} />
<script
defer
phx-track-static
type="text/javascript"
src={Routes.static_path(@conn, "/js/app.js")}
>
</script>
2021-03-11 21:12:55 -05:00
</head>
2022-02-08 23:38:20 -05:00
2022-02-26 00:16:12 -05:00
<body class="m-0 p-0 w-full h-full bg-white">
2021-03-11 21:12:55 -05:00
<%= @inner_content %>
</body>
</html>