Add_Git_Notification #23

Merged
neintonine merged 13 commits from Add_Git_Notification into develop 2024-11-12 19:05:06 +00:00
2 changed files with 22 additions and 12 deletions

View file

@ -45,5 +45,16 @@ $resource = $resources->getResource($resourceEntry);
<span class="h1">PROTOTYPE / POC</span> <span class="h1">PROTOTYPE / POC</span>
</div> </div>
<div class="position-fixed bottom-0 start-0 m-3 fs-6">
<a href="https://git.php.fail/neintonine/gamesshop/issues/new" class="nav-link text-muted mb-3">
<i class="fa-solid fa-bug fa-xl me-3"></i>
You found a bug? Please report it.
</a>
<a href="https://git.php.fail/neintonine/gamesshop" class="nav-link text-muted">
<i class="fa-brands fa-git-alt me-3 fa-xl"></i>
Interested to help? Checkout the git repository.
</a>
</div>
</body> </body>
</html> </html>

View file

@ -29,17 +29,13 @@ $currentPermission = $activeUser === null ? UserPermission::NONE : $activeUser->
} }
?> ?>
<li class="nav-link"> <li class="nav-link">
<a href="<?= $header->link ?>" class="nav-link"><?= $header->title ?></a> <a href="<?= $header->link ?>" class="nav-link"><?= $header->title ?></a>
</li> </li>
<?php endforeach; ?> <?php endforeach; ?>
</ul> </ul>
<?= $this->insert('layout/accountDisplay'); ?> <div class="d-flex mode-switch me-4">
</div>
</div>
<div class="d-flex mode-switch me-3">
<button title="Use dark mode" id="dark" class="btn btn-sm btn-default text-secondary"> <button title="Use dark mode" id="dark" class="btn btn-sm btn-default text-secondary">
<i class="fa-regular fa-moon"></i> <i class="fa-regular fa-moon"></i>
</button> </button>
@ -50,4 +46,7 @@ $currentPermission = $activeUser === null ? UserPermission::NONE : $activeUser->
<i class="fa-solid fa-display"></i> <i class="fa-solid fa-display"></i>
</button> </button>
</div> </div>
<?= $this->insert('layout/accountDisplay'); ?>
</div>
</div>
</nav> </nav>