mediawiki-skins-Citizen/templates/Drawer__logo.mustache
alistair3149 5ccfbcfdeb refactor(core): clean up drawer implementation
This is a part of the site header refactor
* Use relative units
* Add title to toggle button
* Remove unnessecary CSS
* Rewrite HTML classes
* Temporary remove drawer subsearch, it will be re-explored in a later patch
2022-05-10 10:52:36 -04:00

21 lines
682 B
Plaintext

{{!
LogoDefinition logo
string html-mainpage-attributes link to the main page
string msg-sitesubtitle the contents of the sitesubtitle message key
}}
{{#data-logos}}
<a {{{html-mainpage-attributes}}} class="mw-logo citizen-drawer__logo">
{{! alt is provided for valid HTML but given aria-hidden not needed. }}
<img class="mw-logo-icon" src="{{!
Pick an icon based on this order: Icon > SVG > 1x
Need a better way to indent the syntax below
}}{{#icon}}{{.}}{{/icon}}{{!
}}{{^icon}}{{!
}}{{#svg}}{{.}}{{/svg}}{{!
}}{{^svg}}{{!
}}{{#1x}}{{.}}{{/1x}}{{!
}}{{/svg}}{{!
}}{{/icon}}"{{!
}}alt="" aria-hidden="true" height="80" width="80">
</a>
{{/data-logos}}