Skip to content
Snippets Groups Projects
Commit 0c5b9d33 authored by OndraRehounek's avatar OndraRehounek Committed by jan.bednarik
Browse files

increase homepage video

parent f8c7a867
No related branches found
No related tags found
2 merge requests!505Release,!503[ADD] fourth amount, update widgets
......@@ -10,7 +10,7 @@
<div class="container">
<div class="row align-items-center">
<div class="col-12 col-lg-7 mb-4 mb-lg-0 py-4 text-center text-md-left">
<div class="col-12 col-lg-6 mb-4 mb-lg-0 py-4 text-center text-md-left">
<h1 class="lead homepage-heading">{{ page.lead_title }}</h1>
<p class="lead mb-4">{{ page.lead_body }}</p>
<div class="row align-items-center">
......@@ -23,11 +23,11 @@
</div> <!-- /row -->
</div><!-- /column -->
<div class="col-12 col-lg-5 pl-xl-5 text-center">
<div class="col-12 col-lg-6 text-center">
{% image page.lead_preview width-500 as lead_preview %}
{% if page.lead_video %}
<a data-fancybox="" href="{{ page.lead_video }}" title="Přehrát video">
<img class="img-fluid lazyload" data-src="{{ lead_preview.url }}" alt="Náhled videa">
<img class="img-fluid lazyload w-100" data-src="{{ lead_preview.url }}" alt="Náhled videa">
</a>
{% else %}
<img class="img-fluid lazyload" data-src="{{ lead_preview.url }}" alt="Náhled videa">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment