feat(header): left, center and right logos in the header navbar
- config.xml: brandlogo/brandlogofile = left logo; new centerlogo/centerlogofile and rightlogo/rightlogofile options; old secondlogo/secondlogofile removed. - nav_bar.twig renders the three positions: left in flow, center absolutely centered, right flush right (ms-auto on the logo, menu keeps ms-auto when no right logo). Logos render only when the file resolves (imageSrc guard). - sass/plain.sass: flex/relative container + absolute centering for .logo-center. - options/options.twig: removed dead secondlogo variables. Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
parent
7fdf23d196
commit
cee78a973f
1 changed files with 71 additions and 17 deletions
|
|
@ -26,7 +26,6 @@
|
|||
{% set fontOptions = '' %}
|
||||
|
||||
{% set brandlogofileOptions , brandlogofileInheritFilename, brandlogofileInheritPreview = '', '', '' %}
|
||||
{% set secondlogofileOptions , secondlogofileInheritFilename, secondlogofileInheritPreview = '', '', '' %}
|
||||
|
||||
{# For surveyspecific settings add an inherit option #}
|
||||
{% if templateConfiguration.sid is not empty or templateConfiguration.gsid is not empty %}
|
||||
|
|
|
|||
Loading…
Reference in a new issue