-
Notifications
You must be signed in to change notification settings - Fork 927
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Sub nav updates: 1. Update /firefox to have consistent sub navs 2. Remove and re-order links on /firefox/more page * remove unused ftl string * remove redundant sub-nav variations * add sub nav to features, brower comparison and more pages
- Loading branch information
Showing
29 changed files
with
135 additions
and
265 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 0 additions & 31 deletions
31
bedrock/firefox/templates/firefox/browsers/mobile/includes/sub-nav.html
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 42 additions & 0 deletions
42
bedrock/firefox/templates/firefox/includes/sub-nav-firefox.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
|
||
{# | ||
This Source Code Form is subject to the terms of the Mozilla Public | ||
License, v. 2.0. If a copy of the MPL was not distributed with this | ||
file, You can obtain one at https://mozilla.org/MPL/2.0/. | ||
#} | ||
|
||
{% from "macros.html" import sub_nav with context %} | ||
|
||
{{ sub_nav( | ||
title={ | ||
'text': ftl('sub-navigation-firefox'), | ||
'href': url('firefox'), | ||
'icon': static('protocol/img/logos/firefox/logo.svg') | ||
}, | ||
links=[ | ||
{ | ||
'text': ftl('sub-navigation-desktop') , | ||
'href': url('firefox.new'), | ||
'cta_name': "Desktop" | ||
}, | ||
{ | ||
'text': ftl('sub-navigation-mobile'), | ||
'href': url('firefox.browsers.mobile.index') , | ||
'cta_name': "Mobile" | ||
}, | ||
{ | ||
'text': ftl('sub-navigation-features'), | ||
'href': url('firefox.features.index'), | ||
'cta_name': "Features" | ||
}, | ||
{ | ||
'text': ftl('sub-navigation-compare-browsers'), | ||
'href': url('firefox.browsers.compare.index'), | ||
'cta_name': "Compare Browsers" | ||
}, | ||
{ | ||
'text': ftl('sub-navigation-more'), | ||
'href': url('firefox.more'), | ||
'cta_name': "More" | ||
}] | ||
) }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.