feat(main): Add base theme: This is the falcon theme out of the box.
This is falcon v3.1.2
This commit is contained in:
59
falcon/templates/components/featured-products.tpl
Normal file
59
falcon/templates/components/featured-products.tpl
Normal file
@ -0,0 +1,59 @@
|
||||
{block name='featured_products'}
|
||||
<div class="featured-products my-4 {block name='featured_products_class'}{/block}">
|
||||
|
||||
{block name='featured_products_header'}
|
||||
<div class="featured-products__header d-flex align-items-center mb-3">
|
||||
{block name='featured_products_title' hide}
|
||||
<p class="h1 featured-products__title m-0">
|
||||
{$smarty.block.child}
|
||||
</p>
|
||||
{/block}
|
||||
<div class="featured-products__navigation d-flex flex-grow-0 flex-shrink-0 ml-auto">
|
||||
<div class="swiper-button-prev swiper-button-custom position-static">
|
||||
<span class="sr-only">{l s='Previous' d='Shop.Theme.Actions'}</span>
|
||||
<span class="material-icons">keyboard_arrow_left</span>
|
||||
</div>
|
||||
<div class="swiper-button-next swiper-button-custom position-static">
|
||||
<span class="sr-only">{l s='Next' d='Shop.Theme.Actions'}</span>
|
||||
<span class="material-icons">keyboard_arrow_right</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/block}
|
||||
|
||||
{$sliderConfig = [
|
||||
'speed' => 500,
|
||||
'breakpoints' => [
|
||||
'320' => [
|
||||
'slidesPerView' => 2
|
||||
],
|
||||
'768' => [
|
||||
'slidesPerView' => 3
|
||||
],
|
||||
'992' => [
|
||||
'slidesPerView' => 4
|
||||
]
|
||||
]
|
||||
]}
|
||||
|
||||
<div class="swiper product-slider py-1 my-n1" data-swiper='{block name="featured_products_slider_options"}{$sliderConfig|json_encode}{/block}'>
|
||||
{block name='featured_products_products'}
|
||||
<div class="featured-products__slider swiper-wrapper {block name='featured_products_slider_class'}{/block}">
|
||||
{foreach from=$products item="product"}
|
||||
{block name='product_miniature'}
|
||||
{include file='catalog/_partials/miniatures/product.tpl' product=$product type='slider'}
|
||||
{/block}
|
||||
{/foreach}
|
||||
</div>
|
||||
{/block}
|
||||
</div>
|
||||
|
||||
{block name='featured_products_footer' hide}
|
||||
<div class="featured-products__footer mt-4 text-right">
|
||||
{$smarty.block.child}
|
||||
</div>
|
||||
{/block}
|
||||
|
||||
|
||||
</div>
|
||||
{/block}
|
||||
17
falcon/templates/components/left-column-list-group.tpl
Normal file
17
falcon/templates/components/left-column-list-group.tpl
Normal file
@ -0,0 +1,17 @@
|
||||
|
||||
{block name='list_group'}
|
||||
<div class="card {block name='list_group_extra_class'}{/block}">
|
||||
{block name='list_group_header'}
|
||||
<div class="card-header">
|
||||
{block name='list_group_title' hide}
|
||||
<p class="card-title h5 mb-0">
|
||||
{$smarty.block.child}
|
||||
</p>
|
||||
{/block}
|
||||
</div>
|
||||
{/block}
|
||||
{block name='list_group_body' hide}
|
||||
{$smarty.block.child}
|
||||
{/block}
|
||||
</div>
|
||||
{/block}
|
||||
42
falcon/templates/components/modal.tpl
Normal file
42
falcon/templates/components/modal.tpl
Normal file
@ -0,0 +1,42 @@
|
||||
|
||||
{block name='modal'}
|
||||
|
||||
<div class="modal fade {block name='modal_extra_class'}{/block}" {block name='modal_extra_attribues'}{/block} tabindex="-1" aria-hidden="true">
|
||||
|
||||
<div class="modal-dialog {block name='modal_dialog_extra_class'}{/block}">
|
||||
{block name='modal_content'}
|
||||
<div class="modal-content">
|
||||
|
||||
{block name='modal_header'}
|
||||
<div class="modal-header {block name='modal_header_extra_class'}{/block}">
|
||||
{block name='modal_title' hide}
|
||||
<h5 class="modal-title">{$smarty.block.child}</h5>
|
||||
{/block}
|
||||
{block name='modal_close'}
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
{/block}
|
||||
</div>
|
||||
{/block}
|
||||
|
||||
{block name='modal_body' hide}
|
||||
<div class="modal-body {block name='modal_body_extra_class'}{/block}">
|
||||
{$smarty.block.child}
|
||||
</div>
|
||||
{/block}
|
||||
|
||||
{block name='modal_footer' hide}
|
||||
<div class="modal-footer {block name='modal_footer_extra_class'}{/block}">
|
||||
{$smarty.block.child}
|
||||
</div>
|
||||
{/block}
|
||||
|
||||
</div>
|
||||
{/block}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
{/block}
|
||||
|
||||
Reference in New Issue
Block a user