-
-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(prettyblocks): migrating pre_header to theme
- Loading branch information
Showing
1 changed file
with
1 addition
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1 @@ | ||
<div class="header__banner"> | ||
<div class="container pre_header"> | ||
<div class="row "> | ||
<div class="position-absolute d-none d-md-block banner-store-select"> | ||
<div class="row dropdown"> | ||
<span class="dropdown-toggle dropdownMenuButton1" type="button" id="dropdownMenuButton1" | ||
data-bs-toggle="dropdown" aria-expanded="false"> | ||
{if isset($block['fields']['shop_menu']['button_label'])} | ||
{$block['fields']['shop_menu']['button_label']} | ||
{/if} | ||
</span> | ||
<ul class="dropdown-menu" aria-labelledby="dropdownMenuButton1"> | ||
{foreach from=$block['fields']['shop_menu']['shops'] item=item} | ||
<li> | ||
<a class="dropdown-item d-flex gap-3" href="{$item['link']['href']}" target="_blank"> | ||
<div class="logo col-6"> | ||
{logo name=$item['icon']} | ||
</div> | ||
<div class="col-6 text-wrap">{$item['link']['label']}</div> | ||
</a> | ||
<li> | ||
{/foreach} | ||
</ul> | ||
</div> | ||
</div> | ||
<div class="wrapper-itemes d-flex justify-content-center align-items-center header-banner pre_header__reassurance"> | ||
{foreach from=$block['fields']['reassurances'] item=item} | ||
<div class="item d-flex justify-content-center align-items-center gap-2 pre_header__reassurance__item"> | ||
<div class="icon pre_header__reassurance__item__icon"> | ||
{icon name=$item['icon']} | ||
</div> | ||
<div class="pre_header__reassurance__item__text">{$item['text']|unescape:'html' nofilter}</div> | ||
</div> | ||
{/foreach} | ||
|
||
</div> | ||
</div> | ||
</div> | ||
{include file='components/pre_header.tpl'} |