Skip to content

Commit

Permalink
Merge pull request #151 from abridger/secondary-links
Browse files Browse the repository at this point in the history
Add Help to Kano Secondary Links
  • Loading branch information
murilopolese authored Jul 6, 2017
2 parents 674814c + 05ede03 commit bb59ddc
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions kano-secondary-links/kano-secondary-links.html
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,20 @@
<template>
<ul id="secondary-nav-items" class="nav-menu-items">
<li class="menu-item">
<a href$="[[_computeLink(storeRoot, '/educators', 'false', currentSite, selectedRegion)]]" class$="link [[_computeLinkClass(storeRoot, '/educators', currentSite, selectedLink)]]">
<a href$="[[_computeLink(storeRoot, '/educators', 'false', currentSite, selectedRegion)]]"
class$="link [[_computeLinkClass(storeRoot, '/educators', currentSite, selectedLink)]]">
<span class="menu-item-label">Educators</span>
</a>
</li>
<li class="menu-item">
<a href$="[[_computeLink(storeRoot, '/blog', 'false', currentSite, selectedRegion)]]" class$="link [[_computeLinkClass(storeRoot, '/blog', currentSite, selectedLink)]]">
<a href$="[[_computeLink('https://help.kano.me', '/', 'false', currentSite, selectedRegion)]]"
class$="link [[_computeLinkClass('https://help.kano.me', '/blog', currentSite, selectedLink)]]">
<span class="menu-item-label">Help</span>
</a>
</li>
<li class="menu-item">
<a href$="[[_computeLink(storeRoot, '/blog', 'false', currentSite, selectedRegion)]]"
class$="link [[_computeLinkClass(storeRoot, '/blog', currentSite, selectedLink)]]">
<span class="menu-item-label">Blog</span>
</a>
</li>
Expand Down Expand Up @@ -135,7 +143,7 @@
*/
worldRoot: {
type: String,
value: 'https://kano.me'
value: 'https://world.kano.me'
}
},
_computeLink: function (site, path, regionalize, currentSite, selectedRegion) {
Expand Down

0 comments on commit bb59ddc

Please sign in to comment.