- MaintenanceNotice: the full-screen maintenance view now has a small
"Anmelden"/"Log in" link fixed in the bottom-right corner, so a logged-out
admin can reach /admin/login (and from there, maintenance-bypass access)
without knowing the URL by heart.
- Navbar: wrapped in a permanently "dark" container so every dark: utility
in it (background, borders, logo variant, icon colors, language-switcher
dropdown) always applies regardless of the visitor's actual light/dark
preference, per customer request. The real theme toggle still controls
the rest of the site as before - only the navbar's own appearance is
pinned. The portal-rendered mobile flyout menu is unaffected (it already
had its own fixed light styling, independent of the toggle).
- AdminLayout: the dashboard's company logo (desktop sidebar and mobile top
bar) is now a link to "/" instead of inert markup.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Extracts the system-font list already used by RichTextEditor for mail
templates into a shared hifi-src/src/utils/fontOptions.js (frontend) and
App\Support\Fonts (backend), so it can drive two new pickers with a
consistent set of options.
Global: a new app_settings.site_font setting, exposed as an admin dropdown
in WebsiteSettings.jsx. tailwind.config.js now defines font-sans as
var(--site-font, ui-sans-serif, system-ui, sans-serif); Tailwind's
preflight already applies font-sans globally to <html>, so this alone
makes the chosen font cascade to virtually every text on the public site
without touching individual components. PublicLayout.jsx sets the CSS
variable from the fetched site settings.
Per-section override: a new home_sections.font_family column, editable
per homepage section in HomeSections.jsx ("Standard" = inherit the global
font). Home.jsx applies it as an inline style on each section's wrapper,
which naturally wins over the CSS-variable-driven global default when
set. Reveal.jsx gained an optional style prop (merged into its own
transform/opacity style) so the four flowing-text sections, which use it
directly as their wrapper, can receive the override too.
Verified locally: migration adds both columns without touching existing
rows, and both settings round-trip correctly through the database.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>