Move all files to sculpin/
This commit is contained in:
parent
c5d71803a5
commit
0f61b4e9ee
1514 changed files with 0 additions and 0 deletions
19
sculpin/source/_includes/button.html.twig
Normal file
19
sculpin/source/_includes/button.html.twig
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{% set classes = [
|
||||
'my-4 not-prose',
|
||||
full_width ? 'flex' : 'inline-flex md:w-auto',
|
||||
position == 'center' ? 'flex justify-center',
|
||||
] -%}
|
||||
|
||||
<div class="{{ classes|join(' ') }}">
|
||||
<a class="inline-flex gap-2 justify-center items-center py-3 px-6 w-full text-base font-medium text-white no-underline rounded-md duration-200 ease-in-out hover:bg-white focus:bg-white border-[2px] border-blue-primary bg-blue-primary transition-color dark:hover:border-white hover:text-blue-primary focus:text-blue-primary" href="{{ url }}">
|
||||
<span>
|
||||
{{ text|raw }}
|
||||
</span>
|
||||
|
||||
<span>
|
||||
<svg class="size-3" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" d="M17.25 8.25 21 12m0 0-3.75 3.75M21 12H3" />
|
||||
</svg>
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue