Update front page
This commit is contained in:
parent
9db197f600
commit
5fa9563021
2 changed files with 48 additions and 2 deletions
|
@ -1,5 +1,11 @@
|
|||
<div class="my-4 not-prose {{ position == 'centre' ? 'flex justify-center' }}">
|
||||
<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 md:w-auto 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 }}">
|
||||
{% 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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue