All checks were successful
deploy / deploy (push) Successful in 1m27s
auth pages (login, registration, confirmation, recover) now use setup-page/setup-header/admin-btn-block. theme toggle indicator gets proper CSS. cleaned up dead h-full, size-3.5, ml-2 classes. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
36 lines
1.4 KiB
Plaintext
36 lines
1.4 KiB
Plaintext
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<meta name="csrf-token" content={get_csrf_token()} />
|
|
<.live_title default="Berrypod" suffix=" · Phoenix Framework">
|
|
{assigns[:page_title]}
|
|
</.live_title>
|
|
<!-- Preload critical fonts for the current typography preset -->
|
|
<%= for preload <- Berrypod.Theme.Fonts.preload_links(
|
|
@theme_settings.typography,
|
|
&BerrypodWeb.Endpoint.static_path/1
|
|
) do %>
|
|
<link rel="preload" href={preload.href} as="font" type="font/woff2" crossorigin />
|
|
<% end %>
|
|
<!-- Pre-declare layer order so reset < Tailwind base regardless of load order -->
|
|
<style>
|
|
@layer properties, reset, primitives, tokens, theme, base, components, layout, admin, utilities, overrides;
|
|
</style>
|
|
<link phx-track-static rel="stylesheet" href={~p"/assets/css/theme.css"} />
|
|
<link phx-track-static rel="stylesheet" href={~p"/assets/css/admin.css"} />
|
|
<!-- Generated theme CSS with @font-face declarations -->
|
|
<style id="theme-css">
|
|
<%= Phoenix.HTML.raw(@generated_css) %>
|
|
</style>
|
|
<script defer phx-track-static src={~p"/assets/js/app.js"}>
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<div class="themed" data-mood={@theme_settings.mood} style="min-height:100%">
|
|
{@inner_content}
|
|
</div>
|
|
</body>
|
|
</html>
|