add site footer
This commit is contained in:
parent
6edda5ae67
commit
3cf4e0163a
2 changed files with 12 additions and 5 deletions
|
@ -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} />
|
||||
|
||||
<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