Revert "Add focus state for nav links"

This reverts commit 8a660fade0.
This commit is contained in:
Oliver Davies 2021-10-05 09:29:42 +01:00
parent 8a660fade0
commit 2049d3cab5

View file

@ -21,7 +21,7 @@
<nav class="flex items-center mt-4 space-x-6 md:mt-0 md:flex-row">
{% for item in site.menus.main %}
{% set is_active = page.url matches '#' ~ item.is_active ~ '#' %}
<a class="text-black dark:text-white border-b-3 py-2 hover:border-gray-300 focus:border-gray-300 {{ is_active ? 'border-blue-primary dark:border-blue-400' : 'border-transparent' }}" href="{{ item.href }}">{{ item.title }}</a>
<a class="text-black dark:text-white border-b-3 py-2 hover:border-gray-300 {{ is_active ? 'border-blue-primary dark:border-blue-400' : 'border-transparent' }}" href="{{ item.href }}">{{ item.title }}</a>
{% endfor %}
</nav>
</div>