2022-02-25 21:39:22 -05:00
|
|
|
<main role="main" class="min-h-full min-w-full">
|
2022-02-13 21:28:20 -05:00
|
|
|
<header>
|
2022-02-25 21:39:22 -05:00
|
|
|
<.topbar current_user={assigns[:current_user]}></.topbar>
|
|
|
|
|
|
|
|
<div class="mx-8 my-2 flex flex-col space-y-4 text-center">
|
2023-02-04 09:16:51 -05:00
|
|
|
<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>
|
2022-02-25 21:39:22 -05:00
|
|
|
</div>
|
2021-09-02 23:32:52 -04:00
|
|
|
</header>
|
2022-02-25 21:39:22 -05:00
|
|
|
|
|
|
|
<div class="mx-4 sm:mx-8 md:mx-16">
|
|
|
|
<%= @inner_content %>
|
|
|
|
</div>
|
2021-03-11 21:12:55 -05:00
|
|
|
</main>
|