-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathheader-stacked.html
41 lines (41 loc) · 1.22 KB
/
header-stacked.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<script>
$(document).ready(function () {
$('#expansion-btn').click(function () {
$('.Extend').toggleClass('d-none');
});
$('#collapse-btn').click(function () {
$('.Extend').addClass('d-none');
})
});
</script>
<div class="Profile text-center mt-3">
{%- include masthead.html %}
{%- if site.repo_info %}
<div class="py-2">
{% include mini-repo-info-card.html class="AppHeader-link no-underline" %}
</div>
{%- endif %}
{%- if site.social_media %}
<div class="py-2 px-2">
{%- include social.html %}
</div>
{%- endif %}
</div>
{%- if site.nav %}
<div class="Header d-flex z-2 position-sticky top-0 topbar">
<div class="Header-item flex-row flex-justify-center flex-1 hide-sm">
{% include nav.html %}
</div>
<div class="d-flex flex-1 flex-sm-grow-0 flex-justify-start">
<div class="d-flex">
<button id="expansion-btn" class="btn-octicon mr-2 d-sm-none">{% octicon three-bars height:16 %}</button>
</div>
<div class="d-flex">
{% include toggle.html %}
</div>
</div>
</div>
<div class="Extend d-none">
{% include nav-overlay.html %}
</div>
{%- endif %}