Merge pull request 'Add_Git_Notification' (#23) from Add_Git_Notification into develop

Reviewed-on: #23
This commit is contained in:
neintonine 2024-11-12 19:05:05 +00:00
commit bd47dda496
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>
</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>
</html>

View file

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