DEV: adds before-header-logo outlet (#25196)

This commit is contained in:
Kris 2024-01-22 17:17:08 -05:00 committed by GitHub
parent 7bad0b1d8a
commit 5627355c8c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,8 @@
import { hbs } from "ember-cli-htmlbars";
import { registerWidgetShim } from "discourse/widgets/render-glimmer";
registerWidgetShim(
"before-header-logo-outlet",
"div.before-header-logo-outlet",
hbs`<PluginOutlet @name="before-header-logo" @outletArgs={{hash attrs=@data}} /> `
);

View File

@ -15,6 +15,8 @@ createWidget("header-contents", {
{{/if}}
{{/if}}
{{before-header-logo-outlet attrs=attrs}}
{{home-logo-wrapper-outlet attrs=attrs}}
{{#if attrs.topic}}