Make menu-bar logo link to home

This commit is contained in:
Fred Boniface 2022-10-19 12:14:02 +01:00
parent c9f5313f91
commit df7c9c44c3

View File

@ -19,14 +19,16 @@
<div id="menubar"> <div id="menubar">
<script src="/js/navbar.js"></script> <script src="/js/navbar.js"></script>
<div id="menubar_logo"> <div id="menubar_logo">
<picture> <a href="/">
<source media="(min-width: 270px)" srcset="/images/logo/full-20.jxl" type="image/jxl"> <picture>
<source media="(min-width: 270px)" srcset="/images/logo/full-20.webp" type="image/webp"> <source media="(min-width: 270px)" srcset="/images/logo/full-20.jxl" type="image/jxl">
<source media="(min-width: 270px)" srcset="/images/logo/full-20.png" type="image/png"> <source media="(min-width: 270px)" srcset="/images/logo/full-20.webp" type="image/webp">
<source media="(max-width: 270px)" srcset="/images/logo/short-20.jxl" type="image/jxl"> <source media="(min-width: 270px)" srcset="/images/logo/full-20.png" type="image/png">
<source media="(max-width: 270px)" srcset="/images/logo/short-20.png" type="image/png"> <source media="(max-width: 270px)" srcset="/images/logo/short-20.jxl" type="image/jxl">
<img src="/images/logo/full-20.png" alt="Fred Boniface logo"> <source media="(max-width: 270px)" srcset="/images/logo/short-20.png" type="image/png">
</picture> <img src="/images/logo/full-20.png" alt="Fred Boniface logo">
</picture>
</a>
</div> </div>
<div id="menubar_hamburger"> <div id="menubar_hamburger">
<button id="sidebar_open_short" onclick="sidebarOpen()">&#9776;</button> <button id="sidebar_open_short" onclick="sidebarOpen()">&#9776;</button>