mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-04 08:54:36 +03:00
753da0231f
- Adds gh-view-title component to implement mobile menu button for titles on any page - Refactors the `content-cover` out into the application template - Fix various z-index issues with content-cover and gh-alert - Move `.settings-menu-expanded` application view state from body to `.gh-viewport` - Unify nav menu / mobile menu actions and code
24 lines
745 B
Handlebars
24 lines
745 B
Handlebars
<a class="sr-only sr-only-focusable" href="#gh-main">Skip to main content</a>
|
|
|
|
{{gh-alerts notify="topNotificationChange"}}
|
|
|
|
<div class="gh-viewport {{if autoNav 'gh-autonav'}} {{if showSettingsMenu 'settings-menu-expanded'}} {{if showMobileMenu 'mobile-menu-expanded'}}">
|
|
|
|
{{#unless signedOut}}
|
|
{{gh-nav-menu open=autoNavOpen onMouseEnter="openAutoNav" toggleMaximise="toggleAutoNav" openModal="openModal"}}
|
|
{{/unless}}
|
|
|
|
{{#gh-main onMouseEnter="closeAutoNav" data-notification-count=topNotificationCount}}
|
|
{{outlet}}
|
|
{{/gh-main}}
|
|
|
|
|
|
{{gh-notifications}}
|
|
|
|
{{gh-content-cover onClick="closeMenus" onMouseEnter="closeAutoNav"}}
|
|
|
|
{{outlet "modal"}}
|
|
{{outlet "settings-menu"}}
|
|
|
|
</div>{{!gh-viewport}}
|