Add the logout item to the navbar and the footer.

This commit is contained in:
2024-04-18 16:47:08 +03:00
parent 16d8e1f140
commit 69ef4e3069
3 changed files with 26 additions and 10 deletions
+5
View File
@@ -7,6 +7,11 @@
<li>
<a href="/about" class="mr-4 hover:underline md:mr-6 ">About</a>
</li>
{{#if authorized }}
<li>
<a href="/logout" class="mr-4 hover:underline md:mr-6 ">Logout</a>
</li>
{{/if}}
</ul>
<span class="text-sm text-gray-500 sm:text-center dark:text-gray-400">Copyright © 2024 Kostiantyn Klochko. All Rights Reserved.</span>
</div>
+5
View File
@@ -17,6 +17,11 @@
<li>
<a href="/about" class="{{ navbar-item-style url '/about'}}">About</a>
</li>
{{#if authorized }}
<li>
<a href="/logout" class="{{ navbar-item-style url '/logout'}}">Logout</a>
</li>
{{/if}}
</ul>
</div>
</div>