<section class="image-blocks image-blocks-header"> <div class="section-header best_sale_header" style="background-image:url({{ asset('HotelImages/179891.jpg') }})"> <div class="container"> <h2 class="title"><span>{{ 'Our'|trans }}</span> {{ 'Best apartments'|trans }} <a href="{{ url('rooms') }}" class="btn btn-sm btn-clean-dark">{{ 'View all'|trans }}</a></h2> <p> {{ 'Comfort and coziness.'|trans}} </p> </div> </div> <div class="container"> {% for key, room in specialRooms %} <div class="blocks blocks-{% if loop.index is divisible by(2) %}right{% else %}left{% endif %}"> <div class="item"> <div class="text"> <!-- === room info === --> <h2 class="title">{{ room.name|trans }}</h2> <p> {{ room.description|slice(0, 200) ~ '...' }} </p> <!-- === room facilities === --> <div class="room-facilities clearfix"> {% if room.properties.air_conditioning %} <div class="col-xs-6 col-sm-2"> <figure> <figcaption> <span class="hotelicon hotelicon-air-condition"></span> <p>{{ 'Aircondition'|trans }}</p> </figcaption> </figure> </div> {% endif %} {% if room.properties.king_size_bed %} <div class="col-xs-6 col-sm-2"> <figure> <figcaption> <span class="hotelicon hotelicon-king-bed"></span> <p>{{ 'Kingsize bed'|trans }}</p> </figcaption> </figure> </div> {% endif %} {% if room.properties.breakfast %} <div class="col-xs-6 col-sm-2"> <figure> <figcaption> <span class="hotelicon hotelicon-dining"></span> <p>{{ 'Breakfast'|trans }}</p> </figcaption> </figure> </div> {% endif %} <div class="col-xs-6 col-sm-2"> <figure> <figcaption> <span class="hotelicon hotelicon-guest"></span> {% if room.properties.persons == 1 %} <p>{{ room.properties.persons }} {{ 'Person'|trans }}</p> {% elseif room.properties.persons in [2,3,4] %} <p>{{ room.properties.persons }} {{ 'Peoples'|trans }}</p> {% else %} <p>{{ room.properties.persons }} {{ 'People'|trans }}</p> {% endif %} </figcaption> </figure> </div> {% if room.properties.wi_fi %} <div class="col-xs-6 col-sm-2"> <figure> <figcaption> <span class="hotelicon hotelicon-wifi"></span> <p>{{ 'Internet'|trans }}</p> </figcaption> </figure> </div> {% endif %} {% if room.properties.tv %} <div class="col-xs-6 col-sm-2"> <figure> <figcaption> <span class="hotelicon hotelicon-tv"></span> <p>TV</p> </figcaption> </figure> </div> {% endif %} {% if room.properties.swimming_pool %} <div class="col-xs-6 col-sm-2"> <figure> <figcaption> <span class="hotelicon hotelicon-pool"></span> <p>{{ 'Swimming pool'|trans }}</p> </figcaption> </figure> </div> {% endif %} {% if room.properties.room_service %} <div class="col-xs-6 col-sm-2"> <figure> <figcaption> <span class="hotelicon hotelicon-roomservice"></span> <p>{{ 'Room service'|trans }}</p> </figcaption> </figure> </div> {% endif %} <div class="col-xs-6 col-sm-2"> <figure> <figcaption> <span class="hotelicon hotelicon-parking"></span> <p>{{ 'Free parking'|trans }}</p> </figcaption> </figure> </div> </div> <!-- === booking === --> <div class="book"> <div> <a href="#" class="btn btn-danger btn-lg">{{ 'Book'|trans }}</a> </div> <div> <span class="price h2">{{ room.formated_price }}</span> {% if room.min_rental_days > 1 %} <span>{{ 'per'|trans }} {{ room.min_rental_days }} {{ 'nights'|trans }}</span> {% else %} <span>{{ 'per'|trans }} {{ room.min_rental_days }} {{ 'night'|trans }}</span> {% endif %} </div> </div> <!--/booking--> </div><!--/text--> </div> <!--/item--> <div class="image" style="background-image:url({{ asset(room.photo) }})"> <img src="{{ asset(room.photo) }}" alt="{{ room.name }}" /> </div> </div> {% endfor %} </div> <!--/container--></section>