Files
RangelDigital/rangeldigital/fixtures/web_template_large_heading_section_1.json
2025-02-13 02:06:07 -08:00

39 lines
1.3 KiB
JSON

{
"doctype": "Web Template",
"name": "Large Heading Section - 1",
"module": "Website",
"type": "Component",
"template": "<section class=\"rd-large-heading-section-one\" {% if padding_top %} style=\"padding-top: {{ padding_top }};\" {% endif %} {% if padding_bottom %} style=\"padding-bottom: {{ padding_bottom }};\" {% endif %}><div class=\"container text-center\"><h2 class=\"rd-heading\">{% set words = heading.split(' ') %}{% for word in words %}{% if loop.index == highlight_word_number %}<span class=\"text-gradient-1\">{{ word }}</span>{% else %}{{ word }}{% endif %} {% endfor %}</h2></div></section>",
"fields": [
{
"fieldname": "heading",
"fieldtype": "Data",
"label": "Heading",
"reqd": 0
},
{
"fieldname": "highlight_word_number",
"fieldtype": "Int",
"label": "Highlight Word Number",
"reqd": 0
},
{
"fieldname": "padding_top",
"fieldtype": "Data",
"label": "Padding Top",
"reqd": 0
},
{
"fieldname": "padding_bottom",
"fieldtype": "Data",
"label": "Padding Bottom",
"reqd": 0
}
],
"owner": "Administrator",
"created_by": "Administrator",
"modified": "2024-08-12 14:30:14",
"standard": 0
}