Working on sidebar.php to be in navbar, first attempt.

This commit is contained in:
2026-09-01 14:43:36 -05:00
parent 02a800232c
commit 76338962c9
5 changed files with 13 additions and 1 deletions
Regular → Executable
+4 -1
View File
@@ -1,5 +1,5 @@
<?php
$current = basename($_SERVER['PHP_SELF']);
$current = basename($_SERVER['SCRIPT_NAME']);
$menu_items = [
'index.php' => ['Home', 'logo.png'],
'alchemyIngredientPage.php' => ['Alchemy', 'alchemy.png'],
@@ -12,6 +12,9 @@ $menu_items = [
?>
<header class="site-header">
<button id="sidebar-toggle" class="toggle-btn" aria-label="Toggle Sidebar">
☰
</button>
<nav class="navbar" aria-label="Profession Navigation">
<ul class="navbar__list">
<?php foreach ($menu_items as $file => $info): ?>