{% extends "base.html.twig" %}
{% block body %}
<!-- Page Title -->
<section class="page-title bg-transparent">
<div class="container">
<div class="page-title-row">
<div class="page-title-content">
<h1>{{ circuit.title }}</h1>
</div>
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item">
<a href="{{ path('frontend_index') }}">Acceuil</a>
</li>
<li class="breadcrumb-item">
<a href="{{ path('frontend_circuit_liste') }}">Circuits</a>
</li>
<li class="breadcrumb-item active" aria-current="page">{{ circuit.title }}</li>
</ol>
</nav>
</div>
</div>
</section>
<!-- .page-title end -->
<!-- Content -->
<section id="content">
<div class="content-wrap bg-light overflow-visible pb-0">
<div class="container">
<div class="single-event">
<div class="row flex-lg-row-reverse gutter-40">
<div class="col-lg-4 position-lg-sticky h-100" style="top: 100px;">
<div class="event-meta bg-white shadow-sm p-4 rounded-4 mb-3">
<h4 class="mb-4 fs-5 fw-semibold">Event Info</h4>
<ul class="mb-0">
<li class="row gx-3 gy-4 mb-4">
<div class="col-auto">
<i class="box-square-sm d-flex align-items-center justify-content-center fa-solid fa-level-up-alt fs-3 color position-relative"></i>
</div>
<div class="col mb-0 op-09 ps-3 fs-6">Difficulté
<br>{{ circuit.difficulty }}
</div>
</li>
<li class="row gx-3 gy-4 mb-4">
<div class="col-auto">
<i class="box-square-sm d-flex align-items-center justify-content-center fa-solid fa-route fs-3 color position-relative"></i>
</div>
<div class="col mb-0 op-09 ps-3 fs-6">Distance
<br>{{ circuit.distance }}
Km</div>
</li>
<li class="row gx-3 gy-4 mb-4">
<div class="col-auto">
<i class="box-square-sm d-flex align-items-center justify-content-center fa-solid fa-clock fs-3 color position-relative"></i>
</div>
<div class="col mb-0 op-09 ps-3 fs-6">Durée
<br>{{ circuit.duration }}
Min</div>
</li>
<li class="row gx-3 gy-4 mb-4">
<div class="col-auto">
<i class="box-square-sm d-flex align-items-center justify-content-center uil-pricetag-alt fs-3 color position-relative"></i>
</div>
<div class="col mb-0 op-09 ps-3 fs-6">Prix avec location vélo
<strong>{{ circuit.priceWithBike }}
DT</strong><br>
Prix sans loaction vélo
<strong>{{ circuit.priceWithoutBike }}
DT</strong></div>
</li>
</ul>
</div>
<div class="d-flex justify-content-end">
<a href="#" class="social-icon si-small border-transparent op-03 h-op-1" data-bs-toggle="tooltip" data-bs-placement="top" title="Share on Facebook">
<i class="fa-brands fa-facebook-f text-dark h-color-facebook m-0"></i>
</a>
<a href="#" class="social-icon si-small border-transparent op-03 h-op-1" data-bs-toggle="tooltip" data-bs-placement="top" title="Share on Twitter">
<i class="fa-brands fa-twitter text-dark h-color-twitter m-0"></i>
</a>
<a href="#" class="social-icon si-small border-transparent op-03 h-op-1" data-bs-toggle="tooltip" data-bs-placement="top" title="Share on LinkedIn">
<i class="fa-brands fa-linkedin text-dark h-color-linkedin m-0"></i>
</a>
<a href="#" class="social-icon si-small border-transparent op-03 h-op-1" data-bs-toggle="tooltip" data-bs-placement="top" title="Send by Email">
<i class="fa-solid fa-envelope text-dark h-color-email m-0"></i>
</a>
<a href="#" class="social-icon si-small border-transparent op-03 h-op-1" data-bs-toggle="tooltip" data-bs-placement="top" title="Copy Link">
<i class="bi-clipboard text-dark h-color m-0"></i>
</a>
</div>
</div>
<div class="event-meta bg-white shadow-sm col-lg-8 " style="font-size: 1.5em;">
<div class="entry-image mb-5">
<a href="#"><img src="{{ asset('uploads/') ~ circuit.image }}" alt="{{ circuit.title }}" class="rounded-4"></a>
</div>
<p>{{ circuit.description | raw }}</p>
<div class="row col-mb-80 mt-5">
{% if circuit.images %}
<div class="col-md-12">
<!-- Events Single Gallery Thumbs -->
<div class="masonry-thumbs row grid-container" data-lightbox="gallery">
{% for i in circuit.images %}
<a class="grid-item" href="{{ asset('uploads/') ~ i }}" data-lightbox="gallery-item">
<img src="{{ asset('uploads/') ~ i }}" alt="Gallery Thumb 1"></a>
{% endfor %}
</div>
<!-- Event Single Gallery Thumbs End -->
</div>
{% endif %}
</div>
</div>
</div>
</div>
</div>
<div class="bg-white w-100 py-4 shadow-sm position-sticky bottom-0 mt-6">
<div class="row align-items-center justify-content-between mx-0 px-2">
<div class="col-auto">
<a href="#" class="d-flex align-items-center justify-content-center">
<i class="fs-2 bi-chevron-left text-black h-color align-middle"></i>
</a>
</div>
<div class="col">
<div class="container px-0">
<div class="row align-items-center justify-content-between mx-0">
<div class="col-auto d-none d-md-block">
<h4 class="fs-5 fw-medium mb-0">{{ circuit.title }}</h4>
</div>
<div class="col-auto ms-md-auto">
Prix avec location vélo
<strong>{{ circuit.priceWithBike }}
DT</strong><br>
Prix sans loaction vélo (J'ai mon vélo)
<strong>{{ circuit.priceWithoutBike }}
DT</strong>
</div>
<div class="col-auto">
<a href="https://app.solibikes.com/#/order/circuit/{{ circuit.alias }}" class="button rounded-4 fw-normal text-center m-0 px-4">Réserver</a>
</div>
</div>
</div>
</div>
<div class="col-auto">
<a href="#" class="d-flex align-items-center justify-content-center">
<i class="fs-2 bi-chevron-right text-black h-color align-middle"></i>
</a>
</div>
</div>
</div>
</div>
</section>
<!-- #content end -->
{% endblock %}
{% block javascripts %}{% endblock %}