Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show Dynamic logo in admin ui #3256

Open
yazfield opened this issue Dec 3, 2024 · 1 comment
Open

Show Dynamic logo in admin ui #3256

yazfield opened this issue Dec 3, 2024 · 1 comment

Comments

@yazfield
Copy link
Contributor

yazfield commented Dec 3, 2024

Hi,

We're trying to use vendure in a multi vendor setup, we would like to show a different logo in the admin panel based on the logged in user channel.

However it seems like app-shell is fixed to a single static logo image.

Is there a way to override app-shell component?

if not I would like to create a small PR for allowing the logo field to be dynamically set somehow if you're interested, I'd appreciate if you could give me directions.

@michaelbromley
Copy link
Member

Hi,

That's right, currently it is static. Do you have a proposal of how a dynamic logo might work?

One work around I can think of is to set up some kind of middleware that intercepts the request for the logo, and then by analyzing the headers of the request, serves a specific image.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants