add admin nav link

This commit is contained in:
Yisroel Baum 2026-05-03 19:18:44 +03:00
parent a62b8763f0
commit a6f7abe2fd
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9
5 changed files with 30 additions and 0 deletions

View file

@ -14,6 +14,8 @@
<a class="btn btn-secondary" href="/home" id="back">
Back to Home
</a>
<a id="admin-link" class="btn btn-secondary"
href="/admin" hidden>Admin</a>
<button id="logout" class="btn btn-danger">Logout</button>
</div>
</div>
@ -33,6 +35,7 @@
</form>
</main>
<script src="/js/auth.js"></script>
<script src="/js/nav.js"></script>
<script src="/js/userTexts.js"></script>
</body>
</html>