feat: editable branding — app name and subtitle configurable in Admin Settings

Adds app_name and app_subtitle as system settings with a dedicated
Branding tab in the Admin panel. Both values are served via a public
GET /api/admin/branding endpoint (no auth) so the login page can also
show the configured name before the user signs in.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-07-22 11:02:38 +02:00
co-authored by Claude Sonnet 4.6
parent c262b31bc5
commit 4946cc300a
6 changed files with 150 additions and 6 deletions
+11
View File
@@ -0,0 +1,11 @@
import api from './client'
export interface BrandingSettings {
app_name: string
app_subtitle: string
}
export async function fetchBranding(): Promise<BrandingSettings> {
const { data } = await api.get<BrandingSettings>('/admin/branding')
return data
}