update home section 4
This commit is contained in:
16
templates/shortcodes/center_text.html
Normal file
16
templates/shortcodes/center_text.html
Normal file
@@ -0,0 +1,16 @@
|
||||
{% set title = title | default(value="Built") %}
|
||||
{% set description = description | default(value="") %}
|
||||
{% set button_text = button_text | default(value="") %}
|
||||
{% set button_link = button_link | default(value="") %}
|
||||
|
||||
|
||||
<div class="text-center mx-auto max-w-7xl px-4 lg:px-8">
|
||||
<div class="mx-auto max-w-2xl px-4 lg:max-w-7xl lg:px-8">
|
||||
<h2 class="mx-auto fade-in">{{ title}}</h2>
|
||||
<p class="my-6 mx-auto max-w-3xl text-pretty lg:text-xl text-lg font-light text-gray-200 fade-in">
|
||||
{{ description }}
|
||||
</p>
|
||||
{% if button %}
|
||||
<a href="{{ button_link }}" class="blinking-effect fade-in lg:text-xl text-lg font-semibold text-white hover:text-gray-400">{{ button_text }} <span aria-hidden="true">→</span></a>
|
||||
{% endif %}
|
||||
</div>
|
||||
Reference in New Issue
Block a user