Vitalik 3 долоо хоног өмнө
parent
commit
bb231d6321

+ 2 - 0
resources/view/home.php

@@ -2,6 +2,8 @@
 
 ob_start();
 
+$bannerLogo = json_decode($content['banner-logo'] ?? '{}', true);
+
 ?>
 
 <?php if (!empty($bannerLogo['src'])): ?>

+ 6 - 6
resources/view/layouts/partials/footer.php

@@ -29,12 +29,12 @@ $menuItems = json_decode($content['menu'] ?? '[]', true);
              <div class="footer__partners">
                 <div class="container">
                     <ul class="footer__bottom-imgs">
-                        <li><span><img data-src="images/18+.png" class="lazy" alt="18+" title="18+" width="40" height="40"></span></li>
-                        <li><a href="https://www.begambleaware.org/" rel="nofollow noopener" target="_blank"><img height="40" width="252" class="lazy" data-src="images/GA.png" alt="BeGambleAware" title="BeGambleAware"></a></li>
-                        <li><a href="https://itechlabs.com/" rel="nofollow noopener" target="_blank"><img height="40" width="40" class="lazy" data-src="images/itechlabs.png" alt="iTech Labs" title="iTech Labs"></a></li>
-                        <li><a href="https://www.mga.org.mt/" rel="nofollow noopener" target="_blank"><img height="40" width="92" class="lazy" data-src="images/mga.png" alt="MGA" title="MGA"></a></li>
-                        <li><img height="40" width="126" class="lazy" data-src="images/ecogra.png" alt="eCOGRA" title="eCOGRA"></li>
-                        <li><a href="https://gaminglabs.com/" rel="nofollow noopener" target="_blank"><img height="46" width="86" class="lazy" data-src="images/GLI.png" alt="GLI" title="GLI"></a></li>
+                        <li><span><img src="images/18+.png" loading="lazy"  alt="18+" title="18+" width="40" height="40"></span></li>
+                        <li><a href="https://www.begambleaware.org/" loading="lazy" rel="nofollow noopener" target="_blank"><img height="40" width="252"  src="images/GA.png" alt="BeGambleAware" title="BeGambleAware"></a></li>
+                        <li><a href="https://itechlabs.com/" loading="lazy" rel="nofollow noopener" target="_blank"><img height="40" width="40"  src="images/itechlabs.png" alt="iTech Labs" title="iTech Labs"></a></li>
+                        <li><a href="https://www.mga.org.mt/" loading="lazy" rel="nofollow noopener" target="_blank"><img height="40" width="92"  src="images/mga.png" alt="MGA" title="MGA"></a></li>
+                        <li><img height="40" width="126"  loading="lazy" src="images/ecogra.png" alt="eCOGRA" title="eCOGRA"></li>
+                        <li><a href="https://gaminglabs.com/" loading="lazy" rel="nofollow noopener" target="_blank"><img height="46" width="86"  src="images/GLI.png" alt="GLI" title="GLI"></a></li>
                     </ul>
                 </div>
              </div>

+ 1 - 0
src/Pages/home.php

@@ -46,6 +46,7 @@ $bannerLogo = json_decode($content['banner-logo'] ?? '{}', true);
 $casinoItems = json_decode($content['casino_list'] ?? '[]', true);
 $faqItems = json_decode($content['faq'] ?? '[]', true);
 
+
 // Domain and URL info for JSON-LD
 $currentDomain = getCurrentDomain();
 $currentUrl = getCurrentUrl();