the browser-facing portion of osu!
at master 26 lines 1.1 kB view raw
1{{-- 2 Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0. 3 See the LICENCE file in the repository root for full licence text. 4--}} 5 6 7<div class="js-pinned-header-sticky sticky-header js-sync-height--reference" 8 data-sync-height-target="sticky-header" 9 data-visibility="hidden" 10 data-visibility-animation="none" 11> 12 <div class="osu-page"> 13 {{-- Workaround to remove empty block with padding --}} 14 {{-- TODO: Need a better way to handle this while keeps the padding in the container element --}} 15 @if (View::hasSection('sticky-header-breadcrumbs') || View::hasSection('sticky-header-content')) 16 <div class="sticky-header__body"> 17 <div class="js-sticky-header-breadcrumbs sticky-header__breadcrumbs"> 18 @yield('sticky-header-breadcrumbs') 19 </div> 20 <div class="js-sticky-header-content sticky-header__content"> 21 @yield('sticky-header-content') 22 </div> 23 </div> 24 @endif 25 </div> 26</div>