Add the logout item to the navbar and the footer.
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user