Skip to content

Instantly share code, notes, and snippets.

@nallenanderson
Last active Aug 26, 2016
Embed
What would you like to do?
This is the #main-menu example.
<div id="main-menu" class="mm-wrapper collapsed">
<!-- This is the Modyo Logo -->
<div class="nav-brand">
</div>
<!-- This is the site navigation -->
<div class="nav-account">
<div class="account-dropdown dropdown">
<ul class="dropdown-menu">
<!-- All of your sites are listed here -->
<li>
<a href="site_path">Name of site</a>
</li>
</ul>
</div>
</div>
<!-- This is the context navigation -->
<nav id="nav" class="mm-menu mm-border-full mm-theme-dark" style="display: block;">
<div class="mm-panels">
<div class="mm-panel mm-hasnavbar mm-opened mm-current" id="mm-80">
<!-- The title of the current navigation context -->
<div class="mm-navbar">
<a class="mm-title">Menu</a>
</div>
<ul class="nav-ul mm-listview">
<!-- All the context list here -->
<li>
<a href="context_item">Context Item</a>
</li>
</ul>
</div>
</div>
</nav>
<!-- This is the menu footer -->
<div class="nav-bottom">
<div class="nav-search"></div>
<div class="nav-session"></div>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment