<div class="d-flex footer-logo">
   <a href="{url s=index}" title="{$dbcfg.index_title}">
      {block "footer-logo"}
         <img src="/static/images/logo_footer.svg" alt="{$dbcfg.shop_title}" class="img-responsive" width="283" height="145">
      {/block}
   </a>
</div>

{if $cfg.social|count}
   <div class="d-flex footer-social footer-social-lg" data-tracking-click="{["event"=>"socialIco","target"=>"facebook"]|json_encode}">
      {if $cfg.social.facebook or $dbcfg.social.facebook}
         <a href="{$dbcfg.social.facebook|default:$cfg.social.facebook}" class="social-link" title="Facebook" data-tracking-click="{["target"=>"facebook"]|json_encode}"><span class="fc icons_facebook"></span></a>
      {/if}
      {if $cfg.social.instagram or $dbcfg.social.instagram}
         <a href="{$dbcfg.social.instagram|default:$cfg.social.instagram}" class="social-link" title="Instagram" data-tracking-click="{["target"=>"instagram"]|json_encode}"><span class="fc icons_instagram"></span></a>
      {/if}
      {if $dbcfg.social.tiktok}
         <a href="{$dbcfg.social.tiktok}" class="social-link" title="TikTok" data-tracking-click="{["target"=>"tiktok"]|json_encode}"><span class="fc icons_tiktok"></span></a>
      {/if}
   </div>
{/if}
