templates/default/index.html.twig line 1
{% extends 'base.html.twig' %}{% block title %}MOPO - Accueil{% endblock %}{% block body %}<!-- BEGIN #background --><div class="banner"><div class="container"><div class="row"><div class="col-12 d-flex justify-content-center"><img class="mt-3 banner-logo" src="{{ asset('assets/img/logo/logo.png') }}" alt="logo"></div></div></div></div><!-- END #background --><!-- BEGIN #page-container --><div id="page-container" class="fade show"><!-- BEGIN section --><div class="section-container bg-white"><div class="mt-3 mb-5">{% include 'search/search.html.twig' %}</div><!-- BEGIN container --><div class="container"><div class="row"><div class="col-lg-6 col-md-6 col-sm-12"><img class="img-fluid rounded-2 shadow-lg" src="{{ asset('assets/img/background/motos.jpg') }}"alt="motos"></div><div class="col-lg-6 col-md-6 col-sm-12"><h2 class="text-red-600 text-center m-3">Qui sommes-nous ?</h2><p>Fort de notre expérience et de nos années passées en compétition moto.C’est tout naturellement que naît l’entreprise MOPO.<br>Nous vous proposons à la vente des pièces moto d’occasion, vérifiées par nos soins pour vousapporter satisfaction et une utilisation optimale.<br>MOPO se veut une entreprise à l'esprit familial et proche de sa clientèle.<br>Nous avons à cœur de satisfaire nos clients avec des pièces de qualités, mais toujours dansle respect environnemental.<br>Nous vous souhaitons une bonne visite sur notre site !<br><br>N'hésitez pas à prendre contact avec nous si vous avez besoin d'informations complémentaires! Un formulaire vous est mis à disposition dans la rubrique "Contact".</p><div class="d-flex justify-content-center"><a href="{{ path('contact') }}"><button class="custom-btn"><span>Nous contacter</span></button></a></div></div></div></div><!-- END container --></div><!-- END section --><!-- BEGIN section --><div class="section-container bg-gray-300 mt-5"><!-- BEGIN container --><div class="container"><!-- BEGIN section-title --><!-- BEGIN section-title --><h2 class="text-red-600 section-title">Récemment ajoutées</h2><!-- END section-title --><!-- BEGIN category-container --><div class="category-container"><!-- BEGIN category-detail --><div class="category-detail"><!-- BEGIN category-item --><div class="category-item full"><div class="item rounded"><div class="item-cover"><img src="{{ asset("assets/img/background/moto.jpg") }}" alt="moto"/></div></div></div><!-- END category-item --><!-- BEGIN category-item --><div class="category-item list"><!-- BEGIN item-row --><div class="item-row"><!-- BEGIN item -->{% for product in recently_added_products %}<div class="item item-thumbnail border"><a href="{{ path('product_details', {'id': product.id}) }}" class="item-image">{% if product.images is empty %}<img src="{{ asset('assets/img/product/default.png') }}"alt="no image"/>{% else %}<img src="{{ asset('assets/img/product/' ~ product.images[0].imageName) }}"alt="{{ product.images[0].imageName }}"/>{% endif %}</a><div class="item-info border-1"><h4 class="item-title"><a href="{{ path('product_details', {'id': product.id}) }}">{{ product.productName }}</a></h4><p class="item-desc"><strong>Marque:</strong> {{ product.brand }}, <strong>Modèle:</strong> {{ product.model }}, <strong>État:</strong> {{ product.condition }}</p><div class="item-price">{{ product.productPrice }} € TTC</div><p class="item-desc">{{ (product.productPrice / tva)|number_format(2) }}€HT</p></div></div>{% endfor %}<!-- END item --></div><!-- END item-row --></div><!-- END category-item --></div><!-- END category-detail --></div><!-- END category-container --></div><!-- END container --></div><!-- END section --><!-- BEGIN section --><div class="section-container bg-white"><div class="container"><!-- BEGIN section-title --><h2 class="text-red-600 section-title clearfix"><span class="flex-1">Les différentes marques</span><div class="dropdown"><a class="btn btn-outline-red dropdown-toggle" href="#" role="button" id="dropdownMenuLink"data-bs-toggle="dropdown" aria-expanded="false">VOIR PLUS <i class="fa-solid fa-angle-down ms-1"></i></a><ul class="dropdown-menu pt-0 mt-1" aria-labelledby="dropdownMenuLink">{% for brand in brands %}<li><a class="dropdown-item"href="{{ path('brand', {'id': brand.id}) }}">{{ brand.brandName }}</a></li>{% endfor %}</ul></div></h2><!-- END section-title --><div class="row mt-3">{% for logo in brands %}<div class="col-lg-3 col-md-3 col-sm-12 d-flex justify-content-center mt-3"><a href="{{ path('brand', {'id': logo.id}) }}"><div class="card card-zoom shadow-lg" style="width: 15rem;"><img src="{{ asset('assets/img/brand/' ~ logo.brandLogoImage) }}"class="card-img-top brand" alt="{{ logo.brandName }}"></div></a></div>{% endfor %}</div></div></div><!-- END section -->{#<div class="section-container bg-gray-300"><div class="container"><!-- BEGIN section-title --><h2 class="text-red-600 section-title clearfix"><span class="flex-1">Les différentes catégories</span><div class="dropdown"><a class="btn btn-outline-red dropdown-toggle" href="#" role="button" id="dropdownMenuLink"data-bs-toggle="dropdown" aria-expanded="false">VOIR PLUS <i class="fa-solid fa-angle-down ms-1"></i></a><ul class="dropdown-menu pt-0 mt-1" aria-labelledby="dropdownMenuLink"><li><a class="dropdown-item" href="#">Motos classiques</a></li><li><a class="dropdown-item" href="#">Motos routières</a></li><li><a class="dropdown-item" href="#">Motos sportives</a></li><li><a class="dropdown-item" href="#">Lorem ipsum</a></li><li><a class="dropdown-item" href="#">Lorem ipsum</a></li><li><a class="dropdown-item" href="#">Lorem ipsum</a></li><li><a class="dropdown-item" href="#">Lorem ipsum</a></li><li><a class="dropdown-item" href="#">Lorem ipsum</a></li></ul></div></h2><!-- END section-title --></div><div class="container mt-5"><div class="row"><div class="col-lg-4 col-md-4 col-sm-12 d-flex justify-content-center mb-5"><!-- BEGIN CARD --><a href="#" class="card-link"><div class="card card-zoom p-0 col-lg-6 col-sm-12 m-2 border-0 shadow rounded-3 card-overlay"style="width: 13rem; height: 8rem;"><div class="d-flex justify-content-center img-overlay"><img src="{{ asset('assets/img/icon/moto_classique.png') }}" class="card-img-top"alt="moto classique"></div><div class="card-body text-center d-flex justify-content-center card-margin"><p class="uppercase">Motos classiques</p></div></div></a><!-- END CARD --></div><div class="col-lg-4 col-md-4 col-sm-12 d-flex justify-content-center mb-5"><!-- BEGIN CARD --><a href="#" class="card-link"><div class="card card-zoom p-0 col-lg-6 col-sm-12 m-2 border-0 shadow rounded-3 card-overlay"style="width: 13rem; height: 8rem;"><div class="d-flex justify-content-center img-overlay"><img src="{{ asset('assets/img/icon/moto_route.png') }}" class="card-img-top"alt="moto routière"></div><div class="card-body text-center d-flex justify-content-center card-margin"><p class="uppercase">Motos routières</p></div></div></a><!-- END CARD --></div><div class="col-lg-4 col-md-4 col-sm-12 d-flex justify-content-center mb-5"><!-- BEGIN CARD --><a href="#" class="card-link"><div class="card card-zoom p-0 col-lg-6 col-sm-12 m-2 border-0 shadow rounded-3 card-overlay"style="width: 13rem; height: 8rem;"><div class="d-flex justify-content-center img-overlay"><img src="{{ asset('assets/img/icon/moto_sport.png') }}" class="card-img-top"alt="moto sportive"></div><div class="card-body text-center d-flex justify-content-center card-margin"><p class="uppercase">Motos sportives</p></div></div></a><!-- END CARD --></div><div class="col-lg-3 col-sm-12 d-flex justify-content-center mb-5"><!-- BEGIN CARD --><a href="#" class="card-link"><div class="card card-zoom p-0 col-lg-6 col-sm-12 m-2 border-0 shadow rounded-3 card-overlay"style="width: 13rem; height: 8rem;"><div class="d-flex justify-content-center img-overlay"><img src="{{ asset('assets/img/icon/moto_terrain.png') }}" class="card-img-top"alt="moto tout terrain"></div><div class="card-body text-center d-flex justify-content-center card-margin"><p class="uppercase item-desc">Motos tout terrain</p></div></div></a><!-- END CARD --></div></div></div></div>#}</div>{% endblock %}