This is a theme component that will allow you to add linked icons to the Discourse header easily.
This component includes a theme setting that allows you to add as many links as you want, determine their icons, and decide which devices they show up on!
The pattern for links is as follows:
Title is… well…the title you want the link to have.
URL is where you want the user to go when they click. Include protocol like
Alternatively, as @dnsmichi pointed out, you can also use relative links like
Icon can be any FontAwesome 4.7 icon name without the
View can have one of three values:
Mobile and desktop
Target can be:
Opens link in the same tab
Open link in a new tab
How do I install this?
follow the official theme installation guide here:
Then add the component to your theme as a theme component and you’re all set!
and on @vinothkannans’s Brand header theme which was a great reference for the structure of this component.