2018-09-10 09:21:59 +00:00
|
|
|
<header id="header" class="header">
|
2018-11-06 06:32:15 +00:00
|
|
|
<%/* Nav menu for desktop */%>
|
2018-11-08 01:57:15 +00:00
|
|
|
<nav id="main-nav" class="main-nav">
|
2018-11-01 01:35:09 +00:00
|
|
|
<% for (let i in theme.menu) { %>
|
2018-09-10 09:21:59 +00:00
|
|
|
<a class="main-nav-link" href="<%- url_for(theme.menu[i]) %>"><%= i %></a>
|
|
|
|
<% } %>
|
2018-11-11 06:25:13 +00:00
|
|
|
|
|
|
|
<div class="searchContainer">
|
2019-06-07 09:09:51 +00:00
|
|
|
<form id="searchForm" method="post" action="https://duckduckgo.com/" target="_blank">
|
|
|
|
<input type="text" name="q" class="searchBox" id="searchTxt" placeholder="Search..." title="Search using DuckDuckGo">
|
|
|
|
<input type="hidden" name="kd" value="-1">
|
|
|
|
<input type="hidden" name="kg" value="p">
|
|
|
|
<input type="hidden" name="kae" value="#000">
|
|
|
|
<a class="searchBtn no-underline" id="searchClick">
|
2019-05-21 04:07:10 +00:00
|
|
|
<svg viewBox="0 0 512 512">
|
2019-06-07 09:09:51 +00:00
|
|
|
<title>Search using DuckDuckGo</title>
|
2019-05-21 04:07:10 +00:00
|
|
|
<desc>Search icon</desc>
|
|
|
|
<use href="/svg/search.svg#search"/>
|
|
|
|
</svg>
|
|
|
|
</a>
|
2019-06-07 09:09:51 +00:00
|
|
|
</form>
|
2018-11-11 06:25:13 +00:00
|
|
|
</div>
|
2018-09-10 09:21:59 +00:00
|
|
|
</nav>
|
2018-11-06 06:32:15 +00:00
|
|
|
<%/* Nav menu for mobile */%>
|
|
|
|
<nav class="mobile-nav">
|
2019-06-05 03:45:51 +00:00
|
|
|
<h1 class="nickname"><a href="<%- url_for(theme.menu['Home']) %>"><%= theme.nickname %></a></h1>
|
2018-11-08 01:41:23 +00:00
|
|
|
<ul class="mobile-nav-menu">
|
2018-11-12 10:13:32 +00:00
|
|
|
<label for="mobile-menu-toggle"><a class="no-underline">☰ Menu</a></label>
|
2018-11-08 01:41:23 +00:00
|
|
|
<input id="mobile-menu-toggle" type="checkbox"/>
|
|
|
|
<ul class="mobile-nav-link">
|
2019-06-01 09:21:51 +00:00
|
|
|
<div class="searchContainer">
|
2019-06-07 09:09:51 +00:00
|
|
|
<form id="searchFormMob" method="post" action="https://duckduckgo.com/" target="_blank">
|
|
|
|
<input type="text" name="q" class="searchBox" id="searchTxtMob" placeholder="Search..." title="Search using DuckDuckGo">
|
|
|
|
<input type="hidden" name="kd" value="-1">
|
|
|
|
<input type="hidden" name="kg" value="p">
|
|
|
|
<input type="hidden" name="kae" value="#000">
|
|
|
|
<a class="searchBtn no-underline" id="searchClickMob">
|
2019-06-01 09:21:51 +00:00
|
|
|
<svg viewBox="0 0 512 512">
|
2019-06-07 09:09:51 +00:00
|
|
|
<title>Search using DuckDuckGo</title>
|
2019-06-01 09:21:51 +00:00
|
|
|
<desc>Search icon</desc>
|
|
|
|
<use href="/svg/search.svg#search"/>
|
|
|
|
</svg>
|
|
|
|
</a>
|
2019-06-07 09:09:51 +00:00
|
|
|
</form>
|
2019-06-01 09:21:51 +00:00
|
|
|
</div>
|
|
|
|
<p><br></p>
|
|
|
|
<% for (let i in theme.menu) { %>
|
|
|
|
<a class="mobile-nav-link-a" href="<%- url_for(theme.menu[i]) %>"><%= i %></a>
|
|
|
|
<% } %>
|
2018-11-06 06:32:15 +00:00
|
|
|
</ul>
|
|
|
|
</ul>
|
|
|
|
</nav>
|
2018-09-10 09:21:59 +00:00
|
|
|
</header>
|