refactor: extract a component for a link button

This commit is contained in:
Oliver Davies 2022-02-27 00:00:52 +00:00
parent 4ad11a6963
commit d110b5fe78
2 changed files with 11 additions and 1 deletions

View file

@ -0,0 +1,6 @@
<a
class="inline-flex items-center px-6 py-3 text-base font-medium rounded-md bg-blue-primary text-white no-underline hover:bg-white hover:text-blue-primary focus:bg-white focus:text-blue-primary transition-color ease-in-out duration-200"
href="{{ href }}"
>
{% block text '' %}
</a>