templates/base.html.twig line 1

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4.     <meta http-equiv="X-UA-Compatible" content="IE=edge">
  5.     <meta charset="utf-8">
  6.     <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7.     <meta name="description" content="{% block metaDescription %}Nabízíme zájezdy do zahraničí Chorvatsko- na ostrov Pag-Novalja - kemp Straško a Biograd na moru - kemp Soline. Využijte naší objednávky zájezdů do Chorvatska.{% endblock %}">
  8.     <meta name="author" content="LimpidThemes">
  9.     <title>{% block title %}CK IveRia TRAVEL s.r.o.{% endblock %}</title>
  10.     <!-- STYLES -->
  11.     <link href="/assets/css/animate.min.css" rel="stylesheet">
  12.     <link href="/assets/css/bootstrap-select.min.css" rel="stylesheet">
  13.     <link href="/assets/css/owl.carousel.css" rel="stylesheet">
  14.     <link href="/assets/css/owl-carousel-theme.css" rel="stylesheet">
  15.     <link href="/assets/css/bootstrap.min.css" rel="stylesheet" media="screen">
  16.     <link href="/assets/css/flexslider.css" rel="stylesheet" media="screen">
  17.     <link href="/assets/css/style.css" rel="stylesheet" media="screen">
  18.     <link href="/assets/css/custom.css?v=1" rel="stylesheet" media="screen">
  19.     <link href="/assets/css/lightbox.min.css" rel="stylesheet" media="screen">
  20.     <!-- LIGHT -->
  21.     <link rel="stylesheet" type="text/css" href="/assets/css/dummy.css" id="select-style">
  22.     <link href="/assets/font-awesome/css/font-awesome.min.css" rel="stylesheet">
  23.     <!-- FONTS -->
  24.     <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,800,700,600' rel='stylesheet' type='text/css'>
  25.     <!-- Cookie Consent CSS -->
  26.     <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/cookieconsent@3.1.0/build/cookieconsent.min.css" />
  27.     <!-- Cookie Consent JS -->
  28.     <script src="https://cdn.jsdelivr.net/npm/cookieconsent@3.1.0/build/cookieconsent.min.js"></script>
  29.     <script>
  30.         window.addEventListener("load", function() {
  31.             window.cookieconsent.initialise({
  32.                 "palette": {
  33.                     "popup": {
  34.                         "background": "#000"
  35.                     },
  36.                     "button": {
  37.                         "background": "#f1d600",
  38.                         "text": "#000"
  39.                     }
  40.                 },
  41.                 "theme": "classic",
  42.                 "content": {
  43.                     "message": "Tato stránka používá soubory cookie, abychom vám zajistili nejlepší zážitek na našich stránkách.",
  44.                     "dismiss": "Souhlasím",
  45.                     "link": "Více informací",
  46.                     "href": "#",  // Sem vlož odkaz na stránku s podrobnostmi o cookies, pokud ji máš
  47.                     "policy": "Ochrana osobních údajů"
  48.                 }
  49.             });
  50.         });
  51.     </script>
  52.     {% set popupConfig = globalsProvider.getPopupConfig() %}
  53.     
  54.     {% if popupConfig %}
  55.     <!-- Popup okno JavaScript -->
  56.     <script>
  57.         const popupVersionHash = '{{ popupConfig.versionHash|e('js') }}';
  58.         
  59.         function closePopup() {
  60.             const popup = document.getElementById('announcementPopup');
  61.             popup.classList.remove('active');
  62.             localStorage.setItem('announcementPopupDismissed:' + popupVersionHash, '1');
  63.         }
  64.         window.addEventListener('load', function() {
  65.             // Zkontroluj, zda už byl popup zavřen pro tuto verzi
  66.             const popupDismissed = localStorage.getItem('announcementPopupDismissed:' + popupVersionHash);
  67.             
  68.             if (!popupDismissed) {
  69.                 // Zobraz popup po krátkém zpoždění pro lepší UX
  70.                 setTimeout(function() {
  71.                     const popup = document.getElementById('announcementPopup');
  72.                     popup.classList.add('active');
  73.                 }, 500);
  74.             }
  75.         });
  76.         // Zavři popup při kliknutí mimo obsah
  77.         document.addEventListener('click', function(event) {
  78.             const popup = document.getElementById('announcementPopup');
  79.             if (event.target === popup) {
  80.                 closePopup();
  81.             }
  82.         });
  83.     </script>
  84.     {% endif %}
  85. </head>
  86. <body class="load-full-screen">
  87. {% include 'Components/Layout/loader.html.twig' %}
  88. {% if popupConfig %}
  89. <!-- BEGIN: POPUP OKNO -->
  90. <div class="popup-overlay" id="announcementPopup">
  91.     <div class="popup-content">
  92.         <button class="popup-close" onclick="closePopup()">&times;</button>
  93.         <h3>{{ popupConfig.title }}</h3>
  94.         <div>
  95.             {{ popupConfig.contentHtml|raw }}
  96.         </div>
  97.         <button class="popup-button" onclick="closePopup()">{{ popupConfig.buttonText }}</button>
  98.     </div>
  99. </div>
  100. <!-- END: POPUP OKNO -->
  101. {% endif %}
  102. <!-- BEGIN: SITE-WRAPPER -->
  103. <div class="site-wrapper">
  104.     {% include 'Components/Layout/header.html.twig' %}
  105.     {% include 'Components/Layout/menu.html.twig' %}
  106.     <!-- BEGIN: RECENT BLOG POST -->
  107.     {% block top_destinations %}
  108.         <section id="recent-blog">
  109.             <div class="row top-offer" style="padding-top: 10px;">
  110.                 <div class="container">
  111.                     <div class="owl-carousel" id="post-list">
  112.                         {#                        {% include 'Components/Destination/homepage.html.twig' %} #}
  113.                         {#                        {% include 'Components/Destination/homepage.html.twig' %} #}
  114.                         {#                        {% include 'Components/Destination/homepage.html.twig' %} #}
  115.                         {#                        {% include 'Components/Destination/homepage-2.html.twig' %} #}
  116.                         {#                        {% include 'Components/Destination/homepage-2.html.twig' %} #}
  117.                         {#                        {% include 'Components/Destination/homepage-2.html.twig' %} #}
  118.                         {% include 'Components/Destination/homepage.old.html.twig' %}
  119.                         {% include 'Components/Destination/homepage.old.html.twig' %}
  120.                         {% include 'Components/Destination/homepage.old.html.twig' %}
  121.                     </div>
  122.                 </div>
  123.             </div>
  124.         </section>
  125.     {% endblock %}
  126.     <!-- END: RECENT BLOG POST -->
  127.     <!-- START: WHY CHOOSE US SECTION -->
  128.     {% block body %}{% endblock %}
  129.     <!-- END: WHY CHOOSE US SECTION -->
  130.     <!-- START: FOOTER -->
  131.     {% include 'Components/Layout/footer.html.twig' %}
  132.     <!-- END: FOOTER -->
  133. </div>
  134. <!-- END: SITE-WRAPPER -->
  135. <!-- Load Scripts -->
  136. {% block scripts %}
  137.     {% include 'Components/Layout/scripts.html.twig' %}
  138. {% endblock %}
  139. </body>
  140. </html>