{% extends "layout/frontend.html.twig"%}
{% block body %}
<div id="carouselSlideMain" class="carousel slide w-100 h-100 miau" data-ride="carousel">
<div class="carousel-inner w-100 h-100">
{% for image in images %}
<div class="carousel-item {% if loop.first %} active {% endif %} w-100 h-100">
<div class="w-100 h-100" style="background-image:url('{{asset('/slider/')}}{{image.sliderImage}}');background-repeat:no-repeat;background-size:cover;background-position: 50% 50%;top: -2px;left: -2px;right: -2px;bottom: -2px;"></div>
<div style="bottom: 40px;" class="z-index-1 p-absolute w-100 justify-content-end align-items-end text-left row mx-0">
<div class="col-md-6 offset-md-6 text-left" style="">
{% if image.sliderText %}
<h1 class="text-white mb-0">PRO></h1>
<h1 class="text-white">{{image.sliderText}}</h1>
{% endif %}
</div>
</div>
</div>
{% endfor %}
</div>
</div>
{% endblock %}
{% block javascripts %}
<script>
$('#carouselSlideMain').carousel({
interval: 3000,
pause: "false"
})
</script>
{% endblock %}