- Überarbeitung Footer

- Debugging Advanced Menu
This commit is contained in:
akarl 2020-02-11 11:13:15 +01:00
parent 7ccdb7cf17
commit 2a19fe380c
3 changed files with 28 additions and 53 deletions

View File

@ -0,0 +1,21 @@
<div class="footer-ribbon">
<div class="img--area left--box cds--align-right">
<span class="wbn--foot-img wbn-gabel"></span>
<span class="wbn--foot-img wbn-loeffel"></span>
<span class="wbn--foot-img wbn-messer"></span>
<span class="wbn--foot-img wbn-pfannenwender"></span>
<span class="wbn--foot-img wbn-kanne"></span>
<span class="wbn--foot-img wbn-mikrowelle"></span>
</div>
<div class="txt--area center--box cds--align-center">
<span class="first--headline cds--block cds--bold">HORN-GASTRONOMIESHOP</span>
<span class="second--headline cds--block">Ihr Shop für Gastronomiebedarf, Hotellerie und Catering</span>
</div>
<div class="img--area right--box cds--align-left">
<span class="wbn--foot-img wbn-mixer"></span>
<span class="wbn--foot-img wbn-toaster"></span>
<span class="wbn--foot-img wbn-wein"></span>
<span class="wbn--foot-img wbn-sekt"></span>
<span class="wbn--foot-img wbn-tasse"></span>
</div>
</div>

View File

@ -143,27 +143,9 @@
{* Footer *}
{block name="frontend_index_footer"}
<footer class="footer-main">
<div class="footer-ribbon">
<div class="img--area left--box cds--align-right">
<span class="wbn--foot-img wbn-gabel"></span>
<span class="wbn--foot-img wbn-loeffel"></span>
<span class="wbn--foot-img wbn-messer"></span>
<span class="wbn--foot-img wbn-pfannenwender"></span>
<span class="wbn--foot-img wbn-kanne"></span>
<span class="wbn--foot-img wbn-mikrowelle"></span>
</div>
<div class="txt--area center--box cds--align-center">
<span class="first--headline cds--block cds--bold">HORN-GASTRONOMIESHOP</span>
<span class="second--headline cds--block">Ihr Shop für Gastronomiebedarf, Hotellerie und Catering</span>
</div>
<div class="img--area right--box cds--align-left">
<span class="wbn--foot-img wbn-mixer"></span>
<span class="wbn--foot-img wbn-toaster"></span>
<span class="wbn--foot-img wbn-wein"></span>
<span class="wbn--foot-img wbn-sekt"></span>
<span class="wbn--foot-img wbn-tasse"></span>
</div>
</div>
{block name="frontend_index_footer_container"}
{include file='frontend/index/footer-ribbon.tpl'}
{/block}
{block name="frontend_index_footer_container"}
{include file='frontend/index/footer.tpl'}
{/block}

View File

@ -18,13 +18,13 @@
{$categoryLink = $category.external}
{/if}
{*
<li class="menu--list-item item--level-{$level}"{if $level === 0} style="width: 100%"{/if}>
{block name="frontend_plugins_advanced_menu_list_item"}
{if $category.media.path}
<a class="sub--nav-link" href="{$categoryLink|escapeHtml}" title="{$category.name|escape}">
<img class="sub--nav-image thum"
<a class="sub--nav-link" href="{$categoryLink|escapeHtml}"
aria-label="{$category.name|escape}"
title="{$category.name|escape}"{if $category.external && $category.externalTarget} target="{$category.externalTarget}"{/if}>
<img class="sub--nav-image thumb"
alt="{$category.name|escape}"
src="{link file={$category.media.path} fullPath}" />
<span class="sub--nav-title">{$category.name|escape}</span>
@ -38,18 +38,6 @@
{/if}
{/block}
</li>
*}
<li class="menu--list-item item--level-{$level}"{if $level === 0} style="width: 100%"{/if}>
{block name="frontend_plugins_advanced_menu_list_item"}
<a href="{$categoryLink|escapeHtml}" class="menu--list-item-link" aria-label="{$category.name|escape}" title="{$category.name|escape}"{if $category.external && $category.externalTarget} target="{$category.externalTarget}"{/if}>{$category.name}</a>
{if $category.sub}
{call name=categories_top categories=$category.sub level=$level+1}
{/if}
{/block}
</li>
{/foreach}
{/block}
</ul>
@ -72,22 +60,6 @@
<div class="menu--container">
{block name="frontend_plugins_advanced_menu_main_container"}
{*
<div class="button-container">
{block name="frontend_plugins_advanced_menu_button_category"}
<a href="{$link|escapeHtml}" class="button--category" aria-label="{s name="toCategoryBtn" namespace="frontend/plugins/advanced_menu/advanced_menu"}{/s}{$mainCategory.name|escape:'html'}" title="{s name="toCategoryBtn" namespace="frontend/plugins/advanced_menu/advanced_menu"}{/s}{$mainCategory.name|escape:'html'}"{if $mainCategory.external && $category.externalTarget} target="{$mainCategory.externalTarget}"{/if}>
<i class="icon--arrow-right"></i>
{s name="toCategoryBtn" namespace="frontend/plugins/advanced_menu/advanced_menu"}{/s}{$mainCategory.name}
</a>
{/block}
{block name="frontend_plugins_advanced_menu_button_close"}
<span class="button--close">
<i class="icon--cross"></i>
</span>
{/block}
</div>
*}
{if $hasCategories || $hasTeaser}
<div class="content--wrapper{if $hasCategories} has--content{/if}{if $hasTeaser} has--teaser{/if}">