templates/front/index.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html lang="fr" class="h-100">
  3. <head>
  4.     <meta charset="UTF-8">
  5.     <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6.     <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.1/dist/css/bootstrap.min.css" rel="stylesheet">
  7.     <title>Hello, world!</title>
  8.     <style>
  9.         @font-face {
  10.             font-family: 'Goldman';
  11.             font-style: normal;
  12.             font-weight: 400;
  13.             src: local('Goldman'), url('https://fonts.cdnfonts.com/s/46601/Goldman-Regular.woff') format('woff');
  14.         }
  15.         @font-face {
  16.             font-family: 'Goldman';
  17.             font-style: normal;
  18.             font-weight: 700;
  19.             src: local('Goldman'), url('https://fonts.cdnfonts.com/s/46601/Goldman-Bold.woff') format('woff');
  20.         }
  21.         @font-face {
  22.             font-family: 'Nunito';
  23.             font-style: normal;
  24.             font-weight: 400;
  25.             src: local('Nunito'), url('https://fonts.cdnfonts.com/s/15604/Nunito-Regular.woff') format('woff');
  26.         }
  27.         @font-face {
  28.             font-family: 'Nunito';
  29.             font-style: normal;
  30.             font-weight: 700;
  31.             src: local('Nunito'), url('https://fonts.cdnfonts.com/s/15604/Nunito-Bold.woff') format('woff');
  32.         }
  33.         body, 
  34.         #diapo1, #diapo1 > *,
  35.         #diapo2, #diapo2 > * {
  36.             min-height: 100vh;
  37.         }
  38.         #diapo1, #diapo2 {
  39.             position: absolute;
  40.             width: 100%;
  41.             background-position: center;
  42.         }
  43.         #diapo1 {
  44.             background-image: url("images/front/1Page-DS-login-logiciel.jpg");
  45.         }
  46.         #diapo2 {
  47.             background-image: url("images/front/2Page-DS-login-logiciel.jpg");
  48.             background-position: 50% 0%;
  49.             background-repeat: no-repeat;
  50.         }
  51.         .Rectangle-56 {
  52.             border: solid #065285;
  53.             border-width: 15px 0;
  54.             background-color: rgba(3, 1, 32, 0.67);
  55.         }
  56.         .Rectangle-59 {
  57.             color: #c0d119;
  58.             font-family: Goldman;
  59.             margin: 22px 0;
  60.             border: solid #c0d119;
  61.             border-width: 15px 0;
  62.         }
  63.         .Title-5x {
  64.             font-size: 100px;
  65.         }
  66.         .Title-4x {
  67.             font-size: 87px;
  68.         }
  69.         .connectBtn {
  70.             background-color: #065285;
  71.             color: #c0d119;
  72.             font-family: Nunito;
  73.             /*font-weight: 650;*/
  74.             font-size: 26px;
  75.             padding: 0.375rem 3rem;
  76.             border-radius: 17px;
  77.             border: solid 1px #06003b;
  78.         }
  79.         
  80.         .text-lime {
  81.             color: #C0D119;
  82.         }
  83.         /*
  84.         #container {
  85.             position:relative;
  86.             height:610px;
  87.             width:610px;
  88.         }
  89.         #container img {
  90.             position:absolute;
  91.             left:0;
  92.         }
  93.         @keyframes imgFade {
  94.             0% {
  95.                 opacity:1;
  96.             }
  97.             100% {
  98.                 opacity:0;
  99.             }
  100.         }
  101.         #container img:nth-of-type(2) {
  102.             animation-name: imgFade;
  103.             animation-delay: 3s;
  104.             animation-timing-function: ease-in-out;
  105.             animation-iteration-count: 1;
  106.             animation-duration: 6s;
  107.             animation-fill-mode: forwards;
  108.         }
  109.         */
  110.     </style>
  111. </head>
  112. <body>
  113.     <div id="diapo1">
  114.         <div class="d-flex flex-column">
  115.             <div class="text-center pb-4">&nbsp;</div>
  116.             <div class="flex-grow-1">&nbsp;</div>
  117.             <div class="flex-shrink-1 text-center Rectangle-56">
  118.                 <div class="Rectangle-59 py-4">
  119.                     <h1 class="fw-bold Title-5x text-break">DataSports <br/> Systems</h1>
  120.                 </div>
  121.             </div>
  122.             <div class="flex-grow-1 d-flex">
  123.                 <!--<div class="flex-grow-1">&nbsp;</div>
  124.                 <div class="align-self-center py-3">
  125.                     <a class="btn connectBtn text-break" href="connexion.html" role="button">Connexion</a>
  126.                 </div>
  127.                 <div class="col-1">&nbsp;</div>-->
  128.             </div>
  129.             <div class="text-center text-lime fw-bolder pb-4">Copyright. © 2021 Datasports Systems. All Rights Reserved</div>
  130.         </div>
  131.     </div>
  132.     <div id="diapo2" style="display:none">
  133.         <div class="d-flex flex-column">
  134.             <div class="text-center pb-4">&nbsp;</div>
  135.             <div class="flex-grow-1">&nbsp;</div>
  136.             <div class="flex-shrink-1 text-center Rectangle-56">
  137.                 <div class="Rectangle-59 py-4">
  138.                     <h1 class="Title-4x text-break">Welcome <br/> To <br/> DataSports</h1>
  139.                 </div>
  140.             </div>
  141.             <div class="flex-grow-1 d-flex">
  142.                 <div class="flex-grow-1">&nbsp;</div>
  143.                 <div class="align-self-center py-3">
  144.                     <a class="btn connectBtn text-break" href="connexion" role="button">Connexion</a>
  145.                 </div>
  146.                 <div class="col-1">&nbsp;</div>
  147.             </div>
  148.             <div class="text-center text-lime fw-bolder pb-4">Copyright. © 2021 Datasports Systems. All Rights Reserved</div>
  149.         </div>
  150.     </div>
  151.     <!-- <div class="position-absolute bottom-0 end-0 text-white" style="margin-bottom:7rem; margin-right:7rem"></div> -->
  152.     <!-- <div class="position-absolute bottom-0 start-50 translate-middle-x text-white pb-4" style="display:none">Copyright. © 2021 Datasports Systems. All Rights Reserved</div> -->
  153.     <!-- Option 1: Bootstrap Bundle with Popper -->
  154.     <!--
  155.     <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.1/dist/js/bootstrap.bundle.min.js"></script>
  156.     -->
  157.     <!-- Option 2: Separate Popper and Bootstrap JS -->
  158.     <!--
  159.     <script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.9.3/dist/umd/popper.min.js"></script>
  160.     -->
  161.     <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.1/dist/js/bootstrap.min.js"></script>
  162.     <script src="https://cdn.jsdelivr.net/npm/jquery@3.6.0/dist/jquery.min.js"></script>
  163.     <script>
  164.         $(document).ready(function()
  165.         {
  166.             setTimeout(function(){
  167.                 $("#diapo1").fadeOut().next().fadeIn();
  168.             }, 3500);
  169.             //$('body > div:first-child').click();
  170.         });
  171.     </script>
  172. </body>
  173. </html>