Skip to content

Instantly share code, notes, and snippets.

@ManotLuijiu
Created January 23, 2021 16:50
Show Gist options
  • Save ManotLuijiu/dcc815bd716ace6e220071f69ce5e95b to your computer and use it in GitHub Desktop.
Save ManotLuijiu/dcc815bd716ace6e220071f69ce5e95b to your computer and use it in GitHub Desktop.
Django templates/navbar.html
<header class="text-gray-600 body-font">
<div class="container mx-auto flex flex-wrap p-5 flex-col md:flex-row items-center">
<a href="{% url 'landing_page' %}" class="flex title-font font-medium items-center text-gray-900 mb-4 md:mb-0">
{% load static %}
<img src="{% static 'images/means_logo.svg' %}" alt="means CRM logo" width="30px">
<span class="ml-3 text-xl">Means CRM</span>
</a>
<nav class="md:ml-auto flex flex-wrap items-center text-base justify-center">
<a href="{% url 'leads:lead_list' %}" class="mr-5 hover:text-gray-900">Leads</a>
<a class="mr-5 hover:text-gray-900">Signup</a>
</nav>
<a href="#" class="inline-flex items-center bg-gray-100 border-0 py-1 px-3 focus:outline-none hover:bg-gray-200 rounded text-base mt-4 md:mt-0">Login
<svg fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="w-4 h-4 ml-1" viewBox="0 0 24 24">
<path d="M5 12h14M12 5l7 7-7 7"></path>
</svg>
</a>
</div>
</header>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment