Remove nuxt + 100 other things..
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<nav
|
||||
class="nav bg-teal-700 shadow-md flex items-center justify-between px-4"
|
||||
>
|
||||
<a href="/" class="text-2xl text-gray-800 font-bold">SimpleNotes</a>
|
||||
<ul>
|
||||
{% if user %}
|
||||
<li class="inline text-gray-800 ml-2 text-md font-semibold">
|
||||
<a href="/notes">Notes</a>
|
||||
</li>
|
||||
<li class="inline text-gray-800 ml-2 text-md font-semibold bg-green-500 hover:bg-green-700 rounded px-4 py-2">
|
||||
<form class="inline" action="/logout" method="post">
|
||||
<button type="submit">Logout</button>
|
||||
</form>
|
||||
</li>
|
||||
{% else %}
|
||||
<li class="inline text-gray-800 pl-2 text-md font-semibold">
|
||||
<a href="/login">Sign In</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
</nav>
|
||||
Reference in New Issue
Block a user