fix(aio): use a special version of the TopBar if the screen is narrow

If there is a `TopBarNarrow` nav view then use this when the screen is narrow.
Otherwise just use the normal `TopBar`.

This commit also creates such a narrow topbar view where the "Docs" item is
in a different position

Closes #16940
This commit is contained in:
Peter Bacon Darwin
2017-05-23 17:10:27 +01:00
committed by Pete Bacon Darwin
parent 9e17a147ec
commit 19a509a92c
3 changed files with 22 additions and 1 deletions

View File

@ -18,6 +18,25 @@
}
],
"TopBarNarrow": [
{
"url": "features",
"title": "Features"
},
{
"url": "resources",
"title": "Resources"
},
{
"url": "events",
"title": "Events"
},
{
"url": "docs",
"title": "Docs:"
}
],
"SideNav": [
{
"url": "docs",