Deprecated: Return type of Google\Model::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/sanralsmme/vendor/google/apiclient/src/Model.php on line 256

Deprecated: Return type of Google\Model::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/sanralsmme/vendor/google/apiclient/src/Model.php on line 261

Deprecated: Return type of Google\Model::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/sanralsmme/vendor/google/apiclient/src/Model.php on line 268

Deprecated: Return type of Google\Model::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/sanralsmme/vendor/google/apiclient/src/Model.php on line 278

Deprecated: Return type of Google\Collection::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/sanralsmme/vendor/google/apiclient/src/Collection.php on line 22

Deprecated: Return type of Google\Collection::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/sanralsmme/vendor/google/apiclient/src/Collection.php on line 38

Deprecated: Return type of Google\Collection::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/sanralsmme/vendor/google/apiclient/src/Collection.php on line 30

Deprecated: Return type of Google\Collection::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/sanralsmme/vendor/google/apiclient/src/Collection.php on line 43

Deprecated: Return type of Google\Collection::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/sanralsmme/vendor/google/apiclient/src/Collection.php on line 14

Deprecated: Return type of Google\Collection::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/sanralsmme/vendor/google/apiclient/src/Collection.php on line 49
Symfony Profiler

templates/frontend/faq.html.twig line 1

Open in your IDE?
  1. {% extends 'base.html.twig' %}
  2.     {% block title %}
  3.         {% set metaTitle = 'SANRAL eSDD - FAQ' %}
  4.         {{ metaTitle }}
  5.     {% endblock %}
  6.     {% block meta_decription %}
  7.         {% set metaTitle = 'SANRAL eSDD - FAQ' %}
  8.         {% set metaDescription = 'Electronic supplier development desk frequently asked questions' %}
  9.         <meta name="twitter:card" content="summary" />
  10.         <meta name="twitter:site" content="Sanral" />
  11.         <meta name="twitter:title" content="{{ metaTitle }}" />
  12.         <meta name="twitter:description" content="{{ metaDescription }}" />
  13. {#        <meta name="twitter:image" content="https://hugenouttunnel.nerdw.com/images/home/{{ home_data.ogImage }}" />#}
  14.         <meta name="twitter:url" content="{{ app.request.uri }}" />
  15. {#        <meta name="og:image" content="https://hugenouttunnel.nerdw.com/images/home/{{ home_data.ogImage }}" />#}
  16.         <meta name="og:title" content="{{ metaTitle }}" />
  17.         <meta name="og:description" content="{{ metaDescription }}" />
  18.         <meta name="og:url" content="{{ app.request.uri }}" />
  19.         <meta name="description" content="{{ metaDescription }}">
  20.     {% endblock %}
  21.     {% block stylesheets %}
  22.         <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-+0n0xVW2eSR5OomGNYDnhzAbDsOXxcvSN1TPprVMTNDbiYZCxYbOOl7+AMvyTG2x" crossorigin="anonymous">
  23.         {{ parent() }}
  24.     {% endblock %}
  25.     {% block layout %}
  26.         <div id="content-wrapper" class="container-fluid">
  27.             <div class="row no-gutters py-4">
  28.                 <div class="col-md-9 px-3">
  29.                     <div class="accordion accordion-flush" id="accordionFlushExample">
  30.                         {% for faq in faq_data %}
  31.                             {% if faq.orderBy == 1 %}
  32.                                 {% set show = 'show'  %}
  33.                             {% else %}
  34.                                 {% set show = '' %}
  35.                             {% endif %}
  36.                             <div class="accordion-item">
  37.                                 <h2 class="accordion-header" id="faq-{{ faq.id }}">
  38.                                     <button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#flush-{{ faq.id }}" aria-expanded="true" aria-controls="flush-{{ faq.id }}">
  39.                                         {{ faq.question }}
  40.                                     </button>
  41.                                 </h2>
  42.                                 <div id="flush-{{ faq.id }}" class="accordion-collapse collapse {{ show }}" aria-labelledby="faq-{{ faq.id }}" data-bs-parent="#accordionFlushExample">
  43.                                     <div class="accordion-body">
  44.                                         {{ faq.answer|raw }}
  45.                                     </div>
  46.                                 </div>
  47.                             </div>
  48.                         {% endfor %}
  49.                     </div>
  50.                 </div>
  51.                 <div class="col-md-3">
  52.                     {{ render(controller(
  53.                         'App\\Controller\\CarouselController::getCarousel',
  54.                         {
  55.                             'page': 'faq'
  56.                         }
  57.                     )) }}
  58.                 </div>
  59.             </div>
  60.         </div>
  61.     {% endblock %}
  62.     {% block javascripts %}
  63.         {{ parent() }}
  64.         <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/js/bootstrap.bundle.min.js" integrity="sha384-gtEjrD/SeCtmISkJkNUaaKMoLD0//ElJ19smozuHV6z3Iehds+3Ulb9Bn9Plx0x4" crossorigin="anonymous"></script>
  65.     {% endblock %}