Skip to content
This repository has been archived by the owner on Apr 1, 2020. It is now read-only.

Commit

Permalink
Defining a new block for share buttons on mobile sticky header (#1170)
Browse files Browse the repository at this point in the history
* New mobile sticky header.
 🐿 v2.7.0

* New mobile sticky header.
 🐿 v2.7.0

* Removing whitespace.
 🐿 v2.7.0
  • Loading branch information
Sam Artuso committed Feb 2, 2018
1 parent 7636d35 commit 9a167b6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions components/n-ui/header/partials/header/sticky.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
{{#unlessEquals nUi.header.userNav false}}
<div class="o-header__nav">
<ul class="o-header__nav-list o-header__nav-list--right" data-trackable="user-nav">
{{#outputBlock 'mobile-sticky-header'}}{{/outputBlock}}
{{#each @root.navigation.menus.navbar-right-anon.items}}
<li class="o-header__nav-item {{#ifEquals label 'Subscribe'}}o-header__nav-item--expanded{{/ifEquals}}">
<a
Expand All @@ -54,6 +55,7 @@
{{/if}}

{{#if @root.anon.userIsLoggedIn}}
{{#outputBlock 'mobile-sticky-header'}}{{/outputBlock}}
<a class="o-header__top-link o-header__top-link--myft" href="/myft" data-trackable="my-ft" tabindex="-1">
<span class="o-header__visually-hidden">myFT</span>
</a>
Expand Down
3 changes: 2 additions & 1 deletion secret-squirrel.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ module.exports = {
'40cae4c8-d7fa-11e6-944b-e7eb37a6aa8e', // server/test/stubs/navigationv2Data.json:3910|5587
'0fee75c6-dd73-11e6-9d7c-be108f1c1dce', // server/test/stubs/navigationv2Data.json:3914|5591
'c225ddde-d85b-11e4-ba53-00144feab7de', // server/test/stubs/navigationv2Data.json:3918|5595
'0f3e15c2-dc07-11e6-86ac-f253db7791c6' // server/test/stubs/navigationv2Data.json:3922|5599
'0f3e15c2-dc07-11e6-86ac-f253db7791c6', // server/test/stubs/navigationv2Data.json:3922|5599
'/circleci/project/github/RedSparr0w/node' // README.md:1
]
}
};

0 comments on commit 9a167b6

Please sign in to comment.