mediawiki-skins-Citizen/templates/Header.mustache
alistair3149 76a39eafdf
perf(preferences): ️ rewrite to use dropdown component
Dropdown + Menu component are already doing the same thing.
We can just extend those and drop all the custom handling
2024-11-12 20:13:47 -05:00

18 lines
518 B
Plaintext

{{!
string link-mainpage link to the main page
string msg-citizen-drawer-toggle The label used by the drawer button
}}
<header class="mw-header citizen-header">
{{>Header__logo}}
{{#data-search-box}}{{>Search}}{{/data-search-box}}
{{>Drawer}}
<div class="citizen-header__inner">
<div class="citizen-header__start"></div>
<div class="citizen-header__end">
{{>Preferences}}
{{#data-portlets.data-notifications}}{{>Menu}}{{/data-portlets.data-notifications}}
{{>UserMenu}}
</div>
</div>
</header>