feat: allow portal logo override (#1391)

This commit is contained in:
Markos Gogoulos
2025-09-24 16:26:45 +03:00
committed by GitHub
parent c4c5ecf06a
commit 1c1af489f1
4 changed files with 27 additions and 6 deletions

View File

@@ -4,19 +4,19 @@ MediaCMS.site = {
url: '{{FRONTEND_HOST}}',
api: '{{FRONTEND_HOST}}/api/v1',
theme: {
mode: '{{DEFAULT_THEME}}',
mode: '{{DEFAULT_THEME}}',
switch: {
position: 'sidebar', // Valid values: 'header', 'sidebar'.
},
},
logo:{
lightMode:{
img: "/static/images/logo_dark.png",
svg: "/static/images/logo_dark.svg",
img: "{{PORTAL_LOGO_DARK_PNG}}",
svg: "{{PORTAL_LOGO_DARK_SVG}}",
},
darkMode:{
img: "/static/images/logo_light.png",
svg: "/static/images/logo_light.svg",
img: "{{PORTAL_LOGO_LIGHT_PNG}}",
svg: "{{PORTAL_LOGO_LIGHT_SVG}}",
},
},
pages: {