Add registration link to header

This commit is contained in:
Ryan Prather 2024-11-30 20:01:54 -05:00
parent 287376d078
commit 89599dda91

View File

@ -13,7 +13,8 @@
</span> </span>
</button> </button>
<div class="collapse navbar-collapse" id="navigation"> <div class="collapse navbar-collapse" id="navigation">
<ul class="navbar-nav mx-auto"> <ul
class="navbar-nav mx-auto">
<!-- @todo only display when logged in --> <!-- @todo only display when logged in -->
{% if app.user %} {% if app.user %}
<li class="nav-item"> <li class="nav-item">
@ -30,6 +31,12 @@
</li> </li>
{% endif %} {% endif %}
{% if not app.user %} {% if not app.user %}
<li class='nav-item'>
<a class='nav-link me-2' href='/index.php/register'>
<i class='fas fa-key opacity-6 text-dark me-1'></i>
Register
</a>
</li>
<li class="nav-item"> <li class="nav-item">
<a class="nav-link me-2" href="/index.php/"> <a class="nav-link me-2" href="/index.php/">
<i class="fas fa-key opacity-6 text-dark me-1"></i> <i class="fas fa-key opacity-6 text-dark me-1"></i>
@ -40,14 +47,14 @@
</ul> </ul>
<ul <ul
class="navbar-nav d-lg-flex d-none"><!-- class="navbar-nav d-lg-flex d-none"><!--
replace with other link replace with other link
<li class="nav-item d-flex align-items-center"> <li class="nav-item d-flex align-items-center">
<a class="btn btn-outline-primary btn-sm mb-0 me-2" target="_blank" href="https://www.creative-tim.com/builder?ref=navbar-material-dashboard">Online Builder</a> <a class="btn btn-outline-primary btn-sm mb-0 me-2" target="_blank" href="https://www.creative-tim.com/builder?ref=navbar-material-dashboard">Online Builder</a>
</li> </li>
<li class="nav-item"> <li class="nav-item">
<a href="https://www.creative-tim.com/product/material-dashboard" class="btn btn-sm mb-0 me-1 bg-gradient-dark">Free download</a> <a href="https://www.creative-tim.com/product/material-dashboard" class="btn btn-sm mb-0 me-1 bg-gradient-dark">Free download</a>
</li> </li>
--> -->
</ul> </ul>
</div> </div>
</div> </div>