-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use ember-mobile-menu for mobile nav
ember-learn/rfcs-app#5 Co-authored-by: Chris Manson <[email protected]>
- Loading branch information
Showing
6 changed files
with
20,581 additions
and
18,221 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,31 @@ | ||
<aside class="sidebar light"> | ||
<ul class="chapter"> | ||
<li> | ||
<LinkTo @route="index">Introduction</LinkTo> | ||
</li> | ||
</ul> | ||
<MobileMenuWrapper as |mmw|> | ||
<mmw.MobileMenu as |mm|> | ||
<ul class="chapter"> | ||
<li> | ||
<mm.LinkTo @route="index">Introduction</mm.LinkTo> | ||
</li> | ||
</ul> | ||
<GroupedToc @model={{@model}} as |id|> | ||
<mm.LinkTo @route="rfc" @model={{id}}> {{id}} </mm.LinkTo> | ||
</GroupedToc> | ||
</mmw.MobileMenu> | ||
|
||
<GroupedToc @model={{@model}} /> | ||
</aside> | ||
<mmw.Content> | ||
<mmw.Toggle class="reset"><FaIcon class="p2" @icon="bars" /></mmw.Toggle> | ||
<aside class="sidebar light"> | ||
<ul class="chapter"> | ||
<li> | ||
<LinkTo @route="index">Introduction</LinkTo> | ||
</li> | ||
</ul> | ||
|
||
<GroupedToc @model={{@model}} as |id|> | ||
<LinkTo @route="rfc" @model={{id}}> {{id}} </LinkTo> | ||
</GroupedToc> | ||
</aside> | ||
<main class="page-wrapper light"> | ||
{{outlet}} | ||
</main> | ||
</mmw.Content> | ||
</MobileMenuWrapper> | ||
|
||
<main class="page-wrapper light"> | ||
{{outlet}} | ||
</main> |
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
Oops, something went wrong.