-
Notifications
You must be signed in to change notification settings - Fork 0
/
services.twig
38 lines (33 loc) · 1.19 KB
/
services.twig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{% extends "twig/_listing.twig" %}
{% import "twig/partials/_macros.twig" as m %}
{% block stylesheet %}
{# Defer loading of non-critical styles #}
{{ m.stylesheet_inline('dist/css/services-bundle.css') }}
{% endblock %}
{% block scripts %}
{{ m.script('dist/js/services-bundle.js') }}
{% endblock %}
{% block list_item %}
<div class="plan-header">{{ record|title|default }}</div>
<div class="plan-price">
<span class="plan-price-amount">
<span class="plan-price-currency">€</span> {{ record.price|default(0) }}</span></div>
<div class="plan-items">
<div class="plan-item">{{ record.teaser|default }}</div>
{# <div class="plan-item">100 Domains</div>
<div class="plan-item">-</div>
<div class="plan-item">-</div> #}
</div>
<div class="plan-footer">
<a href="{{ record|link|default("#") }}" class="button is-fullwidth">{{ __("Select") }}</a>
</div>
{% endblock %}
{% block records %}
<div class="pricing-table">
{% for record in records %}
<article class="pricing-plan is-primary">
{{ block("list_item") }}
</article>
{% endfor %}
</div>
{% endblock %}