devel #49
3 changed files with 13 additions and 6 deletions
|
@ -132,7 +132,7 @@ defmodule ChiyaWeb.AdminComponents do
|
|||
<li>
|
||||
<.link
|
||||
href={~p"/user/log_in"}
|
||||
class="text-xs leading-6 text-gray-100 font-semibold dark:hover:text-gray-300 hover:text-gray-700"
|
||||
class="text-xs leading-6 text-gray-900 dark:text-gray-100 font-semibold dark:hover:text-gray-300 hover:text-gray-700"
|
||||
>
|
||||
Log in
|
||||
</.link>
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
</div>
|
||||
</header>
|
||||
|
||||
<main class="mx-auto max-w-2xl px-4">
|
||||
<section class="mx-auto max-w-2xl px-4 mb-16">
|
||||
<.flash_group flash={@flash} />
|
||||
<%= @inner_content %>
|
||||
</main>
|
||||
</section>
|
|
@ -24,9 +24,16 @@
|
|||
<%= @settings.custom_css %>
|
||||
</style>
|
||||
</head>
|
||||
<body class="bg-theme-background antialiased">
|
||||
<body class="bg-theme-background antialiased min-h-screen flex flex-col">
|
||||
<.admin_bar current_user={@current_user} />
|
||||
<%= @inner_content %>
|
||||
|
||||
<main class="flex-1">
|
||||
<%= @inner_content %>
|
||||
</main>
|
||||
|
||||
<footer class="px-4 py-1 sm:px-6 lg:px-8 bg-white/30 dark:bg-black/30 text-gray-900 dark:text-gray-100 text-xs leading-6 font-semibold">
|
||||
<span class="text-theme-primary">⌘</span> <span><%= @settings.title %></span>
|
||||
</footer>
|
||||
|
||||
<%= raw(@settings.custom_html) %>
|
||||
</body>
|
||||
|
|
Loading…
Reference in a new issue