-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathheader.html
66 lines (65 loc) · 3.72 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
<!DOCTYPE html>
<html lang='en'>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="keywords" content="megamek, mekhq, megameklab" />
<meta property="og:image" content="{{ site.url }}/assets/images/icons/megamek.png" />
<meta property="og:site_name" content="MegaMek" />
<meta property="og:type" content="object" />
<meta name="twitter:image" content="{{ site.url }}/assets/images/megamek_splash_spooky_hd.png">
<link rel="apple-touch-icon-precomposed" sizes="57x57" href="/assets/images/icons/favicon-apple-touch-114.png">
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="/assets/images/icons/favicon-apple-touch-114.png">
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="/assets/images/icons/favicon-apple-touch-144.png">
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="/assets/images/icons/favicon-apple-touch-144.png">
<link rel="icon" type="image/vnd.microsoft.icon" sizes="32x32 48x48" href="/assets/images/icons/favicon.ico">
<link rel="icon" sizes="128x128" href="/assets/images/icons/favicon.icns">
<link rel="icon" href="/assets/images/icons/favicon.png" type="image/x-icon">
<link rel="alternate" type="application/atom+xml" title="{{ site.title }}" href="/feed.xml">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.3/css/bootstrap.min.css" integrity="sha512-jnSuA4Ss2PkkikSOLtYs8BlYIeeIK1h99ty4YfvRPAlzr377vr3CXDb7sb7eEEBYjDtcYj+AjBH3FLv5uSJuXg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css" integrity="sha512-DTOQO9RWCH3ppGqcWaEA1BIZOC6xxalwEsw9c2QQeAIftl+Vegovlnee1c9QX4TctnWMn13TZye+giMm8e2LwA==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<link href="{{ '/assets/css/mmsite.css' | relative_url }}" rel="stylesheet">
<link href="{{ '/assets/css/syntax.css' | relative_url }}" rel="stylesheet">
{% seo %}
</head>
<body>
<header>
<nav class="navbar transparent navbar-expand-lg fixed-top">
<div class='container'>
<a class="navbar-brand" href="{{ site.url }}">
<img src="{{ '/assets/images/icons/mm_word_logo.png' | relative_url }}" height="35" alt="MegaMek Logo">
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto me-auto">
{% for menu_page in site.data.menu_pages %}
{% if menu_page.name == page.title %}
<a class="nav-item nav-link active" href="{{ menu_page.address | relative_url }}">{{ menu_page.name}}</a>
{% else %}
<a class="nav-item nav-link" href="{{ menu_page.address | relative_url }}">{{ menu_page.name}}</a>
{% endif %}
{% endfor %}
</ul>
<ul class="navbar-nav d-flex">
<div class='theme-switch-wrapper text-light nav-item nav-link'>
<label class='theme-switch' for='checkbox'>
<input type='checkbox' id='checkbox' />
<div class='slider round'></div>
</label>
<em>Dark Mode</em>
</div>
</ul>
</div>
</div>
</nav>
</header>
<div class='container'>
<div class='row'>
<div class='col'>
<img src="{{ '/assets/images/mhq_splash.jpeg' | relative_url }}" class='rounded img-fluid mx-auto d-block' />
</div>
</div>
</div>