Skip to content

Commit

Permalink
WIP: Homepage content rewritten with pagebuilder. #2
Browse files Browse the repository at this point in the history
  • Loading branch information
vovayatsyuk committed Aug 17, 2021
1 parent 393ffb4 commit 5054692
Show file tree
Hide file tree
Showing 13 changed files with 65 additions and 27 deletions.
18 changes: 17 additions & 1 deletion etc/marketplace/content/cms_block/featured_products.html
Original file line number Diff line number Diff line change
@@ -1 +1,17 @@
{{widget type="Magento\CatalogWidget\Block\Product\ProductsList" title="Featured Products" products_count="10" template="product/featured.phtml" conditions_encoded="^[`1`:^[`type`:`Magento||CatalogWidget||Model||Rule||Condition||Combine`,`aggregator`:`all`,`value`:`1`,`new_child`:``^]^]" type_name="Catalog Products List"}}
<style>
#html-body [data-pb-style=UIA2B8T]{justify-content:flex-start;display:flex;flex-direction:column;background-position:left top;background-size:cover;background-repeat:no-repeat;background-attachment:scroll;padding-top:35px;padding-bottom:40px}#html-body [data-pb-style=Y63T8Q6]{margin-bottom:15px}
</style>
<div data-appearance="contained" data-content-type="row" data-element="main">
<div data-background-images="{}" data-background-type="image" data-element="inner" data-enable-parallax="0" data-parallax-speed="0.5" data-pb-style="UIA2B8T" data-video-fallback-src="" data-video-lazy-load="true" data-video-loop="true" data-video-play-only-visible="true">
<div data-appearance="default" data-content-type="text" data-element="main" data-pb-style="Y63T8Q6">
<div>
<span style="font-size: 18px; color: #459b06;">
Featured Products
</span>
</div>
</div>
<div class="hide-details" data-appearance="carousel" data-autoplay="false" data-autoplay-speed="4000" data-carousel-mode="default" data-center-padding="90px" data-content-type="products" data-element="main" data-infinite-loop="true" data-show-arrows="true" data-show-dots="false">
{{widget type="Magento\CatalogWidget\Block\Product\ProductsList" template="Magento_PageBuilder::catalog/product/widget/content/carousel.phtml" anchor_text="" id_path="" show_pager="0" products_count="10" condition_option="condition" condition_option_value="" type_name="Catalog Products Carousel" conditions_encoded="^[`1`:^[`type`:``,`aggregator`:`all`,`value`:`1`,`new_child`:``^]^]" sort_order="date_newest_top"}}
</div>
</div>
</div>
8 changes: 4 additions & 4 deletions etc/marketplace/content/cms_block/footer_payments.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<ul class="footer-payments" >
<li><img src="{{view url='images/payments/amex.svg'}}" alt=""></li>
<li><img src="{{view url='images/payments/visa.svg'}}" alt=""></li>
<li><img src="{{view url='images/payments/maestro.svg'}}" alt=""></li>
<li><img src="{{view url='images/payments/mastercard.svg'}}" alt=""></li>
<li><img src="{{media url='wysiwyg/absolute/payments/amex.svg'}}" alt="Amex"></li>
<li><img src="{{media url='wysiwyg/absolute/payments/visa.svg'}}" alt="Visa"></li>
<li><img src="{{media url='wysiwyg/absolute/payments/maestro.svg'}}" alt="Maestro"></li>
<li><img src="{{media url='wysiwyg/absolute/payments/mastercard.svg'}}" alt="Mastercard"></li>
</ul>
2 changes: 1 addition & 1 deletion etc/marketplace/content/cms_block/slogan.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<div class="slogan">
<img src="{{view url='images/slogan.gif'}}" alt="Absolute Theme for Magento"/>
<img src="{{media url=wysiwyg/absolute/slogan.gif}}" alt="Absolute Theme for Magento" />
</div>
42 changes: 21 additions & 21 deletions etc/marketplace/content/cms_page/home.html

Large diffs are not rendered by default.

16 changes: 16 additions & 0 deletions etc/marketplace/content/media/wysiwyg/absolute/payments/amex.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 5054692

Please sign in to comment.