This repository has been archived on 2023-08-24. You can view files and clone it, but cannot push or open issues or pull requests.
athena.fb-infra.uk/page-blocks/nav-menu.php

13 lines
596 B
PHP
Raw Permalink Normal View History

2022-09-20 19:41:47 +01:00
<?php
echo '<script src="/js/nav.js" async></script>';
echo '<div id="menu-button" class="menu-button">';
echo '<img onclick="openMenu()" src="/assets/icons/menu.png"></img>';
2022-09-20 20:24:05 +01:00
echo '</div>';
echo '<div id="menu" class="menu">';
echo '<a href="/" class="menuitem" onclick="closeMenu()"">Home</a>';
2022-09-20 21:05:48 +01:00
echo '<a href="/issue.php" class="menuitem" onclick="closeMenu()"">Report Issue</a>"';
echo '<a href="/help.php" class="menuitem" onclick="closeMenu()"">Help</a>';
2022-09-20 21:07:28 +01:00
echo '<img class="menu-button" onclick="closeMenu()" class="popup-close" src="/assets/icons/close-circle.png"></img>';
2022-09-20 20:24:05 +01:00
echo '</div>';