Prep for 1.0
This commit is contained in:
33
menu.php
Normal file
33
menu.php
Normal file
@@ -0,0 +1,33 @@
|
||||
<style>
|
||||
.menu-bar {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
background-color: #333;
|
||||
padding: 10px 0;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.menu-bar a {
|
||||
color: white;
|
||||
text-decoration: none;
|
||||
padding: 10px 20px;
|
||||
font-family: Arial, sans-serif;
|
||||
font-size: 16px;
|
||||
transition: background-color 0.3s;
|
||||
}
|
||||
|
||||
.menu-bar a:hover {
|
||||
background-color: #575757;
|
||||
}
|
||||
|
||||
.menu-bar a.active {
|
||||
background-color: #007bff;
|
||||
font-weight: bold;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div class="menu-bar">
|
||||
<a href="tower.php" class="<?= basename($_SERVER['PHP_SELF']) === 'tower.php' ? 'active' : '' ?>">HOME</a>
|
||||
<a href="upcoming.php" class="<?= basename($_SERVER['PHP_SELF']) === 'upcoming.php' ? 'active' : '' ?>">Future PPRs</a>
|
||||
<a href="admin.php" class="<?= basename($_SERVER['PHP_SELF']) === 'admin.php' ? 'active' : '' ?>">Reports</a>
|
||||
</div>
|
||||
Reference in New Issue
Block a user