Feverbee also has header links that I helped them out with, they are using this code:
<script type="text/discourse-plugin" version="0.2">
api.decorateWidget('home-logo:after', helper => {
const showExtraInfo = helper.attrs.minimized;
if(!showExtraInfo) {
return helper.h('ul.nav-link-container', [
helper.h('li.hidden-for-mobile', [
helper.h('a.nav-link', {
href:'https://www.feverbee.com/resources',
text:'RESOURCES',
target:'_blank'
})
]),
helper.h('li.hidden-for-mobile', [
helper.h('a.nav-link', {
href:'https://experts.feverbee.com/',
text:'DISCUSSIONS',
target:'_self'
})
]),
helper.h('li.hidden-for-mobile', [
helper.h('a.nav-link', {
href:'http://sprint.feverbee.com/',
text:'EVENTS',
target:'_blank'
})
]),
helper.h('li.hidden-for-mobile', [
helper.h('a.nav-link', {
href:'http://ondemand.feverbee.com/',
text:'TRAINING',
target:'_blank'
})
]),
helper.h('li.hidden-for-mobile', [
helper.h('a.nav-link', {
href:'http://www.feverbee.com/consultancy',
text:'CONSULTANCY',
target:'_blank'
})
]),
helper.h('li.hidden-for-mobile', [
helper.h('a.nav-link', {
href:'http://www.feverbee.com/about-us',
text:'ABOUT',
target:'_blank'
})
]),
helper.h('li', [
helper.h('a.nav-link', {
href:'http://www.feverbee.com',
text:'HOME',
target:'_self'
})
])
]);
}
});
</script>
With CSS to taste.
@import "theme_variables";
// header stripe shadow
.d-header {
box-shadow: 0 4px 8px 0 rgba(0,0,0,0.25);
box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.25);
padding-bottom: 3px;
border-bottom: 1px solid #D45000;
}
.badge-wrapper.box span.badge-category {
padding: 0 6px 2px;
}
// header links
.mobile-view .hidden-for-mobile {
display: none;
}
.add-header-links {
margin-left: 0 !important;
}
@media screen and (max-width: 940px) {
.nav-link-container li:nth-child(1) {
display: none;
}
}
@media screen and (max-width: 830px) {
.nav-link-container li:nth-child(2) {
display: none;
}
}
@media screen and (max-width: 743px) {
.nav-link-container li:nth-child(3) {
display: none;
}
}
@media screen and (max-width: 650px) {
.nav-link-container li:nth-child(4) {
display: none;
}
}
@media screen and (max-width: 525px) {
.nav-link-container li:nth-child(5) {
display: none;
}
}
.nav-link-container {
display: inline;
li {
display: inline-block;
float: right;
a {
color: rgb(255, 255, 255);
text-decoration: none;
text-align: center;
font-family: 'Open Sans';
line-height: 48px;
min-width: 90px;
font-size: 15px;
padding: 0 1em;
}
}
}