templates/service_overview/index.html.twig line 1

Open in your IDE?
  1. {% extends 'base.html.twig' %}
  2. {% block title %}Leistungsübersicht{% endblock %}
  3. {% block body %}
  4. {% include "Elements/nav.html.twig" %}
  5. <div class="hero page-inner overlay" style="background-image: url('{{ asset('images/hero_bg_1.jpg') }}'); height: 400px; min-height: 400px;">
  6. <div class="container">
  7. <div class="row justify-content-center align-items-center" style="height: 400px;">
  8. <div class="col-lg-9 text-center mt-5">
  9. <h1 class="heading" data-aos="fade-up">Leistungsübersicht</h1>
  10. <p class="text-white">Entdecken Sie unser breites Spektrum an Dienstleistungen rund um Ihre Immobilie.</p>
  11. </div>
  12. </div>
  13. </div>
  14. </div>
  15. <div class="section">
  16. <div class="container">
  17. {% if groupedServices is empty %}
  18. <div class="row">
  19. <div class="col-12 text-center">
  20. <p>Aktuell sind keine Leistungen hinterlegt.</p>
  21. </div>
  22. </div>
  23. {% endif %}
  24. {% for category, subCategories in groupedServices %}
  25. <div class="row mb-5" data-aos="fade-up">
  26. <div class="col-12">
  27. <h2 class="text-primary border-bottom pb-2">{{ category }}</h2>
  28. </div>
  29. {% for subCategory, services in subCategories %}
  30. <div class="col-12 mt-4">
  31. {% if subCategory != '_none' %}
  32. <h3 class="h4 text-secondary">{{ subCategory }}</h3>
  33. {% endif %}
  34. <div class="row">
  35. <ul class="list-unstyled col-12 ms-3">
  36. {% for service in services %}
  37. <li class="mb-2">
  38. <span class="icon-check text-primary me-2"></span>
  39. {{ service.title }}
  40. {% if service.description %}
  41. <p class="text-muted small ms-4">{{ service.description|nl2br }}</p>
  42. {% endif %}
  43. </li>
  44. {% endfor %}
  45. </ul>
  46. </div>
  47. </div>
  48. {% endfor %}
  49. </div>
  50. {% endfor %}
  51. </div>
  52. </div>
  53. {% include "Elements/footer.html.twig" %}
  54. {% endblock %}