feat: refine configurable header and branding

This commit is contained in:
ajnart committed 2026-08-24 00:35:53 +02:00
1 parent 803d590a16
commit f8d3d5893a
47 files changed
+234 -8634

No files matched your search

-3
View File
@@ -24,7 +24,6 @@ export type SettingsContextProps = Omit<
> &
Pick<ServerSettings["user"], "enableGravatar"> & {
branding: ServerSettings["branding"];
featureControls: ServerSettings["featureControls"];
};
export interface PublicServerSettings {
@@ -35,7 +34,6 @@ export interface PublicServerSettings {
>;
user: Pick<ServerSettings["user"], "enableGravatar">;
branding: ServerSettings["branding"];
featureControls: ServerSettings["featureControls"];
}
export type UserSettings = Pick<
@@ -71,5 +69,4 @@ export const createSettings = ({
forceDisableStatus: serverSettings.board.forceDisableStatus,
enableGravatar: serverSettings.user.enableGravatar,
branding: parseBrandingSettings(serverSettings.branding),
featureControls: serverSettings.featureControls,
});