cannery/lib/cannery_web/templates/layout/app.html.heex
shibao 92cc49630d
All checks were successful
continuous-integration/drone/push Build is passing
merge base project into cannery
2023-02-26 00:40:55 -05:00

19 lines
544 B
Plaintext

<main role="main" class="min-h-full min-w-full">
<header>
<.topbar current_user={assigns[:current_user]} />
<div class="mx-8 my-2 flex flex-col space-y-4 text-center">
<p :if={get_flash(@conn, :info)} class="alert alert-info" role="alert">
<%= get_flash(@conn, :info) %>
</p>
<p :if={get_flash(@conn, :error)} class="alert alert-danger" role="alert">
<%= get_flash(@conn, :error) %>
</p>
</div>
</header>
<div class="mx-4 sm:mx-8 md:mx-16">
<%= @inner_content %>
</div>
</main>