2021-01-08 21:14:26 +08:00
|
|
|
<nav class="flex items-center justify-between px-8 py-3 bg-purple-600">
|
|
|
|
<div class="w-full">
|
|
|
|
<%= live_redirect "LiveBook", to: "/", class: "font-bold inline-block mr-4 py-2 text-white" %>
|
2021-01-08 05:13:17 +08:00
|
|
|
</div>
|
2021-01-08 21:14:26 +08:00
|
|
|
<ul class="flex flex-row">
|
|
|
|
<li class="flex items-center">
|
|
|
|
<%= live_redirect "Sessions", to: "/sessions", class: "px-3 text-xs uppercase font-bold text-white hover:opacity-75" %>
|
|
|
|
</li>
|
|
|
|
</ul>
|
2021-01-08 05:13:17 +08:00
|
|
|
</nav>
|
2021-01-08 04:16:54 +08:00
|
|
|
|
2021-01-08 05:13:17 +08:00
|
|
|
<main role="main" class="container mx-auto flex flex-col align-center">
|
|
|
|
<div>
|
|
|
|
<p class="alert alert-info" role="alert"
|
|
|
|
phx-click="lv:clear-flash"
|
|
|
|
phx-value-key="info"><%= live_flash(@flash, :info) %></p>
|
|
|
|
|
|
|
|
<p class="alert alert-danger" role="alert"
|
|
|
|
phx-click="lv:clear-flash"
|
|
|
|
phx-value-key="error"><%= live_flash(@flash, :error) %></p>
|
|
|
|
</div>
|
2021-01-08 04:16:54 +08:00
|
|
|
|
|
|
|
<%= @inner_content %>
|
|
|
|
</main>
|