-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscrap code
16 lines (14 loc) · 1.18 KB
/
scrap code
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<nav class="py-6 px-6 flex justify-between items-center border-b border-gray-200">
<a href="/" class="text-xl font-semibold">Benny's_Marketplace</a>
<div class="space-x-6">
<a href="{% url 'item:new' %}" class="text-lg font-semibold hover:text-gray-500">New item</a>
<a href="{% url 'item:items' %}" class="text-lg font-semibold hover:text-gray-500">Browse</a>
{% if request.user.is_authenticated %}
<a href="{% url 'conversation:inbox' %}" class="px-6 py-3 text-lg font-semibold bg-teal-500 text-white rounded-xl hover:bg-teal-700">Inbox</a>
<a href="{% url 'dashboard:index' %}" class="px-6 py-3 text-lg font-semibold bg-gray-500 text-white rounded-xl hover:bg-gray-700">Dashboard</a>
{% else %}
<a href="{% url 'core:signup' %}" class="px-6 py-3 text-lg font-semibold bg-teal-500 text-white rounded-xl hover:bg-teal-700">Sign up</a>
<a href="{% url 'core:login' %}" class="px-6 py-3 text-lg font-semibold bg-gray-500 text-white rounded-xl hover:bg-gray-700">Log in</a>
{% endif %}
</div>
</nav>