mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
UX: Upgrade to fontawesome 6.6.0 (#28778)
This upgrade is designed to be fully backwards-compatible. Any icon names which have changed will be automatically remapped to the new name. For now, this will happen silently. In future, once core & official themes/plugins have been updated, we will start raising deprecation errors to help theme/plugin authors update their code. Extracted from https://github.com/discourse/discourse/pull/28715 Announcement at https://meta.discourse.org/t/were-upgrading-our-icons-to-font-awesome-6/325349 Co-authored-by: awesomerobot <kris.aubuchon@discourse.org>
This commit is contained in:
@@ -8,16 +8,16 @@
|
||||
{{/name}}
|
||||
{{#location}}
|
||||
<span class="location">
|
||||
<svg class="fa d-icon d-icon-map-marker-alt svg-icon" xmlns="http://www.w3.org/2000/svg">
|
||||
<use href="#map-marker-alt"></use>
|
||||
<svg class="fa d-icon d-icon-location-dot svg-icon" xmlns="http://www.w3.org/2000/svg">
|
||||
<use href="#location-dot"></use>
|
||||
</svg>
|
||||
{{{location}}}
|
||||
</span>
|
||||
{{/location}}
|
||||
{{#website}}
|
||||
<span>
|
||||
<svg class="fa d-icon d-icon-globe-americas svg-icon" xmlns="http://www.w3.org/2000/svg">
|
||||
<use href="#globe-americas"></use>
|
||||
<svg class="fa d-icon d-icon-earth-americas svg-icon" xmlns="http://www.w3.org/2000/svg">
|
||||
<use href="#earth-americas"></use>
|
||||
</svg>
|
||||
<a href="{{website}}">{{{website_name}}}</a>
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user