templates/front_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, shrink-to-fit=no">
  6. <title>{% block title %}Corepetitus{% endblock %}</title>
  7. <link rel="stylesheet" href="{{ asset('assets/app.css') }}"/>
  8. <link rel="apple-touch-icon" sizes="180x180" href="{{ asset('assets/images/apple-touch-icon.png') }}">
  9. <link rel="icon" type="image/png" sizes="32x32" href="{{ asset('assets/images/favicon-32x32.png') }}">
  10. <link rel="icon" type="image/png" sizes="16x16" href="{{ asset('assets/images/favicon-16x16.png') }}">
  11. <link rel="manifest" href="{{ asset('/site.webmanifest') }}">
  12. <link rel="mask-icon" href="{{ asset('assets/images/safari-pinned-tab.svg') }}" color="#1b6690">
  13. <link rel="shortcut icon" href="{{ asset('assets/images/favicon.ico') }}">
  14. <meta name="msapplication-TileColor" content="#2d89ef">
  15. <meta name="msapplication-config" content="{{ asset('/browserconfig.xml') }}">
  16. <meta name="theme-color" content="#2d89ef">
  17. <meta property="fb:app_id" content="1058611165212074" />
  18. {% block stylesheets %}
  19. <style>
  20. html,body{
  21. background: #ecf6fe;
  22. }
  23. #loader {
  24. transition: all 0.3s ease-in-out;
  25. opacity: 1;
  26. visibility: visible;
  27. position: fixed;
  28. height: 100vh;
  29. width: 100%;
  30. background: #fff;
  31. z-index: 90000;
  32. }
  33. #loader.fadeOut {
  34. opacity: 0;
  35. visibility: hidden;
  36. }
  37. .spinner {
  38. width: 40px;
  39. height: 40px;
  40. position: absolute;
  41. top: calc(50% - 20px);
  42. left: calc(50% - 20px);
  43. background-color: #333;
  44. border-radius: 100%;
  45. -webkit-animation: sk-scaleout 1.0s infinite ease-in-out;
  46. animation: sk-scaleout 1.0s infinite ease-in-out;
  47. }
  48. @-webkit-keyframes sk-scaleout {
  49. 0% {
  50. -webkit-transform: scale(0)
  51. }
  52. 100% {
  53. -webkit-transform: scale(1.0);
  54. opacity: 0;
  55. }
  56. }
  57. @keyframes sk-scaleout {
  58. 0% {
  59. -webkit-transform: scale(0);
  60. transform: scale(0);
  61. }
  62. 100% {
  63. -webkit-transform: scale(1.0);
  64. transform: scale(1.0);
  65. opacity: 0;
  66. }
  67. }
  68. .front-head{
  69. display: flex;
  70. justify-content: center;
  71. /*box-shadow: 0 0 7px rgba(0,0,0,.15);*/
  72. margin-bottom: 40px;
  73. position: relative;
  74. }
  75. .front-head .login i{
  76. color: white;
  77. background: #00a9fe;
  78. padding: 8px 10px;
  79. border-radius: 8px;
  80. }
  81. .front-head .logo img{
  82. width: 100% !important;
  83. max-height: 110px;
  84. padding: 30px !important;
  85. }
  86. .front-head .login{
  87. position: absolute;
  88. top: 50%;
  89. left: 50px;
  90. transform: translate(-20px, -50%);
  91. }
  92. p, li{
  93. color: #000;
  94. }
  95. ul{
  96. margin-bottom: 1rem;
  97. }
  98. p:has(+ul){
  99. margin-bottom: unset;
  100. }
  101. h3{
  102. color:#000;
  103. }
  104. .masonry-item{
  105. border-radius: 30px;
  106. padding: 30px 25px;
  107. margin-bottom: 30px;
  108. background: #fff;
  109. position: relative;
  110. }
  111. .masonry-item .card{
  112. border:unset;
  113. }
  114. @media (max-width: 768px) {
  115. .front-head .logo img{
  116. max-height: 90px;
  117. }
  118. .front-head .login{
  119. left:30px;
  120. }
  121. }
  122. </style>
  123. {% endblock %}
  124. </head>
  125. <header>
  126. <div class="front-head">
  127. <div class="login">
  128. <a href="{{ path('app_login') }}" class=""><i class="fa-solid fa-chevron-left"></i></a>
  129. </div>
  130. <div class="logo" style="min-height: 60px">
  131. <img style="width: 100%" src="{{ asset('assets/images/core-logo-full.png') }}" alt="">
  132. </div>
  133. </div>
  134. </header>
  135. <body class="{% block bodyclass %}app{% endblock %}">
  136. {% if app.environment != 'dev' %}
  137. <div id='loader'>
  138. <div class="spinner"></div>
  139. </div>
  140. {% endif %}
  141. <!-- @App Content -->
  142. <!-- =================================================== -->
  143. <div>
  144. <div class="container">
  145. {% block body %}{% endblock %}
  146. </div>
  147. </div>
  148. <footer class=" ta-c p-30 lh-0 fsz-sm c-grey-600">
  149. <span>2025 Copyright © COREPETITUS.LT</span>
  150. </footer>
  151. <script>
  152. (function () {
  153. if ('serviceWorker' in navigator) {
  154. navigator.serviceWorker.register('/assets/service-worker.js');
  155. }
  156. })();
  157. window.addEventListener('load', function () {
  158. const loader = document.getElementById('loader');
  159. if (loader) {
  160. setTimeout(function () {
  161. loader.classList.add('fadeOut');
  162. }, 300);
  163. }
  164. });
  165. </script>
  166. {# {% block javascripts %} #}
  167. {# <script src="{{ asset('assets/app.js') }}"></script> #}
  168. {# {{ encore_entry_script_tags('app') }} #}
  169. {# {% endblock %} #}
  170. </body>
  171. </html>