clients/maintenance.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html lang="fr">
  3. <head>
  4.     <meta charset="utf-8">
  5.     <meta name="viewport" content="width=device-width, initial-scale=1">
  6.     <meta name="description" content="{% block meta_description %}{% endblock %}">
  7.     <title>{% block title %}{{ accountingFirm.name }}{% endblock %}</title>
  8.     <meta name="author" content="{% block author %}{{ cabinet.name | capitalize }}{% endblock %}">
  9.     <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&display=swap" rel="stylesheet">
  10.     <style>
  11.         :root {
  12.             --agex-primary: {
  13.                     {
  14.                     cabinet.actuv2Colorprimary
  15.                 }
  16.             }
  17.             ;
  18.             --agex-secondary: {
  19.                     {
  20.                     cabinet.actuv2Colorsecondary
  21.                 }
  22.             }
  23.             ;
  24.             --agex-gray: #f6f5f2;
  25.             --agex-gray-text: #6c757d;
  26.         }
  27.         * {
  28.             margin: 0;
  29.             padding: 0;
  30.             box-sizing: border-box;
  31.         }
  32.         body {
  33.             min-height: 100vh;
  34.             display: flex;
  35.             align-items: center;
  36.             justify-content: center;
  37.             font-family: 'Inter', sans-serif;
  38.             background: linear-gradient(135deg, var(--agex-primary), var(--agex-secondary));
  39.             color: white;
  40.             padding: 1rem;
  41.         }
  42.         .maintenance-container {
  43.             max-width: 90%;
  44.             width: 800px;
  45.             padding: 2rem;
  46.             background: rgba(255, 255, 255, 0.1);
  47.             backdrop-filter: blur(10px);
  48.             border-radius: 20px;
  49.             box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  50.             animation: fadeIn 0.5s ease-out;
  51.             justify-content: center;
  52.             display: flex;
  53.             flex-direction: column;
  54.             align-items: center;
  55.         }
  56.         @keyframes fadeIn {
  57.             from {
  58.                 opacity: 0;
  59.                 transform: translateY(20px);
  60.             }
  61.             to {
  62.                 opacity: 1;
  63.                 transform: translateY(0);
  64.             }
  65.         }
  66.         .icon {
  67.             width: 80px;
  68.             height: 80px;
  69.             margin: 0 auto 2rem;
  70.             fill: white;
  71.             animation: rotate 3s linear infinite;
  72.         }
  73.         @keyframes rotate {
  74.             from {
  75.                 transform: rotate(0deg);
  76.             }
  77.             to {
  78.                 transform: rotate(360deg);
  79.             }
  80.         }
  81.         h1 {
  82.             font-size: clamp(2rem, 5vw, 3rem);
  83.             font-weight: 600;
  84.             margin-bottom: 1.5rem;
  85.             text-align: center;
  86.         }
  87.         p {
  88.             font-size: clamp(1rem, 3vw, 1.25rem);
  89.             line-height: 1.6;
  90.             margin-bottom: 1rem;
  91.             font-weight: 300;
  92.             text-align: center;
  93.         }
  94.         .footnote {
  95.             font-size: clamp(0.875rem, 2vw, 1rem);
  96.             opacity: 0.8;
  97.         }
  98.         @media (max-width: 480px) {
  99.             .maintenance-container {
  100.                 padding: 1.5rem;
  101.             }
  102.             .icon {
  103.                 width: 60px;
  104.                 height: 60px;
  105.             }
  106.         }
  107.     </style>
  108. </head>
  109. <body>
  110.     {% if parameters.construction == true %}
  111.     <main class="maintenance-container">
  112.         <svg class="icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
  113.             <!--!Font Awesome Free 6.7.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.-->
  114.             <path
  115.                 d="M495.9 166.6c3.2 8.7 .5 18.4-6.4 24.6l-43.3 39.4c1.1 8.3 1.7 16.8 1.7 25.4s-.6 17.1-1.7 25.4l43.3 39.4c6.9 6.2 9.6 15.9 6.4 24.6c-4.4 11.9-9.7 23.3-15.8 34.3l-4.7 8.1c-6.6 11-14 21.4-22.1 31.2c-5.9 7.2-15.7 9.6-24.5 6.8l-55.7-17.7c-13.4 10.3-28.2 18.9-44 25.4l-12.5 57.1c-2 9.1-9 16.3-18.2 17.8c-13.8 2.3-28 3.5-42.5 3.5s-28.7-1.2-42.5-3.5c-9.2-1.5-16.2-8.7-18.2-17.8l-12.5-57.1c-15.8-6.5-30.6-15.1-44-25.4L83.1 425.9c-8.8 2.8-18.6 .3-24.5-6.8c-8.1-9.8-15.5-20.2-22.1-31.2l-4.7-8.1c-6.1-11-11.4-22.4-15.8-34.3c-3.2-8.7-.5-18.4 6.4-24.6l43.3-39.4C64.6 273.1 64 264.6 64 256s.6-17.1 1.7-25.4L22.4 191.2c-6.9-6.2-9.6-15.9-6.4-24.6c4.4-11.9 9.7-23.3 15.8-34.3l4.7-8.1c6.6-11 14-21.4 22.1-31.2c5.9-7.2 15.7-9.6 24.5-6.8l55.7 17.7c13.4-10.3 28.2-18.9 44-25.4l12.5-57.1c2-9.1 9-16.3 18.2-17.8C227.3 1.2 241.5 0 256 0s28.7 1.2 42.5 3.5c9.2 1.5 16.2 8.7 18.2 17.8l12.5 57.1c15.8 6.5 30.6 15.1 44 25.4l55.7-17.7c8.8-2.8 18.6-.3 24.5 6.8c8.1 9.8 15.5 20.2 22.1 31.2l4.7 8.1c6.1 11 11.4 22.4 15.8 34.3zM256 336a80 80 0 1 0 0-160 80 80 0 1 0 0 160z" />
  116.         </svg>
  117.         <h1>Site en cours de construction </h1>
  118.         <p>Découvrez prochainement notre site Internet.</p>
  119.         <p class="footnote">Merci pour votre patience.</p>
  120.     </main>
  121.     {% else %}
  122.     <main class="maintenance-container">
  123.         <svg class="icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
  124.             <!--!Font Awesome Free 6.7.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.-->
  125.             <path
  126.                 d="M495.9 166.6c3.2 8.7 .5 18.4-6.4 24.6l-43.3 39.4c1.1 8.3 1.7 16.8 1.7 25.4s-.6 17.1-1.7 25.4l43.3 39.4c6.9 6.2 9.6 15.9 6.4 24.6c-4.4 11.9-9.7 23.3-15.8 34.3l-4.7 8.1c-6.6 11-14 21.4-22.1 31.2c-5.9 7.2-15.7 9.6-24.5 6.8l-55.7-17.7c-13.4 10.3-28.2 18.9-44 25.4l-12.5 57.1c-2 9.1-9 16.3-18.2 17.8c-13.8 2.3-28 3.5-42.5 3.5s-28.7-1.2-42.5-3.5c-9.2-1.5-16.2-8.7-18.2-17.8l-12.5-57.1c-15.8-6.5-30.6-15.1-44-25.4L83.1 425.9c-8.8 2.8-18.6 .3-24.5-6.8c-8.1-9.8-15.5-20.2-22.1-31.2l-4.7-8.1c-6.1-11-11.4-22.4-15.8-34.3c-3.2-8.7-.5-18.4 6.4-24.6l43.3-39.4C64.6 273.1 64 264.6 64 256s.6-17.1 1.7-25.4L22.4 191.2c-6.9-6.2-9.6-15.9-6.4-24.6c4.4-11.9 9.7-23.3 15.8-34.3l4.7-8.1c6.6-11 14-21.4 22.1-31.2c5.9-7.2 15.7-9.6 24.5-6.8l55.7 17.7c13.4-10.3 28.2-18.9 44-25.4l12.5-57.1c2-9.1 9-16.3 18.2-17.8C227.3 1.2 241.5 0 256 0s28.7 1.2 42.5 3.5c9.2 1.5 16.2 8.7 18.2 17.8l12.5 57.1c15.8 6.5 30.6 15.1 44 25.4l55.7-17.7c8.8-2.8 18.6-.3 24.5 6.8c8.1 9.8 15.5 20.2 22.1 31.2l4.7 8.1c6.1 11 11.4 22.4 15.8 34.3zM256 336a80 80 0 1 0 0-160 80 80 0 1 0 0 160z" />
  127.         </svg>
  128.         <h1>Site en maintenance</h1>
  129.         <p>Nous améliorons votre expérience. Le site sera de retour prochainement.</p>
  130.         <p class="footnote">Merci pour votre patience</p>
  131.     </main>
  132.     {% endif %}
  133. </body>
  134. </html>