Add default PortalSettings footer link

This commit is contained in:
Torsten Brendgen
2026-08-18 15:56:41 +02:00
parent 64a157f7a8
commit eef1ac7394
8 changed files with 27 additions and 9 deletions
@@ -94,7 +94,21 @@ export const CustomBrandingSettingsProvider: ISettingsProvider<ICustomBrandingSe
allowedCssHosts: [],
cssfiles: [],
placeholdertop: { elements: [] },
placeholderbottom: { elements: [] }
placeholderbottom: {
elements: [{
type: 'div',
attributes: { role: 'contentinfo', 'aria-label': 'Portalverwaltung' },
styles: {
'background-color': '#323130', color: '#ffffff', padding: '12px 16px',
'text-align': 'center', width: '100%', 'box-sizing': 'border-box'
},
children: [{
type: 'a', content: 'Portal Settings',
attributes: { href: '~sitecollection/SitePages/PortalSettings.aspx' },
styles: { color: '#ffffff', 'text-decoration': 'underline' }
}]
}]
}
}),
normalize: (value: any): ICustomBrandingSettings => { // tslint:disable-line:no-any
const source: any = value && typeof value === 'object' ? value : {}; // tslint:disable-line:no-any