Skip to content

Commit

Permalink
rebase with frontend changes
Browse files Browse the repository at this point in the history
  • Loading branch information
BartoszWojdalowicz committed May 17, 2022
1 parent 3560832 commit 0605af0
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
15 changes: 0 additions & 15 deletions src/Resources/config/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,3 @@ sylius_ui:
banner:
template: "@BitBagSyliusBannerPlugin/Shop/Homepage/_banner.html.twig"
priority: 60
latest_products:
template: "@SyliusShop/Homepage/_latestProducts.html.twig"
priority: 50
latest_products_carousel:
template: "@SyliusShop/Homepage/_latestProductsCarousel.html.twig"
priority: 40
newsletter:
template: "@SyliusShop/Homepage/_newsletter.html.twig"
priority: 30
products_grid:
template: "@SyliusShop/Homepage/_productsGrid.html.twig"
priority: 20
about_us:
template: "@SyliusShop/Homepage/_aboutUs.html.twig"
priority: 10
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
sylius_ui:
events:
sylius.shop.homepage:
blocks:
banner:
template: "@SyliusShop/Homepage/_banner.html.twig"
priority: 60
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{% set banners = getActiveAdsBanners("TEST-SECTION", 'en_US' ) %}
<div class="banners">
{% for banner in banners %}
<a href="{{banner.link}}">
<img class="ui fluid image" src="{{ asset(banner.path) }}" alt="{{banner.alt}}" data-order="{{loop.index}}">
</a>
{% endfor %}
</div>

0 comments on commit 0605af0

Please sign in to comment.