Move subscription plans into a callout
This commit is contained in:
parent
1045e5c85e
commit
25e3fe7514
2 changed files with 85 additions and 72 deletions
26
source/_includes/subscription-plans.html.twig
Normal file
26
source/_includes/subscription-plans.html.twig
Normal file
|
@ -0,0 +1,26 @@
|
|||
{% for plan in plans %}
|
||||
<div>
|
||||
<h3>
|
||||
<strong>
|
||||
{{ plan.name }}:
|
||||
£{{ plan.price|number_format }} per month
|
||||
</strong>
|
||||
</h3>
|
||||
|
||||
<p>{{ plan.tagline }}</p>
|
||||
|
||||
<ul>
|
||||
{% for feature in plan.features|merge(page.features) %}
|
||||
<li>{{ feature }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
<footer class="mt-6">
|
||||
{% include 'button.html.twig' with {
|
||||
text: 'Register now for the ' ~ plan.name|lower ~ ' plan',
|
||||
url: plan.url,
|
||||
withArrow: true,
|
||||
} %}
|
||||
</footer>
|
||||
</div>
|
||||
{% endfor %}
|
Loading…
Add table
Add a link
Reference in a new issue