feat(extra-features): A bunch of improvements

This commit is contained in:
2026-02-06 14:20:14 +01:00
parent b968033b17
commit 541901e8e6
22 changed files with 421 additions and 367 deletions

View File

@@ -1,5 +1,5 @@
<div class="col-auto mt-2 px-1">
<div class="col-auto">
<a
class="product-page__action-btn btn btn-light shadow rounded-circle favorite-btn p-2"
href="#"

View File

@@ -23,8 +23,27 @@
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
*}
{* Simple display without titles for the header and footer *}
{if $hookName == "displayFooterPrivacy"}
{foreach $linkBlocks as $linkBlock}
{foreach $linkBlock.links as $link}
<p class="links-list__elem mb-0">
<a
id="{$link.id}-{$linkBlock.id}"
class="{$link.class} links-list__link"
href="{$link.url}"
title="{$link.description}"
{if !empty($link.target)} target="{$link.target}" {/if}
>
{$link.title}
</a>
</p>
{/foreach}
{/foreach}
{else}
{* Regular display *}
{foreach $linkBlocks as $linkBlock}
<div class="col-md-3 col-12 mb-lg-4">
<div class="col-12 col-md-3">
{assign var=_expand_id value=10|mt_rand:100000}
<div class="d-flex align-items-center mb-3 justify-content-between position-relative">
<span class="h4 mb-0">{$linkBlock.title}</span>
@@ -57,3 +76,4 @@
</div>
</div>
{/foreach}
{/if}