If I’m right, the outlet name should be welcome-banner-below-input. Give it a try and let me know how it goes!
I will update the outlet list later.
2 לייקים
That worked perfectly, thank you!
2 לייקים
I’ve changed this
import htmlSafe from "discourse/helpers/html-safe";
to
import { trustHTML } from "@ember/template";
Because I noticed for that
For new class ‘Search Banner’ is welcome-banner-below-input
Discourse Banner Featured.zip (15,3,KB)
לייק 1
Thanks for reporting! I will update the component asap. ![]()
לייק 1
I’ve updated the component and while I was on it, I cleaned up things (DEV: Modernize and clean up by Arkshine · Pull Request #7 · Arkshine/discourse-banner-featured-links · GitHub)
Changelog:
- Fixed
htmlSafedeprecation - Fixed a SCSS typo (for mobile,
max-widthwas used instead ofmargin) - Fixed some settings description
- Replaced
altbytitleon the link (invalid HTML) - Rendered title as plain text.
It was not documented HTML was allowed, but I don’t think it’s useful in this context. - Changed default setting on button hover to use the same color as button.
- Pinned TC to version 2026.3.0-latest
Internally:
- Removed version from
apiInitializer - Updated lint config
- Adjusted code based on the new lint config
- Do not mutate
settingsobject - Made some cleanup
- Added more tests.
לייק 1
