templates/base.html.twig line 1

Open in your IDE?
  1. {% import 'components/toolbox.html.twig' as toolbox %}
  2. {% import 'components/back-to-top.html.twig' as backToTop %}
  3. <!DOCTYPE html>
  4. <html>
  5.     <head>
  6.         <meta charset="UTF-8">
  7.         <title>
  8.             {% block title %}Kel Contact{% endblock %}
  9.         </title>
  10.         <link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 128 128%22><text y=%221.2em%22 font-size=%2296%22>⚫️</text></svg>" />
  11.         {% block stylesheets %}
  12.             <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/sweetalert2@11.3.3/dist/sweetalert2.min.css"/>
  13.             <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" />
  14.             <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fullcalendar@5.10.1/main.min.css">
  15.             <link rel="preconnect" href="https://fonts.googleapis.com">
  16.             <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  17.             <link href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap" rel="stylesheet">
  18.             <link rel="stylesheet" href="{{ asset('assets/css/style.css') }}"/>
  19.         {% endblock %}
  20.     </head>
  21.     <body>
  22.         <header class="header">
  23.             {% include 'components/navbar.html.twig' %}
  24.         </header>
  25.         <div class="main-container">
  26.             <h1 class="page-title">{% block pageTitle %} {{ block('title') }} {% endblock %}</h1>
  27.             <div class="content-container">
  28.                 <div class="toolbox-container">
  29.                     <div class="toolbox-container-sticky">
  30.                         {% block toolbox %}
  31.                             {{ toolbox.buttons() }}
  32.                         {% endblock %}
  33.                     </div>
  34.                 </div>
  35.                 <div class="main-content">
  36.                     {% block body %}
  37.                 
  38.                     {% endblock %}
  39.                 </div>
  40.             </div>
  41.         </div>
  42.             {{ backToTop.backToTop('chevron') }}
  43.             {% include 'components/footer.html.twig' %}
  44.             {{ flasher_render() }}
  45.             {% block javascripts %}{% endblock %}
  46.                 {# <script src="https://cdn.jsdelivr.net/npm/sweetalert2@11.3.3/dist/sweetalert2.all.min.js"></script> #}
  47.                 <script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.9.1/gsap.min.js"></script>
  48.                 <script src="{{ asset('assets/js/app.js') }}"></script>
  49.         </body>
  50.     </html>