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<a href="#" id="nav-button">
6 <span>
7 MENU
8 <i class="menu-burger"></i>
9 </span>
10</a>
11<div class="tocify-wrapper">
12 <div class="logo"></div>
13
14 @isset($metadata['example_languages'])
15 <div class="lang-selector">
16 @foreach($metadata['example_languages'] as $name => $lang)
17 @php if (is_numeric($name)) $name = $lang; @endphp
18 <button type="button" class="lang-button js-set-language" data-language-name="{{ $lang }}">{{ $name }}</button>
19 @endforeach
20 </div>
21 @endisset
22
23 <div class="search">
24 <input type="text" class="search" id="input-search" placeholder="Search">
25 </div>
26
27 <div id="toc">
28 </div>
29
30 <ul class="toc-footer" id="toc-footer">
31 <li style="padding-bottom: 5px;">
32 <a href="https://github.com/ppy/osu-web">
33 osu-web on GitHub
34 </a>
35 </li>
36 <li style="padding-bottom: 5px;">
37 <a href="https://osu.ppy.sh">
38 osu!
39 </a>
40 </li>
41 @if($metadata['postman_collection_url'])
42 <li style="padding-bottom: 5px;"><a href="{!! $metadata['postman_collection_url'] !!}">View Postman collection</a></li>
43 @endif
44 @if($metadata['openapi_spec_url'])
45 <li style="padding-bottom: 5px;"><a href="{!! $metadata['openapi_spec_url'] !!}">View OpenAPI spec</a></li>
46 @endif
47 <li><a href="http://github.com/knuckleswtf/scribe">Documentation powered by Scribe ✍</a></li>
48 </ul>
49
50 <ul class="toc-footer" id="last-updated">
51 <li>{{ $metadata['last_updated'] }}</li>
52 </ul>
53</div>