{% extends 'base.html.twig' %}
{% block stylesheets %}
{{ parent() }}
<link rel="stylesheet" href="{{ asset('css/collections-page.css') }}??v=26-01-2024-1" type="text/css">
<link rel="stylesheet" href="{{ asset('css/collections-tours.css') }}??v=26-01-2024-1" type="text/css">
<link rel="stylesheet" href="{{ asset('css/rating-list.css') }}??v=26-01-2024-1" type="text/css">
<style>
.sitemap-list {
list-style: none;
-webkit-padding-start: 0;
-webkit-column-count: 3;
-moz-column-count: 3;
column-count: 3;
-webkit-column-gap: 30px;
-moz-column-gap: 30px;
column-gap: 30px;
margin-top: 0;
width: 100%;
}
.sitemap-item {
float: none;
width: auto;
position: relative;
-webkit-column-break-inside: avoid;
page-break-inside: avoid;
break-inside: avoid;
font-size: 16px;
line-height: 1.75 !important;
}
.pagination {
display: flex;
flex-wrap: wrap;
width: 100%;
justify-content: center;
margin-top: 32px;
gap: 16px;
}
.pagination-item {
cursor: pointer;
width: 32px;
height: 32px;
border-radius: 5px;
background-color: #ededee;
display: flex;
justify-content: center;
align-items: center;
font-size: 15px;
font-weight: 500;
color: #25292c;
text-decoration: none !important;
}
.pagination-item:hover {
background-color: #dddee0;
color: #0d0f10;
}
.pagination-item.active {
background-color: #0072ed !important;
color: #fff !important;
}
@media (max-width: 767px) {
.sitemap-list {
-webkit-column-count: 2;
-moz-column-count: 2;
column-count: 2;
}
}
@media (max-width: 480px) {
.sitemap-list {
-webkit-column-count: 1;
-moz-column-count: 1;
column-count: 1;
}
}
</style>
{% endblock %}
{% block body %}
<div class="container">
<div class="collections-page_row">
<div class="sitemap-list">
{% for hotel in data.hotels %}
<div class="sitemap-item">
<a href="{{ path('app_hotel', { hotelId: hotel.id, hotelSlug: hotel.slug }) }}" class="sitemap-link">
{{ hotel.name }} {{ hotel.stars }}
</a>
</div>
{% endfor %}
</div>
<div class="pagination">
{% for i in 1..data.pages %}
<a href="{{ path('app_hotel_sitemaps', { page: i }) }}"
class="pagination-item {% if i == app.request.get('page') %}active{% endif %}">
{{ i }}
</a>
{% endfor %}
</div>
</div>
</div>
{% endblock %}