Like magic, fixed!
Thank you!
Hi, I just ran the update this morning and now I get an error message at the top of the site âYour site may not work because theme / component Brand Header Theme Component has errors. Disable itâŚâ
This is my first time updating a component, did I miss a step or anything? Any suggested fixes?
Thanks for your time.
Have you also updated discourse? Maybe the theme component was updated to work with a change in the software.
Or vice versa, did you update the software but not the theme component? Canât tell from your post.
My discourse was updated DEC 5th.
It might help if you can tell us what version of discourse and the component you are on.
2.4 beta8, and I updated the component 3 hours ago.
I am on the same and am not getting any error message. Others do not see the error so I would not worry if the functionality is working. The error may resolve itself.
The theme component is throwing an error "Brand Header Theme Component" error: Error: "Could not find module @ember/runloop"
@Allted youâre not on 2.4beta8, but on stable (2.3.7). The theme component was updated here and now it is not compatible with the stable branch anymore. @vinothkannans ?
It is fixed. This component should work fine with the beta & stable branches now.
Confirmed, it works great again! Thank you.
Hey there, would you be open to adding an option to display the bar below the header instead of above?
Sure, I will accept it if you can submit it in a PR.
Any hints as to what needs to be changed for that? I never worked with Discourse before.
https://github.com/discourse/discourse-brand-header/blob/master/common/header.html#L192-L194
You should mount the widget in âbelow-site-headerâ connector instead of âabove-site-headerâ. It will require few more tweaks too.
Thanks, I got it to work! Will probably PR when I have a bit more time.
I merged your other PR which will add an optional target parameter to links.
How can I make these social logos visible in a dark theme? I want them to have %100 opacity with white color.
It should adapt to your color scheme and be at a 1.0 opacity already, but just in case, add this in your theme css
.b-header .panel > ul.icons a, .b-header .panel > ul.icons [class^="fa fa-"] {
color: #fff;
opacity: 1;
}
Try this:
.b-header .panel .d-icon {
fill: #FFF;
}