grav-theme-libretic/templates/modular/text.html.twig
Olivier Navas 17bb11854e - Several modifications of template files for Libretic's web site
- Addition of prerequisites files for scss modifications
- Update of Fontawesome font
- Update of NovecentoSans font for latin characters
- Integration of Pacifico font in the theme instead of dynamically downloading from some google web site
- Removal of some unuseful font files
2022-05-14 19:43:00 +02:00

61 lines
2.5 KiB
Twig

<div class="modular-row callout">
{{ content|raw }}
{% if page.header.pricing %}
<div class="pricing-container">
{% for item in page.header.pricing %}
<div class="pricing-item">
<div class="name">{{ item.name }}</div>
<div class="price">{{ item.price|raw }}</div>
{% for line in item.options %}
<div class="info">
{{ line }}
</div>
{% endfor %}
<div class="foot">
<a class="button" href="{{ item.button_url }}">{{ item.button_text }}</a>
</div>
</div>
{% endfor %}
</div>
{% endif %}
{% if page.header.portfolio %}
<div class="notebooks">
{% for portfolio in page.header.portfolio %}
<div class="notebook">
<a href="#portfolioModal{{ portfolio.modalid }}" class="portfolio-link" data-toggle="modal">
<div class='screen'><div class="screen-content" style="background-image: url({{ page.media[portfolio.image].url }})" ></div><div class="screen-content-hover"><i class="fa fa-plus-square"></i></div></div>
</a>
<div class='keyboard'></div>
<h4>{{ portfolio.title }}</h4>
</div>
{% endfor %}
</div>
{% endif %}
</div>
<div class="callout-line"></div>
{% for portfolio in page.header.portfolio %}
<div class="portfolio-modal modal" id="portfolioModal{{ portfolio.modalid }}" tabindex="-1" role="dialog" aria-hidden="true">
<div class="modal-content">
<div class="close-modal" data-dismiss="modal"><i class="fa fa-times"></i></div>
<div class="modal-body">
<h1>{{ portfolio.title }}</h1>
<div class="square">
<a href="{{ portfolio.url }}">
<img src="{{ page.media[portfolio.image].url }}" class="img-responsive img-centered" alt="{{ portfolio.alt }}">
</a>
<p align="left">{{ portfolio.desc[0] }}</p>
</div>
<ul class="client-details">
<li>
<strong><a href="{{ portfolio.url }}">{{ portfolio.url }}</a></strong>
</li>
</ul>
<button type="button" class="button" data-dismiss="modal"><i class="fa fa-times"></i> Close</button>
</div>
</div>
</div>
{% endfor %}