templates/themes/theme/service/category1.html.twig line 1

Open in your IDE?
  1. <script type="application/ld+json">
  2. {
  3. "@context": "https://schema.org",
  4. "@type": "Service",
  5. "provider": {
  6. "@type": "LocalBusiness",
  7. "name": "{{ sitename }}",
  8. "url": "{{ siteurl }}"
  9. },
  10. "serviceType": [
  11. "Employment Law",
  12. "HR"
  13. ],
  14. "areaServed": [
  15. {
  16. "@type": "Place",
  17. "name": "London"
  18. },
  19. {
  20. "@type": "Place",
  21. "name": "Sheffield"
  22. },
  23. {
  24. "@type": "Place",
  25. "name": "Leeds"
  26. },
  27. {
  28. "@type": "Place",
  29. "name": "Manchester"
  30. },
  31. {
  32. "@type": "Place",
  33. "name": "Nottingham"
  34. }
  35. ],
  36. "hasOfferCatalog": {
  37. "@type": "OfferCatalog",
  38. "name": "Our Services",
  39. "itemListElement": [
  40. {% for service in employerServices %}
  41. {
  42. "@type": "Offer",
  43. "itemOffered": {
  44. "@type": "Service",
  45. "name": "{{ service.title }}",
  46. "description": "{{ service.subtitle|raw|striptags }}"
  47. }
  48. }{% if loop.last == false %},{% endif %}
  49. {% endfor %}
  50. {% for service in employeeServices %}
  51. {
  52. "@type": "Offer",
  53. "itemOffered": {
  54. "@type": "Service",
  55. "name": "{{ service.title }} {% if service.title == 'Employment Tribunal Representation' and app.request.pathinfo == '/areas-of-expertise/employee-services' %}for Employees{% endif %}",
  56. "description": "{{ service.subtitle|raw|striptags }}"
  57. }
  58. }{% if loop.last == false %},{% endif %}
  59. {% endfor %}
  60. ]
  61. }
  62. }
  63. </script>
  64. <twig:PageMainContent>
  65. {{ category.content | raw }}
  66. <twig:block name="buttons">
  67. {% if category.ctaText and category.ctaLink %}
  68. <a class="button" href="{{ category.ctaLink }}">
  69. {{- category.ctaText -}}
  70. </a>
  71. {% endif %}
  72. </twig:block>
  73. <twig:block name="content2">
  74. {{ category.content2 | raw }}
  75. </twig:block>
  76. </twig:PageMainContent>
  77. {# <twig:UserTypeCTA /> #}
  78. <section class="category-items">
  79. {# <div class="category-items__intro" id="employer_services">
  80. <h2 class="category-items__title mb-8">How our {{ category.title }} can help Employers</h2>
  81. {% if category.subtitle %}
  82. <p class="category-items__description">
  83. {{ category.subtitle | raw }}
  84. </p>
  85. {% endif %}
  86. </div> #}
  87. <div class="container">
  88. {% for service in employerServices %}
  89. <twig:SingleService :service="service" />
  90. {% endfor %}
  91. </div>
  92. </div>
  93. {# <div class="category-items__intro mt-16" id="employee_services">
  94. <h2 class="category-items__title mb-8">How our {{ category.title }} can help Employees</h2>
  95. {% if category.subtitle %}
  96. <p class="category-items__description">
  97. {{ category.subtitle | raw }}
  98. </p>
  99. {% endif %}
  100. </div> #}
  101. <div class="container">
  102. {% for service in employeeServices %}
  103. <twig:SingleService :service="service" />
  104. {% endfor %}
  105. </div>
  106. </div>
  107. </section>
  108. {% if category.content3 %}
  109. <twig:PageMainContent image="{{ category.image ? '/' ~ category.getFullImagePath : null }}" theme="purple">
  110. {{ allowInlineEditor(category, 'content3')|raw }}
  111. <twig:block name="buttons">
  112. {% if category.ctaText and category.ctaLink %}
  113. <a href="{{ category.ctaLink }}" class="button button-tertiary">{{ category.ctaText }}</a>
  114. {% endif %}
  115. </twig:block>
  116. </twig:PageMainContent>
  117. {% endif %}