templates/frontend.html.twig line 1

Open in your IDE?
  1. {% set customer = customer_provider.customer %}
  2. <!DOCTYPE html>
  3. <html lang="en" class="darkmode" data-tHEme="light">
  4.     <head>
  5.         <meta charset="UTF-8">
  6.         <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  7.         <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  8.         <title>{% if customer is defined %}{{ customer.name }} - {% endif %}{{ 'app.app_name'|trans }} {% block page_title %}{% endblock %}</title>
  9.         <link rel="apple-touch-icon" href="{{ asset('assets/images/fav.png') }}" />
  10.         <link rel="shortcut icon" type="image/x-icon" href="{{ asset('assets/images/fav.png') }}" />
  11.         <link rel="stylesheet" type="text/css" href="{{ asset('assets/css/bootstrap.min.css') }}" />
  12.         <link rel="stylesheet" type="text/css" href="{{ asset('assets/frontend/css/all.min.css') }}" />
  13.         <link rel="stylesheet" type="text/css" href="{{ asset('assets/frontend/css/rt-icons.css') }}" />
  14.         <link rel="stylesheet" type="text/css" href="{{ asset('assets/frontend/css/animate.min.css') }}" />
  15.         <link rel="stylesheet" type="text/css" href="{{ asset('assets/frontend/css/magnific-popup.css') }}" />
  16.         <link rel="stylesheet" type="text/css" href="{{ asset('assets/frontend/css/magnific.css') }}" />
  17.         <link rel="stylesheet" type="text/css" href="{{ asset('assets/frontend/css/animate.min.css') }}"  />
  18.         <link rel="stylesheet" type="text/css" href="{{ asset('assets/frontend/css/swiper-bundle.min.css') }}">
  19.         <link rel="stylesheet" type="text/css" href="{{ asset('assets/frontend/css/metisMenu.css') }}"/>
  20.         <link rel="stylesheet" type="text/css" href="{{ asset('assets/frontend/css/rtsmenu.css') }}" />
  21.         <link rel="stylesheet" type="text/css" href="{{ asset('assets/frontend/css/frontend.css') }}" />
  22.         <link rel="stylesheet" type="text/css" href="{{ path('app_frontend_customer_css') }}" />
  23.         {% block header_css %}
  24.         {% endblock %}
  25.         {% block header_js %}
  26.         {% endblock %}
  27.     </head>
  28.     <body>
  29.         {% block flashes %}
  30.             <div class="flash-messages">
  31.                 {% for label, messages in app.flashes(['success', 'warning', 'danger']) %}
  32.                     {% for message in messages %}
  33.                         <div class="alert alert-{{ label }} alert-dismissible fade show" role="alert">
  34.                             {{ message|trans }}
  35.                             <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
  36.                         </div>
  37.                     {% endfor %}
  38.                 {% endfor %}
  39.             </div>
  40.         {% endblock flashes %}
  41.         {% include 'frontend/general/header.html.twig' %}
  42.         {% block body %}
  43.             {% block content %}{% endblock %}
  44.         {% endblock %}
  45.         {% include 'frontend/general/footer.html.twig'  %}
  46.         {% block modal %}
  47.         {% endblock %}
  48.         {# <script src="{{ asset('/assets/js/frontend.js') }}"></script>
  49.         <script src="{{ asset('/assets/libs/bootstrap/js/bootstrap.min.js') }}"></script>
  50.         <script src="{{ asset('/assets/libs/signature_pad/dist/signature_pad.umd.min.js') }}"></script>#}
  51.         <script src="{{ asset('/assets/frontend/js/vendors/jquery-3.6.0.min.js') }}"></script>
  52.         <script src="{{ asset('/assets/frontend/js/vendors/popper.min.js') }}"></script>
  53.         <script src="{{ asset('/assets/frontend/js/vendors/bootstrap.min.js') }}"></script>
  54.         <script src="{{ asset('/assets/frontend/js/vendors/wow.min.js') }}"></script>
  55.         <script src="{{ asset('/assets/frontend/js/vendors/swiper-bundle.min.js') }}"></script>
  56.         <script src="{{ asset('/assets/frontend/js/vendors/zoom.js') }}"></script>
  57.         <script src="{{ asset('/assets/frontend/js/vendors/metisMenu.min.js') }}"></script>
  58.         <script src="{{ asset('/assets/frontend/js/vendors/rtsmenu.js') }}"></script>
  59.         <script src="{{ asset('/assets/frontend/js/vendors/metisMenu.min.js') }}"></script>
  60.         <script src="{{ asset('/assets/frontend/js/vendors/isotope.pkgd.min.js') }}"></script>
  61.         <script src="{{ asset('/assets/frontend/js/vendors/jquery.magnific-popup.min.js') }}"></script>
  62.         <script src="{{ asset('/assets/frontend/js/main.js') }}"></script>
  63.         <script src="{{ asset('/assets/frontend/js/custom.js') }}"></script>
  64.         {% block js_bottom %}
  65.         {% endblock %}
  66.     </body>
  67. </html>