refactor: extract a component for a link button
This commit is contained in:
parent
4ad11a6963
commit
d110b5fe78
2 changed files with 11 additions and 1 deletions
6
source/_includes/link-button.html.twig
Normal file
6
source/_includes/link-button.html.twig
Normal 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>
|
Loading…
Add table
Add a link
Reference in a new issue