feat(extra-features): A bunch of improvements
This commit is contained in:
@@ -1,25 +1,22 @@
|
||||
<div class="footer-bottom py-3">
|
||||
<div class="container d-flex justify-content-between align-items-center">
|
||||
<div class="copyright">
|
||||
<span>
|
||||
{l
|
||||
s='Copyright © %year% %shop%'
|
||||
sprintf=['%year%' => $smarty.now|date_format:"%Y", '%shop%' => $shop.name|capitalize]
|
||||
d='Shop.Theme.Footer'
|
||||
}
|
||||
</span>
|
||||
</div>
|
||||
<a href="https://dewebsmid.nl/prestashop/" rel="noopener" target="_blank">
|
||||
{l s='PrestaShop' d='Shop.Theme.Footer'}
|
||||
</a>
|
||||
<div class="privacy">
|
||||
<a href="content/3-gebruiks-voorwaarden">
|
||||
{l s='Terms & Conditions' d='Shop.Theme.Footer'}
|
||||
</a>
|
||||
<span class="mx-2"> | </span>
|
||||
<a href="content/1-levering">
|
||||
{l s='Privacy policy' d='Shop.Theme.Footer'}
|
||||
<div class="footer-bottom py-1 py-lg-3">
|
||||
<div class="container">
|
||||
<div class="row d-flex flex-column flex-lg-row justify-content-between align-items-center">
|
||||
<div class="copyright">
|
||||
<span class="text-white fw-400">
|
||||
{l
|
||||
s='Copyright © %year% %shop%'
|
||||
sprintf=['%year%' => $smarty.now|date_format:"%Y", '%shop%' => $shop.name|capitalize]
|
||||
d='Shop.Theme.Footer'
|
||||
}
|
||||
</span>
|
||||
</div>
|
||||
<a href="https://dewebsmid.nl/prestashop/" class="text-white fw-400" rel="noopener" target="_blank">
|
||||
{l s='PrestaShop' d='Shop.Theme.Footer'}
|
||||
</a>
|
||||
<div class="privacy d-flex gap-20">
|
||||
{* Need to create this hook in the db. Use ps_linklist with it- see modules/ps_linklist/views/templates/hook/linkblock.tpl *}
|
||||
{hook h='displayFooterPrivacy'}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -29,7 +29,7 @@
|
||||
{/block}
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer-container pb-0">
|
||||
<div class="footer-container pb-0 mt-0">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
{block name='hook_footer'}
|
||||
|
||||
@@ -74,9 +74,13 @@
|
||||
{/block}
|
||||
|
||||
{block name='stylesheets'}
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap" rel="stylesheet">
|
||||
{include file="_partials/stylesheets.tpl" stylesheets=$stylesheets}
|
||||
{/block}
|
||||
|
||||
|
||||
{block name='javascript_head'}
|
||||
{include file="_partials/javascript.tpl" javascript=$javascript.head vars=$js_custom_vars}
|
||||
{/block}
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
{if !$configuration.is_catalog}
|
||||
|
||||
{block name='product_quantity'}
|
||||
<div class="product-quantity row mb-1 mx-n1 mt-n2 align-items-center">
|
||||
<div class="product-quantity row mb-1 align-items-center">
|
||||
<div class="qty col-auto px-1">
|
||||
<input
|
||||
type="number"
|
||||
@@ -46,7 +46,7 @@
|
||||
>
|
||||
</div>
|
||||
|
||||
<div class="add col mt-2 px-1">
|
||||
<div class="add col">
|
||||
<button
|
||||
class="btn btn-primary add-to-cart btn-block"
|
||||
data-button-action="add-to-cart"
|
||||
|
||||
@@ -130,6 +130,7 @@
|
||||
value="{$product.quantity}"
|
||||
name="product-quantity-spin"
|
||||
min="{$product.minimal_quantity}"
|
||||
data-verticalbuttons="true"
|
||||
aria-label="{l s='%productName% product quantity field' sprintf=['%productName%' => $product.name] d='Shop.Theme.Checkout'}"
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -72,7 +72,7 @@
|
||||
{/if}
|
||||
|
||||
<div class="add-address mt-2 mb-3">
|
||||
<a class="btn btn-outline-primary btn-sm" href="{$new_address_delivery_url}">{l s='add new address' d='Shop.Theme.Actions'}</a>
|
||||
<a class="btn btn-primary btn-sm" href="{$new_address_delivery_url}">{l s='add new address' d='Shop.Theme.Actions'}</a>
|
||||
</div>
|
||||
|
||||
{if $use_same_address && !$cart.is_virtual}
|
||||
@@ -116,7 +116,7 @@
|
||||
{/if}
|
||||
|
||||
<div class="add-address mt-2 mb-3">
|
||||
<a class="btn btn-outline-primary btn-sm" href="{$new_address_invoice_url}">{l s='add new address' d='Shop.Theme.Actions'}</a>
|
||||
<a class="btn btn-primary btn-sm" href="{$new_address_invoice_url}">{l s='add new address' d='Shop.Theme.Actions'}</a>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
|
||||
{block name='continue_shopping'}
|
||||
<div class="my-3">
|
||||
<a class="btn btn-outline-primary" href="{$urls.pages.index}">
|
||||
<a class="btn btn-primary" href="{$urls.pages.index}">
|
||||
<span class="material-icons btn-icon mr-1">keyboard_arrow_left</span>
|
||||
{l s='Continue shopping' d='Shop.Theme.Actions'}
|
||||
</a>
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
</div>
|
||||
|
||||
<div class="text-center customer-links__footer">
|
||||
<a href="{$link->getPageLink('index', true, null, 'mylogout')}" class="customer-links__logout">
|
||||
<a href="{$link->getPageLink('index', true, null, 'mylogout')}" class="customer-links__logout btn btn-secondary mt-2">
|
||||
{l s='Sign out' d='Shop.Theme.Actions'}
|
||||
</a>
|
||||
</div>
|
||||
|
||||
@@ -66,7 +66,7 @@
|
||||
|
||||
{if $order.details.reorder_url}
|
||||
<div class="mt-2 text-right">
|
||||
<a href="{$order.details.reorder_url}" class="btn btn-outline-primary">{l s='Reorder' d='Shop.Theme.Actions'}</a>
|
||||
<a href="{$order.details.reorder_url}" class="btn btn-primary">{l s='Reorder' d='Shop.Theme.Actions'}</a>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
|
||||
@@ -24,14 +24,8 @@
|
||||
*}
|
||||
{extends file='page.tpl'}
|
||||
|
||||
{block name='page_content_container'}
|
||||
<section id="content" class="page-home">
|
||||
{block name='page_content_top'}{/block}
|
||||
|
||||
{block name='page_content'}
|
||||
{block name='hook_home'}
|
||||
{$HOOK_HOME nofilter}
|
||||
{/block}
|
||||
{/block}
|
||||
</section>
|
||||
{/block}
|
||||
{block name='page_content_container'}
|
||||
<section id="content" class="page-home">
|
||||
{* {include file='pages/index/hero.tpl'} *}
|
||||
</section>
|
||||
{/block}
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
{include file='catalog/_partials/product-activation.tpl'}
|
||||
{/block}
|
||||
|
||||
<header id="header" class="l-header">
|
||||
<header id="header" class="l-header mb-0">
|
||||
{block name='header'}
|
||||
{include file='_partials/header.tpl'}
|
||||
{/block}
|
||||
@@ -55,12 +55,12 @@
|
||||
{/block}
|
||||
|
||||
{hook h="displayWrapperTop"}
|
||||
<div class="container">
|
||||
<div class="{if $page.page_name == 'index' } container-fluid p-0 overflow-hidden {else}container{/if}">
|
||||
{block name='breadcrumb'}
|
||||
{include file='_partials/breadcrumb.tpl'}
|
||||
{/block}
|
||||
|
||||
<div class="row">
|
||||
<div {if $page.page_name != 'index' || !isset($page.body_classes['layout-full-width'])}class="row"{/if}>
|
||||
{block name="left_column"}
|
||||
<div id="left-column" class="col-12 col-md-4 col-lg-3">
|
||||
{if $page.page_name == 'product'}
|
||||
@@ -95,7 +95,7 @@
|
||||
{hook h="displayWrapperBottom"}
|
||||
</section>
|
||||
|
||||
<footer id="footer" class="l-footer js-footer">
|
||||
<footer id="footer" class="l-footer js-footer mt-0">
|
||||
{block name="footer"}
|
||||
{include file="_partials/footer.tpl"}
|
||||
{/block}
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
{block name='right_column'}{/block}
|
||||
|
||||
{block name='content_wrapper'}
|
||||
<div id="content-wrapper" class="col-12 js-content-wrapper">
|
||||
<div id="content-wrapper" class="{if $page.page_name != 'index' || !isset($page.body_classes['layout-full-width'])}col-12 {/if}js-content-wrapper">
|
||||
{hook h="displayContentWrapperTop"}
|
||||
{block name='content'}
|
||||
<p>Hello world! This is HTML5 Boilerplate.</p>
|
||||
|
||||
10
falcon/templates/pages/index/hero.tpl
Normal file
10
falcon/templates/pages/index/hero.tpl
Normal file
@@ -0,0 +1,10 @@
|
||||
{* hero section on home page *}
|
||||
<section id="home_hero" class="section-spacer-both">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-12 col-md-8 col-xl-6">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
Reference in New Issue
Block a user