Remove index.php from link to homepage take users to /

This commit is contained in:
Fred Boniface 2022-09-20 21:29:47 +01:00
parent f6059c9390
commit c7a489e0ac

View File

@ -5,7 +5,7 @@ echo '<div id="menu-button" class="menu-button">';
echo '<img onclick="openMenu()" src="/assets/icons/menu.png"></img>'; echo '<img onclick="openMenu()" src="/assets/icons/menu.png"></img>';
echo '</div>'; echo '</div>';
echo '<div id="menu" class="menu">'; echo '<div id="menu" class="menu">';
echo '<a href="/index.php" class="menuitem" onclick="closeMenu()"">Home</a>'; echo '<a href="/" class="menuitem" onclick="closeMenu()"">Home</a>';
echo '<a href="/issue.php" class="menuitem" onclick="closeMenu()"">Report Issue</a>"'; echo '<a href="/issue.php" class="menuitem" onclick="closeMenu()"">Report Issue</a>"';
echo '<a href="/help.php" class="menuitem" onclick="closeMenu()"">Help</a>'; echo '<a href="/help.php" class="menuitem" onclick="closeMenu()"">Help</a>';
echo '<img class="menu-button" onclick="closeMenu()" class="popup-close" src="/assets/icons/close-circle.png"></img>'; echo '<img class="menu-button" onclick="closeMenu()" class="popup-close" src="/assets/icons/close-circle.png"></img>';