templates/components/SingleTestimonial.html.twig line 1

Open in your IDE?
  1. <section class="single-testimonial">
  2. <div class="container flex items-center justify-between">
  3. <div class="single-testimonial__text">
  4. {{ testimonial.content | raw }}
  5. <div class="attestant">
  6. <div class="attestant__name">
  7. {{ testimonial.author }} - {{ testimonial.company }}
  8. </div>
  9. <a
  10. href="{{ path('router', { slug: 'testimonials' }) }}"
  11. class="button button-white"
  12. >All Testimonials</a
  13. >
  14. </div>
  15. </div>
  16. {% if testimonial.image is not null %}
  17. <div class="single-testimonial__image w-full lg:w-5/12">
  18. <div class="single-testimonial__image-container">
  19. <img
  20. src="{{ imageCache('/'~ testimonial.getFullImagePath, 'zoomCrop', 1500, 1000) }}"
  21. alt="Hero Image"
  22. loading="lazy"
  23. >
  24. </div>
  25. </div>
  26. {% endif %}
  27. </div>
  28. </section>