templates/base.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html>
  3.     <head>
  4.         <meta charset="UTF-8">
  5.         <meta name="viewport" content="width=device-width, initial-scale=1">
  6.         <title>{% block title %}NFT Tickets | Deportivo La Guaira FC{% endblock %}</title>
  7.         <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
  8.         <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.8.3/font/bootstrap-icons.css">
  9.         <link rel="stylesheet" href="{{ asset('assets/css/base.css') }}?v={{ random() }}">
  10.         <link rel="stylesheet" href="{{ asset('assets/css/old/sweetalert.min.css') }}">
  11.         <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.8/css/intlTelInput.css"/>
  12.         {# Favicon #}
  13.         <link rel="icon" type="image/png" href="{{ asset('assets/images/logos/favicon.png') }}">
  14.         <link rel="manifest" href="{{ asset('assets/images/favicon/manifest.json') }}">
  15.         <meta name="msapplication-TileColor" content="#ffffff">
  16.         <meta name="msapplication-TileImage" content="{{  asset('assets/images/logos/favicon.png') }}">
  17.         <meta name="theme-color" content="#ffffff">
  18.         <script src="https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.8/js/intlTelInput.min.js"></script>
  19.         <script src="{{ asset('assets/js/app.js') }}"></script>
  20.         <script src="https://code.jquery.com/jquery-3.6.0.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
  21.         <script src="{{ asset('assets/js/sweetalert.min.js') }}"></script>
  22.         <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.min.js" integrity="sha384-QJHtvGhmr9XOIpI6YVutG+2QOK9T+ZnN4kzFN1RtK3zEFEIsxhlmWl5/YESvpZ13" crossorigin="anonymous"></script>        
  23.         {% block head %}{% endblock %}
  24.     </head>
  25.     <body>
  26.         <div class="container-fluid bg-white p-3" style="position: fixed; z-index: 1000;">
  27.             <div class="row align-items-center">
  28.                 <div class="col-12 d-flex justify-content-center" style="opacity: .5; gap: 16px;">
  29.                     <a href="https://www.facebook.com/DvoLaGuaira/" target="_blank" style="color: #000;">
  30.                         <i class="bi bi-facebook"></i>
  31.                     </a>
  32.                     <a href="https://twitter.com/dvolaguaira" target="_blank" style="color: #000;">
  33.                         <i class="bi bi-twitter"></i>
  34.                     </a>
  35.                     <a href="https://www.instagram.com/dvolaguaira/" target="_blank" style="color: #000;">
  36.                         <i class="bi bi-instagram"></i>
  37.                     </a>
  38.                     <a href="https://www.youtube.com/channel/UCTJDweKxOef47mt3g1lea0g" target="_blank" style="color: #000;">
  39.                         <i class="bi bi-youtube"></i>
  40.                     </a>
  41.                 </div>
  42.             </div>
  43.         </div>
  44.         <!-- TOP NAV -->
  45.         <div class="container-fluid top-bar mt-5">
  46.             <div class="row align-items-center py-4 px-xl-5 px-3">
  47.                 <div class="col-3">
  48.                     <a href="/">
  49.                         <img width="72" style="margin-top: -64px; position: absolute;" src="{{ asset('assets/images/logos/logo-laguaira.png') }}">
  50.                     </a>
  51.                 </div>
  52.                 <div class="col-9 align-items-center d-flex justify-content-end" id="access-btn">
  53.                     {% if app.session.get('userId') %}
  54.                         <a href="{{ path('userProfile') }}" class="d-none d-xl-block d-lg-block">
  55.                             <p class="clr-white link-top-bar me-4"><i class="bi bi-person me-2"></i>Mi cuenta</p>
  56.                         </a>
  57.                     {% else %}
  58.                         <a href="{{ path('access') }}?format=1" class="d-none d-xl-block d-lg-block">
  59.                             <p class="clr-white link-top-bar me-4">Iniciar sesión</p>
  60.                         </a>
  61.                         <a href="{{ path('access') }}?format=2" class="d-none d-xl-block d-lg-block">
  62.                             <button class="btn-md blue">Registrarse</button>
  63.                         </a>
  64.                     {% endif %}
  65.                     <div class="d-lg-none d-xl-none" style="cursor: pointer;">
  66.                         <h2><i class="bi bi-list text-white" onclick="viewSidebar()"></i></h2>
  67.                     </div>
  68.                 </div>
  69.             </div>
  70.         </div>
  71.         <!-- SIDE NAV -->
  72.         <div id="side-bar" class="cnt-side-nav px-4 pt-3 d-lg-none d-xl-none">
  73.             {% if app.session.get('userId') %}
  74.                 <a href="{{ path('userProfile') }}">
  75.                     <p class="clr-black link-top-bar my-3"><i class="bi bi-house-door me-2"></i>Inicio</p>
  76.                 </a>
  77.                 <a href="{{ path('userProfile') }}">
  78.                     <p class="clr-black link-top-bar mb-3"><i class="bi bi-person me-2"></i>Mi cuenta</p>
  79.                 </a>
  80.                 <a href="{{ path('logout') }}">
  81.                     <p class="link-top-bar mb-3 text-danger"><i class="bi bi-box-arrow-right me-2"></i>Cerrar sesión</p>
  82.                 </a>
  83.             {% else %}
  84.                 <a href="{{ path('userProfile') }}">
  85.                     <p class="clr-black link-top-bar my-3"><i class="bi bi-house-door me-2"></i>Inicio</p>
  86.                 </a>
  87.                 <a href="{{ path('access') }}?format=1">
  88.                     <p class="clr-black link-top-bar mb-3"><i class="bi bi-box-arrow-in-right me-2"></i> Iniciar sesión</p>
  89.                 </a>
  90.                 <a href="{{ path('access') }}?format=2">
  91.                     <p class="clr-black link-top-bar mb-3"><i class="bi bi-at me-2"></i>Registrarse</p>
  92.                 </a>
  93.             {% endif %}
  94.         </div>
  95.         {% block body %}
  96.         {% endblock %}
  97.         <!-- FOOTER -->
  98.         <div class="container-fluid mt-5 border-top footer">
  99.             <div class="row px-5 py-5">
  100.                 <div class="col-xl-3 col-12 mb-xl-0 mb-3 d-flex justify-content-xl-center justify-content-start">
  101.                     <a href="/">
  102.                         <img width="72" src="{{ asset('assets/images/logos/logo-laguaira.png') }}">
  103.                     </a>
  104.                 </div>
  105.                 <div class="col-xl-2 col-12 mt-xl-0 mt-3">
  106.                     <p class="mb-3"><b>Web</b></p>
  107.                     <a href="https://www.dvolaguaira.com/" class="link-footer"><p class="mb-2">Home</p></a>
  108.                     <a href="{{ path('events') }}" class="link-footer"><p class="mb-2">Eventos</p></a>
  109.                     <a href="{{ path('access') }}" class="link-footer"><p class="mb-2">Iniciar sesión</p></a>
  110.                     <a href="{{ path('access') }}?format=2" class="link-footer"><p class="mb-2">Registrarse</p></a>
  111.                 </div>
  112.                 <div class="col-xl-3 col-12 mt-xl-0 mt-3">
  113.                     <p class="mb-3"><b>Información</b></p>
  114.                     <a href="{{ path('terms') }}" class="link-footer"><p class="mb-2">Política de privacidad</p></a>
  115.                     <a href="{{ path('terms') }}" class="link-footer"><p class="mb-2">Política de cookies</p></a>
  116.                     <a href="{{ path('terms') }}" class="link-footer"><p class="mb-2">Términos y condiciones de uso</p></a>
  117.                 </div>
  118.                 <div class="col-xl-1 col-12 mt-xl-0 mt-3">
  119.                     <p class="mb-3"><b>Síguenos</b></p>
  120.                     <a href="https://www.facebook.com/DvoLaGuaira/" target="_blank" class="link-footer"><p class="mb-2">Facebook</p></a>
  121.                     <a href="https://twitter.com/dvolaguaira" target="_blank" class="link-footer"><p class="mb-2">Twitter</p></a>
  122.                     <a href="https://www.instagram.com/dvolaguaira/" target="_blank" class="link-footer"><p class="mb-2">Instagram</p></a>
  123.                     <a href="https://www.youtube.com/channel/UCTJDweKxOef47mt3g1lea0g" target="_blank" class="link-footer"><p class="mb-2">Youtube</p></a>
  124.                 </div>
  125.                 <div class="col-xl-3 col-12 mt-xl-0 mt-3 d-flex justify-content-center">
  126.                     <a href="https://www.oaro.net/" target="_blank">
  127.                         <img width="90" height="120" src="{{ asset('assets/images/logos/logo-oaro-black.png') }}">
  128.                     </a>
  129.                 </div>
  130.             </div>
  131.         </div>
  132.         <script>
  133.             // Function to show and hide side bar
  134.             function viewSidebar() {
  135.                 var sidebar = document.getElementById("side-bar");
  136.                 if(sidebar.style.right == '-300px'){
  137.                     sidebar.style.right = '0px';
  138.                 } else if(sidebar.style.right == '0px') {
  139.                     sidebar.style.right = '-300px';
  140.                 } else {
  141.                     sidebar.style.right = '0px';
  142.                 }
  143.             }
  144.         </script>
  145.     </body>
  146. </html>