-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Description
More of a question and maybe a feature request:
We have a setup where we need to support multiple "brandings" within one site. We achieve this by having a Body component:
prototype(customer.site:Presentation.Organisms.Body) < prototype(Neos.Fusion:Component) {
branding = ${currentSiteName}
header = ''
main = ''
footer = ''
renderer = afx`
<div class={'branding-' + props.branding}>
{props.header}
<main class="main">
{props.main}
</main>
{props.footer}
</div>
`
}
The currentSiteName is set as @context within our page and is the (suprise) name of the current site. This works great in integration but I currently hit a wall on how to change this in monocle as I have no site available, even though we can open the styleguide using different domains.
Have you done something like this before? Any ideas on how to solve this?
Would a "branding" dropdown next to the site selector dropdown be something you'd want to add to Monocle (if so, I might be able to provide a PR in the future).
Thanks in advance
Metadata
Metadata
Assignees
Labels
No labels