templates/index.html.twig line 1

  1. {% extends 'base.html.twig' %}
  2. {% block body %}
  3.     <div id="app-backend-node">
  4.         <div id="react-loader" style="
  5.           position: fixed;
  6.           top: 0;
  7.           left: 0;
  8.           width: 100%;
  9.           height: 100%;
  10.           display: flex;
  11.           flex-direction: column;
  12.           align-items: center;
  13.           justify-content: center;
  14.           background: #f8f9fa;
  15.           z-index: 9999;
  16.           gap: 32px;
  17.           font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  18.         ">
  19.             <div style="width: 100px; height: auto;">
  20.                 <img src="{{ asset('logo.png') }}" alt="MKBID" style="width: 100%; display: block; height: auto;"/>
  21.             </div>
  22.             <div style="text-align: center;">
  23.                 <div class="spinner"></div>
  24.                 <p style="color: #6c757d; font-size: 18px; margin: 16px 0 0 0; font-weight: 500;">
  25.                     Initialisation de l'application...
  26.                 </p>
  27.             </div>
  28.         </div>
  29.         <style>
  30.             .spinner {
  31.                 width: 40px;
  32.                 height: 40px;
  33.                 border: 3px solid #e9ecef;
  34.                 border-top: 3px solid #0066b3;
  35.                 border-radius: 50%;
  36.                 animation: spin 0.8s linear infinite;
  37.                 margin: 0 auto;
  38.             }
  39.             @keyframes spin {
  40.                 to {
  41.                     transform: rotate(360deg);
  42.                 }
  43.             }
  44.         </style>
  45.     </div>
  46. {% endblock %}
  47. {% block title %}
  48. {% endblock %}