-
Notifications
You must be signed in to change notification settings - Fork 22
/
header.html
81 lines (78 loc) · 2.99 KB
/
header.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<header class="site-header">
<div class="site-header__inner">
<div class="site-branding">
<a href="{{ "/" | relative_url }}">
<img src="{{ '/assets/img/MERL-Center-logo.svg' | relative_url }}" alt="MERL Center logo" />
<span class="sr-only">Return to homepage</span>
</a>
</div>
<nav id="site-navigation" class="desktop-navigation">
<ul>
<li{% if page.id == 'about' %} class="is-active"{% endif %}>
<a href="{{ '/about/' | relative_url }}">About</a>
</li>
<li{% if page.id == 'case-studies' %} class="is-active"{% endif %}>
<a href="{{ '/case-studies/' | relative_url }}">Case Studies</a>
</li>
<li{% if page.id == 'guides' %} class="is-active"{% endif %}>
<a href="{{ '/guides/' | relative_url }}">Guides</a>
</li>
<li>
<a href="https://github.com/merlcenter/MERL-Center-public" target="_blank">
<span>View the Repository </span>
{% octicon arrow-up-right height:16 %}
</a>
</li>
</ul>
</nav>
<div class="menu-toggle js-menu-trigger">
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect x="6" y="6" width="16" height="1" fill="white" id="b-top" />
<rect x="2" y="16" width="16" height="1" fill="white" id="b-btm"/>
<rect x="2" y="11" width="20" height="1" fill="white" id="b-md" />
<circle cx="3" cy="6.5" r="1" fill="white"/>
<circle cx="21" cy="16.5" r="1" fill="white"/>
</svg>
<span>Menu</span>
<span>Close</span>
</div>
</div>
<div class="navigation-drawer">
<div>
<ul>
<li{% if page.id == 'home' %} class="is-active"{% endif %}>
<a href="{{ '/' | relative_url }}">Home</a>
</li>
<li{% if page.id == 'about' %} class="is-active"{% endif %}>
<a href="{{ '/about/' | relative_url }}">About</a>
</li>
<li{% if page.id == 'case-studies' %} class="is-active"{% endif %}>
<a href="{{ '/case-studies/' | relative_url }}">Case Studies</a>
</li>
<li{% if page.id == 'guides' %} class="is-active"{% endif %}>
<a href="{{ '/guides/' | relative_url }}">Beginner's Guide</a>
</li>
<li>
<a href="https://github.com/merlcenter/MERL-Center-public" target="_blank">
<span>View the Repository </span>
{% octicon arrow-up-right height:16 %}
</a>
</li>
</ul>
<div class="mobile-utility d-none">
<a class="icon-link" href="">
<span></span>
<svg width="7" height="10" viewBox="0 0 7 10">
<path d="M1.92247 9.75581L6.67831 4.99997L1.92247 0.244141L0.744141 1.42247L4.32164 4.99997L0.744141 8.57747L1.92247 9.75581Z" fill="white"/>
</svg>
</a>
<a class="btn" href="">
<span></span>
<svg width="7" height="10" viewBox="0 0 7 10">
<path d="M1.92247 9.75581L6.67831 4.99997L1.92247 0.244141L0.744141 1.42247L4.32164 4.99997L0.744141 8.57747L1.92247 9.75581Z" fill="white"/>
</svg>
</a>
</div>
</div>
</div>
</header>