wickes-css2 2.96.0-develop.1 → 2.96.0-develop.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Readme.md +1 -2
- package/build/css/category-main.css +1 -1
- package/build/css/main.css +1 -1
- package/build/css/my-account-main-v2.css +1 -1
- package/build/css/my-account-main.css +1 -1
- package/build/css/pages/my-account-v2.css +1 -1
- package/build/css/pages/my-account.css +1 -1
- package/build/css/pages/page_default-store.css +1 -1
- package/build/css/pages/page_store-locator-details.css +1 -1
- package/build/css/pages/tradePro-rewards-old.css +1 -0
- package/build/css/pages/tradePro-rewards.css +1 -1
- package/build/css/pdp-main-before-combine.css +1 -1
- package/build/css/pdp-main-non-critical.css +1 -1
- package/build/css/store-locator-main.css +1 -1
- package/build/js/basket.min.js +1 -1
- package/build/js/bundle.min.js +1 -1
- package/build/js/checkout.min.js +1 -1
- package/build/js/emulation.min.js +3 -0
- package/build/js/merged-checkout.min.js +1 -1
- package/build/js/page/tradePro-rewards.js +46 -0
- package/build/js/project-list.min.js +1 -1
- package/build/js/tradePro-rewards.min.js +1 -0
- package/package.json +1 -1
- package/src/components/cards-slider.hbs +35 -0
- package/src/components/my-account/mobile-nav.hbs +7 -0
- package/src/components/reward_card.hbs +10 -0
- package/src/components/voucher.hbs +60 -158
- package/src/data/data_tradePro_cards.json +60 -0
- package/src/data/data_voucher_tradePro.json +123 -286
- package/src/data/my-account/data_my-account.json +34 -0
- package/src/js/components/cards-slider.js +62 -0
- package/src/js/emulation/vat-toggle.js +3 -0
- package/src/js/page/tradePro-rewards.js +46 -0
- package/src/page_tradePro_rewards_home.html +46 -0
- package/src/page_tradePro_rewards_home_single.html +44 -0
- package/src/page_tradePro_rewards_instore.html +67 -0
- package/src/page_tradePro_rewards_instoreAndOnline.html +65 -0
- package/src/page_tradePro_rewards_noInstoreAndOnline.html +65 -0
- package/src/page_tradePro_rewards_noOptional.html +65 -0
- package/src/page_tradePro_rewards_online.html +65 -0
- package/src/scss/components/_accordion.scss +4 -0
- package/src/scss/components/_cards-slider.scss +88 -0
- package/src/scss/components/_rewards.scss +74 -0
- package/src/scss/components/my-account/_mobile-nav.scss +15 -15
- package/src/scss/main.scss +1 -0
- package/src/scss/my-account-main-v2.scss +2 -0
- package/src/scss/pages/tradePro-rewards-old.scss +776 -0
- package/src/scss/pages/tradePro-rewards.scss +110 -715
- package/src/sitemap.html +31 -7
- package/src/page_tradePro_rewards.html +0 -34
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function o(n,a,i){function d(t,e){if(!a[t]){if(!n[t]){var r="function"==typeof require&&require;if(!e&&r)return r(t,!0);if(c)return c(t,!0);throw(e=new Error("Cannot find module '"+t+"'")).code="MODULE_NOT_FOUND",e}r=a[t]={exports:{}},n[t][0].call(r.exports,function(e){return d(n[t][1][e]||e)},r,r.exports,o,n,a,i)}return a[t].exports}for(var c="function"==typeof require&&require,e=0;e<i.length;e++)d(i[e]);return d}({1:[function(e,t,r){"use strict";var o=e("./utils/copy-to-clipboard"),n=window.Wick||{};n.TradeProRewards={el:{$tradeProRewards:$(".page_tradePro-rewards"),buttonSelector:".copy-tradePro-barcode"},message:"Code copied to clipboard",copyToClipboardInit:function(){n.SnackBar.init(),$(n.TradeProRewards.el.buttonSelector).on("click",function(e){e.preventDefault(),e.stopPropagation();var t=$(this).parent().find("input"),r=t.val().trim();return t.removeAttr("disabled").attr("readonly","readonly"),(0,o.copyToClipboard)(r,e.currentTarget),t.attr("disabled","disabled").removeAttr("readonly"),window.getSelection().removeAllRanges(),n.SnackBar.show({text:n.TradeProRewards.message,type:n.SnackBar.types.SUCCESS,withCloseButton:!1,autoClose:!0,delayBeforeClose:3e3}),!1})},init:function(){n.TradeProRewards.copyToClipboardInit()}},$(document).ready(function(){n.TradeProRewards.el.$tradeProRewards.length&&n.TradeProRewards.init()})},{"./utils/copy-to-clipboard":2}],2:[function(e,t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.copyToClipboard=function(e,t){var r=$("<textarea>").css({position:"absolute",top:0,left:0,opacity:0});$(t).parent().append(r);t=e.replace(/(^\w|\s\w)/g,function(e){return e.toUpperCase()}).split(" ").filter(function(e){return""!==e}).join(" ");r.val(t),navigator.userAgent.match(/TradeProMobile_iOS|DIYMobile_iOS/i)?function(e){var e=e.get(0),t=e.contentEditable,r=e.readOnly,o=document.createRange(),n=window.getSelection();e.contentEditable=!0,e.readOnly=!1,o.selectNodeContents(e),n.removeAllRanges(),n.addRange(o),e.setSelectionRange(0,999999),e.contentEditable=t,e.readOnly=r}(r):navigator.userAgent.match(/ipad|ipod|iphone/i)?(r.select(),r[0].setSelectionRange(0,999999)):r.select();document.execCommand("copy"),r.remove()}},{}]},{},[1]);
|
package/package.json
CHANGED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
<div class="cards-slider-boundary {{#if secondary}}cards-slider-boundary--secondary{{/if}}">
|
|
2
|
+
<div class="container">
|
|
3
|
+
<div class="row">
|
|
4
|
+
<div class="col-12">
|
|
5
|
+
<div class="cards-slider">
|
|
6
|
+
<div class="cards-slider__header">
|
|
7
|
+
{{#if secondary}}
|
|
8
|
+
<h3 class="cards-slider__title">{{title}}</h3>
|
|
9
|
+
{{else}}
|
|
10
|
+
<h1 class="cards-slider__title">{{title}}</h1>
|
|
11
|
+
{{/if}}
|
|
12
|
+
<div class="cards-slider__controls">
|
|
13
|
+
<div class="cards-slider__btn cards-slider__prev-btn">
|
|
14
|
+
<span class="icon">
|
|
15
|
+
<i class="fas fa-chevron-left"></i>
|
|
16
|
+
</span>
|
|
17
|
+
</div>
|
|
18
|
+
<div class="cards-slider__btn cards-slider__next-btn">
|
|
19
|
+
<span class="icon">
|
|
20
|
+
<i class="fas fa-chevron-right"></i>
|
|
21
|
+
</span>
|
|
22
|
+
</div>
|
|
23
|
+
</div>
|
|
24
|
+
</div>
|
|
25
|
+
<div class="swiper-container">
|
|
26
|
+
<div class="cards-swiper-wrapper swiper-wrapper">
|
|
27
|
+
{{#block "cards"}}{{/block}}
|
|
28
|
+
</div>
|
|
29
|
+
<div class="swiper-pagination swiper-pagination-bullets"></div>
|
|
30
|
+
</div>
|
|
31
|
+
</div>
|
|
32
|
+
</div>
|
|
33
|
+
</div>
|
|
34
|
+
</div>
|
|
35
|
+
</div>
|
|
@@ -15,6 +15,13 @@
|
|
|
15
15
|
{{/if}}
|
|
16
16
|
{{/each}}
|
|
17
17
|
<span class="accordion__header-text">{{page-name}}</span>
|
|
18
|
+
{{#each menu}}
|
|
19
|
+
{{#if (eq @index ../active-index)}}
|
|
20
|
+
{{#if total}}
|
|
21
|
+
<span class="rewards">{{total}}</span>
|
|
22
|
+
{{/if}}
|
|
23
|
+
{{/if}}
|
|
24
|
+
{{/each}}
|
|
18
25
|
<span class="icon accordion__header-icon">
|
|
19
26
|
<i class="fas fa-angle-up"></i>
|
|
20
27
|
</span>
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<div class="reward-card {{modificator}}">
|
|
2
|
+
<img src="{{imgSrc}}" alt="Trade Pro Reward" class="reward-card__img">
|
|
3
|
+
<div class="reward-card__content">
|
|
4
|
+
<p class="reward-card__title">{{title}}</p>
|
|
5
|
+
{{#if description}}
|
|
6
|
+
<p class="reward-card__description">{{description}}</p>
|
|
7
|
+
{{/if}}
|
|
8
|
+
<a href="{{btnUrl}}" class="btn btn-secondary">{{btnText}}</a>
|
|
9
|
+
</div>
|
|
10
|
+
</div>
|
|
@@ -1,174 +1,76 @@
|
|
|
1
|
-
<div class="voucher
|
|
2
|
-
|
|
3
|
-
<
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
<div class="row">
|
|
8
|
-
<div class="{{modificator}}-placeholder">
|
|
9
|
-
<div class="{{modificator}}-placeholder-wrap">
|
|
10
|
-
{{#if discount}}
|
|
11
|
-
<span class="{{modificator}}-placeholder-discount">
|
|
12
|
-
10% off
|
|
13
|
-
</span>
|
|
14
|
-
{{/if}}
|
|
15
|
-
<img src="{{imgPlaceholder}}" alt="">
|
|
16
|
-
</div>
|
|
17
|
-
</div>
|
|
18
|
-
<div class="{{modificator}}-description">
|
|
19
|
-
{{#if sub-header}}
|
|
20
|
-
{{#each subheader-data}}
|
|
21
|
-
<h{{subheaderIndex}} class="{{modificator}}-subheader">{{subheader}}</h{{subheaderIndex}}>
|
|
22
|
-
{{/each}}
|
|
23
|
-
{{/if}}
|
|
24
|
-
<p>{{description}}</p>
|
|
25
|
-
<p>{{description2}}</p>
|
|
26
|
-
{{#if description-button}}
|
|
27
|
-
<div class="{{modificator}}-code-actions {{button-mod}}">
|
|
28
|
-
<a href="#" class="btn btn-primary">
|
|
29
|
-
{{buttonValue}}
|
|
30
|
-
</a>
|
|
31
|
-
</div>
|
|
32
|
-
{{/if}}
|
|
33
|
-
</div>
|
|
1
|
+
<div class="voucher">
|
|
2
|
+
<div class="voucher__grid">
|
|
3
|
+
<div class="voucher__cell">
|
|
4
|
+
{{!-- image --}}
|
|
5
|
+
<div class="voucher__image-wrap">
|
|
6
|
+
<img src="{{img}}" alt="{{imgAlt}}">
|
|
34
7
|
</div>
|
|
8
|
+
{{!-- /image --}}
|
|
35
9
|
</div>
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
<div class="{{modificator}}-barcode">
|
|
48
|
-
<div class="{{modificator}}-barcode-container">
|
|
49
|
-
<div class="{{modificator}}-barcode-title">
|
|
50
|
-
<h5>{{barcodeTitle}}</h5>
|
|
51
|
-
</div>
|
|
52
|
-
<div class="{{modificator}}-barcode-info">
|
|
53
|
-
{{#unless targetedVoucher}}
|
|
54
|
-
<span class="name">{{barcodeName}}</span>
|
|
55
|
-
<span class="date">{{barcodeDate}}</span>
|
|
56
|
-
{{/unless}}
|
|
57
|
-
<span class="hint">{{barcodeHint}}</span>
|
|
58
|
-
</div>
|
|
59
|
-
<div class="{{modificator}}-barcode-img">
|
|
60
|
-
<svg id="barcode" jsbarcode-value="00010931000118010" jsbarcode-width="3" jsbarcode-height="119" jsbarcode-displayvalue="false" jsbarcode-margin="0" width="435px" height="119px" x="0px" y="0px" viewBox="0 0 435 119" xmlns="http://www.w3.org/2000/svg" version="1.1" style="transform: translate(0px, 0px);"><rect x="0" y="0" width="435" height="119" style="fill:#ffffff;"></rect><g transform="translate(0, 0)" style="fill:#000000;"><rect x="0" y="0" width="6" height="119"></rect><rect x="9" y="0" width="3" height="119"></rect><rect x="18" y="0" width="9" height="119"></rect><rect x="33" y="0" width="6" height="119"></rect><rect x="42" y="0" width="6" height="119"></rect><rect x="54" y="0" width="6" height="119"></rect><rect x="66" y="0" width="6" height="119"></rect><rect x="78" y="0" width="6" height="119"></rect><rect x="87" y="0" width="6" height="119"></rect><rect x="99" y="0" width="6" height="119"></rect><rect x="111" y="0" width="3" height="119"></rect><rect x="120" y="0" width="3" height="119"></rect><rect x="132" y="0" width="6" height="119"></rect><rect x="141" y="0" width="6" height="119"></rect><rect x="156" y="0" width="6" height="119"></rect><rect x="165" y="0" width="6" height="119"></rect><rect x="174" y="0" width="6" height="119"></rect><rect x="186" y="0" width="6" height="119"></rect><rect x="198" y="0" width="6" height="119"></rect><rect x="210" y="0" width="6" height="119"></rect><rect x="219" y="0" width="6" height="119"></rect><rect x="231" y="0" width="6" height="119"></rect><rect x="243" y="0" width="9" height="119"></rect><rect x="258" y="0" width="3" height="119"></rect><rect x="264" y="0" width="6" height="119"></rect><rect x="276" y="0" width="6" height="119"></rect><rect x="285" y="0" width="6" height="119"></rect><rect x="297" y="0" width="9" height="119"></rect><rect x="309" y="0" width="3" height="119"></rect><rect x="315" y="0" width="12" height="119"></rect><rect x="330" y="0" width="3" height="119"></rect><rect x="339" y="0" width="9" height="119"></rect><rect x="351" y="0" width="6" height="119"></rect><rect x="363" y="0" width="9" height="119"></rect><rect x="378" y="0" width="3" height="119"></rect><rect x="384" y="0" width="6" height="119"></rect><rect x="396" y="0" width="6" height="119"></rect><rect x="411" y="0" width="9" height="119"></rect><rect x="423" y="0" width="3" height="119"></rect><rect x="429" y="0" width="6" height="119"></rect></g></svg>
|
|
10
|
+
{{#ifCond isOnline '||' isInstore}}
|
|
11
|
+
<div class="voucher__column">
|
|
12
|
+
{{#if isInstore}}
|
|
13
|
+
<div class="voucher__cell d-flex flex-column">
|
|
14
|
+
{{!-- instore --}}
|
|
15
|
+
<span class="voucher__label">{{instore.label}}</span>
|
|
16
|
+
<div class="voucher__content">
|
|
17
|
+
<div>
|
|
18
|
+
<h4 class="mb-0">{{title}}</h4>
|
|
19
|
+
<p class="mt-1 mb-0">{{instore.name}}</p>
|
|
20
|
+
<p class="mt-1 mb-0">{{instore.expiration}}</p>
|
|
61
21
|
</div>
|
|
62
|
-
<div class="
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
<div class="barcode__footer_expand">
|
|
66
|
-
<a href="#" class="icon" data-toggle="modal" data-target="#modal-barcode">
|
|
67
|
-
<i class="far fa-expand-arrows"></i>
|
|
68
|
-
<a href="#" data-toggle="modal" data-target="#modal-barcode">Use barcode</a>
|
|
69
|
-
</a>
|
|
22
|
+
<div class="mt-3">
|
|
23
|
+
<div class="voucher__barcode-img">
|
|
24
|
+
<svg id="barcode" jsbarcode-value="00010931000118010" jsbarcode-width="3" jsbarcode-height="119" jsbarcode-displayvalue="false" jsbarcode-margin="0" width="435px" height="119px" x="0px" y="0px" viewBox="0 0 435 119" xmlns="http://www.w3.org/2000/svg" version="1.1" style="transform: translate(0px, 0px);"><rect x="0" y="0" width="435" height="119" style="fill:#ffffff;"></rect><g transform="translate(0, 0)" style="fill:#000000;"><rect x="0" y="0" width="6" height="119"></rect><rect x="9" y="0" width="3" height="119"></rect><rect x="18" y="0" width="9" height="119"></rect><rect x="33" y="0" width="6" height="119"></rect><rect x="42" y="0" width="6" height="119"></rect><rect x="54" y="0" width="6" height="119"></rect><rect x="66" y="0" width="6" height="119"></rect><rect x="78" y="0" width="6" height="119"></rect><rect x="87" y="0" width="6" height="119"></rect><rect x="99" y="0" width="6" height="119"></rect><rect x="111" y="0" width="3" height="119"></rect><rect x="120" y="0" width="3" height="119"></rect><rect x="132" y="0" width="6" height="119"></rect><rect x="141" y="0" width="6" height="119"></rect><rect x="156" y="0" width="6" height="119"></rect><rect x="165" y="0" width="6" height="119"></rect><rect x="174" y="0" width="6" height="119"></rect><rect x="186" y="0" width="6" height="119"></rect><rect x="198" y="0" width="6" height="119"></rect><rect x="210" y="0" width="6" height="119"></rect><rect x="219" y="0" width="6" height="119"></rect><rect x="231" y="0" width="6" height="119"></rect><rect x="243" y="0" width="9" height="119"></rect><rect x="258" y="0" width="3" height="119"></rect><rect x="264" y="0" width="6" height="119"></rect><rect x="276" y="0" width="6" height="119"></rect><rect x="285" y="0" width="6" height="119"></rect><rect x="297" y="0" width="9" height="119"></rect><rect x="309" y="0" width="3" height="119"></rect><rect x="315" y="0" width="12" height="119"></rect><rect x="330" y="0" width="3" height="119"></rect><rect x="339" y="0" width="9" height="119"></rect><rect x="351" y="0" width="6" height="119"></rect><rect x="363" y="0" width="9" height="119"></rect><rect x="378" y="0" width="3" height="119"></rect><rect x="384" y="0" width="6" height="119"></rect><rect x="396" y="0" width="6" height="119"></rect><rect x="411" y="0" width="9" height="119"></rect><rect x="423" y="0" width="3" height="119"></rect><rect x="429" y="0" width="6" height="119"></rect></g></svg>
|
|
70
25
|
</div>
|
|
71
|
-
|
|
72
|
-
<div class="barcode__footer_expand">
|
|
73
|
-
<a href="#" class="icon" data-toggle="modal" data-target="#modal-barcode-targeted">
|
|
74
|
-
<i class="far fa-expand-arrows"></i>
|
|
75
|
-
<a href="#" data-toggle="modal" data-target="#modal-barcode-targeted">Use barcode</a>
|
|
76
|
-
</a>
|
|
77
|
-
</div>
|
|
78
|
-
{{/if}}
|
|
79
|
-
</div>
|
|
80
|
-
</div>
|
|
81
|
-
{{/if}}
|
|
82
|
-
{{#if hasCode}}
|
|
83
|
-
<div class="{{modificator}}-code">
|
|
84
|
-
<div class="{{modificator}}-code-container">
|
|
85
|
-
<div class="{{modificator}}-code-title">
|
|
86
|
-
<h3>{{codeTitle}}</h3>
|
|
26
|
+
<div class="voucher__barcode-number">{{instore.barcodeNumber}}</div>
|
|
87
27
|
</div>
|
|
88
|
-
{{#unless copy-absent}}
|
|
89
|
-
<div class="{{modificator}}-code-field">
|
|
90
|
-
<input type="text" value="{{inputValue}}" disabled>
|
|
91
|
-
<a href="#" class="copy-barcode">
|
|
92
|
-
<span class="icon">
|
|
93
|
-
<i class="fas fa-copy"></i>
|
|
94
|
-
</span>
|
|
95
|
-
<span>Copy</span>
|
|
96
|
-
</a>
|
|
97
|
-
</div>
|
|
98
|
-
<div class="copy-barcode_notification">
|
|
99
|
-
|
|
100
|
-
</div>
|
|
101
|
-
{{/unless}}
|
|
102
|
-
{{#if button-present}}
|
|
103
|
-
<div class="{{modificator}}-code-actions">
|
|
104
|
-
<a href="#" class="btn btn-primary">
|
|
105
|
-
{{buttonValue}}
|
|
106
|
-
</a>
|
|
107
|
-
</div>
|
|
108
|
-
{{/if}}
|
|
109
|
-
{{#if warning-present}}
|
|
110
|
-
<div class="{{modificator}}-code-warning">{{codeWarning}}</div>
|
|
111
|
-
{{/if}}
|
|
112
28
|
</div>
|
|
29
|
+
{{!-- /instore --}}
|
|
113
30
|
</div>
|
|
114
31
|
{{/if}}
|
|
115
|
-
{{#if
|
|
116
|
-
<div class="
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
32
|
+
{{#if isOnline}}
|
|
33
|
+
<div class="voucher__cell d-flex flex-column">
|
|
34
|
+
{{!-- online --}}
|
|
35
|
+
<span class="voucher__label">{{online.label}}</span>
|
|
36
|
+
<div class="voucher__content">
|
|
37
|
+
<div>
|
|
38
|
+
{{#if online.title}}
|
|
39
|
+
<h4 class="mb-0">{{online.title}}</h4>
|
|
40
|
+
{{/if}}
|
|
41
|
+
<p class="mt-1 mb-0">{{online.note}}</p>
|
|
120
42
|
</div>
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
<input class="{{modificator}}-code-value" type="text" value="{{codeValue}}" disabled>
|
|
128
|
-
</div>
|
|
43
|
+
<div class="my-3">
|
|
44
|
+
<div class="voucher__code-field copy-tradePro-barcode">
|
|
45
|
+
<input type="text" value="{{online.code}}" disabled>
|
|
46
|
+
<span class="icon">
|
|
47
|
+
<i class="fas fa-copy"></i>
|
|
48
|
+
</span>
|
|
129
49
|
</div>
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
<span>Copy code</span>
|
|
50
|
+
</div>
|
|
51
|
+
{{#ifCond online.buttonLink "&&" online.buttonText}}
|
|
52
|
+
<a href="{{online.buttonLink}}" class="btn btn-primary">
|
|
53
|
+
<span class="btn__text">{{online.buttonText}}</span>
|
|
135
54
|
</a>
|
|
136
|
-
|
|
137
|
-
{{#if notification}}
|
|
138
|
-
<div class="copy-barcode_notification"></div>
|
|
139
|
-
{{/if}}
|
|
140
|
-
{{#if button-present}}
|
|
141
|
-
<div class="{{modificator}}-code-actions">
|
|
142
|
-
<a href="#" class="btn btn-primary">
|
|
143
|
-
{{buttonValue}}
|
|
144
|
-
</a>
|
|
145
|
-
</div>
|
|
146
|
-
{{/if}}
|
|
147
|
-
{{#if warning-present}}
|
|
148
|
-
<div class="{{modificator}}-code-warning">{{codeWarning}}</div>
|
|
149
|
-
{{/if}}
|
|
55
|
+
{{/ifCond}}
|
|
150
56
|
</div>
|
|
57
|
+
{{!-- /online --}}
|
|
151
58
|
</div>
|
|
152
59
|
{{/if}}
|
|
153
60
|
</div>
|
|
61
|
+
{{/ifCond}}
|
|
62
|
+
<div class="voucher__cell voucher__description">
|
|
63
|
+
{{!-- description --}}
|
|
64
|
+
{{#if description.short}}
|
|
65
|
+
<p class="voucher__description-title mb-2">{{description.short}}</p>
|
|
66
|
+
{{/if}}
|
|
67
|
+
<p class="voucher__description-text mb-0">{{description.long}}</p>
|
|
68
|
+
{{#ifCond description.buttonLink "&&" description.buttonText}}
|
|
69
|
+
<a href="{{description.buttonLink}}" class="btn btn-primary voucher__description-button">
|
|
70
|
+
<span class="btn__text">{{description.buttonText}}</span>
|
|
71
|
+
</a>
|
|
72
|
+
{{/ifCond}}
|
|
73
|
+
{{!-- /description --}}
|
|
154
74
|
</div>
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
<div class="terms__btn-accordion">
|
|
158
|
-
<span class="icon">
|
|
159
|
-
<i class="fas fa-angle-down"></i>
|
|
160
|
-
</span>
|
|
161
|
-
Terms & Conditions
|
|
162
|
-
</div>
|
|
163
|
-
<div class="terms__content">
|
|
164
|
-
Terms, conditions and exclusions apply. Credit subject to status. Over 18’s only. Offer ends 21st February 2018. Ask your design consultant for more information and
|
|
165
|
-
terms and conditions. 24 month term. Equal monthly payments commence after delivery. Wickes Building Supplies Limited is registered in England and Wales with
|
|
166
|
-
registration number 1840419 and is authorised and regulated by the Financial Conduct Authority to carry on credit-broking. Registered office; Lodge Way House,
|
|
167
|
-
Harlestone Road, Northampton, NN5 7UG. Credit is exclusively provided by Hitachi Capital (UK) PLC, with whom Wickes have a commercial relationship. Hitachi Capital
|
|
168
|
-
(UK) PLC is registered in England and Wales with registration number 1630491 and is authorised and regulated by the Financial Conduct Authority. Registered office;
|
|
169
|
-
Hitachi Capital House, Thorpe Road, Staines-upon-Thames, Surrey, TW18 3HP. Excludes non showroom Kitchen and Bathroom products.
|
|
170
|
-
</div>
|
|
171
|
-
</div>
|
|
172
|
-
{{/if}}
|
|
173
|
-
{{/if}}
|
|
174
|
-
</div>
|
|
75
|
+
</div>
|
|
76
|
+
</div>
|
|
@@ -141,6 +141,66 @@
|
|
|
141
141
|
"src": "./img/placeholders/[e-img-4to3].jpg",
|
|
142
142
|
"price": "£2,009.00"
|
|
143
143
|
}
|
|
144
|
+
],
|
|
145
|
+
"reward_cards": [
|
|
146
|
+
{
|
|
147
|
+
"imgSrc": "./img/placeholders/img-placeholder-rewards.png",
|
|
148
|
+
"title": "TradePro Active 15% off",
|
|
149
|
+
"description": "Short description",
|
|
150
|
+
"btnText": "Learn more",
|
|
151
|
+
"btnUrl": "#"
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"imgSrc": "./img/placeholders/img-placeholder-rewards.png",
|
|
155
|
+
"title": "TradePro wit short description and long title that takes more lines",
|
|
156
|
+
"description": "Short description",
|
|
157
|
+
"btnText": "Learn more",
|
|
158
|
+
"btnUrl": "#"
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"imgSrc": "./img/placeholders/img-placeholder-rewards.png",
|
|
162
|
+
"title": "TradePro with short description",
|
|
163
|
+
"description": "Short description that long and takes two lines of content",
|
|
164
|
+
"btnText": "Learn more",
|
|
165
|
+
"btnUrl": "#"
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"imgSrc": "./img/placeholders/img-placeholder-rewards.png",
|
|
169
|
+
"title": "TradePro without short description",
|
|
170
|
+
"description": "",
|
|
171
|
+
"btnText": "Learn more",
|
|
172
|
+
"btnUrl": "#"
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"imgSrc": "./img/placeholders/img-placeholder-rewards.png",
|
|
176
|
+
"title": "TradePro with short description",
|
|
177
|
+
"description": "Short description",
|
|
178
|
+
"btnText": "Learn more",
|
|
179
|
+
"btnUrl": "#"
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"imgSrc": "./img/placeholders/img-placeholder-rewards.png",
|
|
183
|
+
"title": "TradePro without short description",
|
|
184
|
+
"description": "",
|
|
185
|
+
"btnText": "Learn more",
|
|
186
|
+
"btnUrl": "#"
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"imgSrc": "./img/placeholders/img-placeholder-rewards.png",
|
|
190
|
+
"title": "TradePro without short description",
|
|
191
|
+
"description": "",
|
|
192
|
+
"btnText": "Learn more",
|
|
193
|
+
"btnUrl": "#"
|
|
194
|
+
}
|
|
195
|
+
],
|
|
196
|
+
"reward_card": [
|
|
197
|
+
{
|
|
198
|
+
"imgSrc": "./img/placeholders/img-placeholder-rewards.png",
|
|
199
|
+
"title": "TradePro Active 15% off",
|
|
200
|
+
"description": "Short description",
|
|
201
|
+
"btnText": "Learn more",
|
|
202
|
+
"btnUrl": "#"
|
|
203
|
+
}
|
|
144
204
|
]
|
|
145
205
|
}
|
|
146
206
|
}
|