templates/Context/TechVideos/index.html.twig line 1

Open in your IDE?
  1. {% extends '@SyliusShop/layout.html.twig' %}
  2. {% block content %}
  3.     <div class="tech-videos-container">
  4.         {{ render(path('bitbag_sylius_cms_plugin_shop_media_index_by_section_code', {'sectionCode' : 'tech_videos', 'template' : 'Context/TechVideos/topVideosCarousel.html.twig'})) }}
  5.         {% include 'Context/TechVideos/paragraphSection.html.twig' %}
  6.         {% include 'Context/TechVideos/playlists.html.twig' %}
  7.         {% include 'Context/TechVideos/bookMeetingBanner.html.twig' %}
  8.         {% include 'Context/TechVideos/quoteBanner.html.twig' %}
  9.         {% include '@SyliusShop/Common/Sections/digitalEcosystem.html.twig' %}
  10.     </div>
  11. {% endblock %}
  12. {% block javascripts %}
  13.     <script>
  14.         const ytToken = '{{ app.request.server.get('YOUTUBE_API_TOKEN') }}';
  15.         const playlistTokens = {
  16.             'educational-talks': 'PLtN7wP66Zdw5ZUCcZw_kBp1drGnTPbvjf',
  17.             'expo-highlights': 'PLtN7wP66Zdw563X-nSBHa6eWpykR-yvLv',
  18.             'knowledge-clips': 'PLtN7wP66Zdw4dzNRNhcfjN8LTw3m7rVUH',
  19.             'shorts': 'PLtN7wP66Zdw6Ok7GJWGU-Ji0tJG9mjGyw',
  20.         }
  21.         const videosNotFound = '{{ 'app.ui.tech_videos.videos_not_found'|trans }}'
  22.     </script>
  23.     {{ parent() }}
  24. {% endblock %}