forked from a64f7bb4-7358-4778-9fbe-3b882c34cc1d/v1
39 lines
1.1 KiB
Twig
39 lines
1.1 KiB
Twig
{#
|
|
/**
|
|
* @file
|
|
* Theme override to display a node.
|
|
*/
|
|
#}
|
|
|
|
<div{{ attributes.addClass('pricing-table') }}>
|
|
{{ title_prefix }}
|
|
{{ title_suffix }}
|
|
<div class="pricing {{ node.field_pricing_table_type.value }}">
|
|
<div class="text-center pricing-wrap">
|
|
<div class="pricing-header">
|
|
<div class="pricing-amount">
|
|
<div class="number pricing-currency">{{ node.field_pricing_currency.value }}</div>
|
|
<div class="number pricing-price">{{ node.field_pricing_price.value }}</div>
|
|
{% if content.field_pricing_duration | render %}
|
|
<div class="pricing-duration">{{ node.field_pricing_duration.value }}</div>
|
|
{% endif %}
|
|
</div>
|
|
<h4 class="pricing-name">{{ label }}</h4>
|
|
</div>
|
|
|
|
<div class="pricing-content">
|
|
{% if content.body | render %}
|
|
<div class="text-sm pricing-body">{{ content.body }}</div>
|
|
{% endif %}
|
|
{% if content.field_pricing_feature | render %}
|
|
<div class="pricing-features">
|
|
{{ content.field_pricing_feature }}
|
|
</div>
|
|
{% endif %}
|
|
<div class="pricing-btn">
|
|
<a href="{{ content.field_link.0['#url'] }}" class="button">{{ content.field_link.0['#title'] }}</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div> |