wickes-css2 2.98.0-develop.2 → 2.98.0-develop.4

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.
Files changed (107) hide show
  1. package/build/css/category-main.css +1 -1
  2. package/build/css/components/legal-info.css +1 -1
  3. package/build/css/emulation.css +1 -1
  4. package/build/css/homepage-main.css +1 -1
  5. package/build/css/main.css +1 -1
  6. package/build/css/my-account-main-v2.css +1 -1
  7. package/build/css/my-account-main.css +1 -1
  8. package/build/css/pages/checkout-new.css +1 -1
  9. package/build/css/pages/my-account-v2.css +1 -1
  10. package/build/css/pages/page_address-book.css +1 -1
  11. package/build/css/pages/page_change-password.css +1 -1
  12. package/build/css/pages/page_default-store.css +1 -1
  13. package/build/css/pages/page_discount.css +1 -0
  14. package/build/css/pages/page_personal-details.css +1 -1
  15. package/build/css/pages/page_products-list-combined.css +1 -1
  16. package/build/css/pages/page_products-list.css +1 -1
  17. package/build/css/pages/page_track-my-order.css +1 -1
  18. package/build/css/pdp-main-before-combine.css +1 -1
  19. package/build/css/pdp-main-critical.css +1 -1
  20. package/build/css/pdp-main-non-critical.css +1 -1
  21. package/build/css/pdp-main.css +1 -1
  22. package/build/css/plp-main.css +1 -1
  23. package/build/css/store-locator-main.css +1 -1
  24. package/build/img/apps/app-lg.png +0 -0
  25. package/build/img/apps/app-md.png +0 -0
  26. package/build/js/basket.min.js +2 -2
  27. package/build/js/bundle.min.js +1 -1
  28. package/build/js/checkout.min.js +1 -1
  29. package/build/js/default-store.min.js +1 -1
  30. package/build/js/general.bundle.min.js +1 -1
  31. package/build/js/merged-checkout.min.js +1 -1
  32. package/build/js/my-account.min.js +1 -1
  33. package/build/js/page/basket-v2.js +6 -14
  34. package/build/js/page/components/charity.js +43 -58
  35. package/build/js/page/default-store.js +1 -4
  36. package/build/js/page/my-account.js +9 -2
  37. package/build/js/page/personal-details.js +22 -1
  38. package/build/js/pdp.bundle.min.js +1 -1
  39. package/build/js/personal-details.min.js +1 -1
  40. package/build/js/plp.bundle.min.js +1 -1
  41. package/build/js/project-list.min.js +1 -1
  42. package/package.json +2 -2
  43. package/src/components/header-menu/logout-action.hbs +8 -0
  44. package/src/components/header-menu/popover-actions-mob.hbs +11 -0
  45. package/src/components/header-menu/popover-actions.hbs +13 -0
  46. package/src/components/header-menu/user-actions-mob.hbs +18 -0
  47. package/src/components/header-menu/user-actions.hbs +12 -0
  48. package/src/components/legal-info.hbs +22 -25
  49. package/src/components/my-account/clipboard-code-card.hbs +13 -6
  50. package/src/components/my-account/discount.hbs +3 -1
  51. package/src/components/price-block-order.hbs +0 -1
  52. package/src/components/track-my-order-info.hbs +1 -3
  53. package/src/data/data_header-menu.json +153 -0
  54. package/src/data/data_page-category.json +2 -1
  55. package/src/data/data_shopping-cart-v2.json +0 -51
  56. package/src/data/my-account/data_discount.json +80 -0
  57. package/src/data/my-account/data_personal-details.json +22 -0
  58. package/src/img/apps/app-lg.png +0 -0
  59. package/src/img/apps/app-md.png +0 -0
  60. package/src/js/components/general/clamp-content.js +1 -0
  61. package/src/js/components/general/main-nav.js +5 -5
  62. package/src/js/page/basket-v2.js +6 -14
  63. package/src/js/page/components/charity.js +43 -58
  64. package/src/js/page/default-store.js +1 -4
  65. package/src/js/page/my-account.js +9 -2
  66. package/src/js/page/personal-details.js +22 -1
  67. package/src/page_my-account-installer.html +2 -1
  68. package/src/page_my-account-trade-pro.html +1 -0
  69. package/src/page_my-account.html +10 -1
  70. package/src/page_personal-details.html +5 -0
  71. package/src/page_plp_v2-vat.html +8 -2
  72. package/src/page_shopping-cart-charity.html +56 -0
  73. package/src/page_shopping-cart-v2.html +1 -1
  74. package/src/page_tradepro-discount-app.html +82 -0
  75. package/src/page_tradepro-discount.html +82 -0
  76. package/src/partials/header.hbs +40 -41
  77. package/src/partials/main-nav.hbs +51 -171
  78. package/src/scss/common/_rewards-counter.scss +1 -1
  79. package/src/scss/components/_charity-donations.scss +186 -114
  80. package/src/scss/components/_leave-modal.scss +6 -2
  81. package/src/scss/components/_price-block-critical.scss +3 -3
  82. package/src/scss/components/_price-block.scss +8 -3
  83. package/src/scss/components/legal-info.scss +61 -0
  84. package/src/scss/components/my-account/_barcode.scss +58 -0
  85. package/src/scss/components/my-account/_clipboard-code.scss +77 -0
  86. package/src/scss/components/my-account/_discount.scss +51 -0
  87. package/src/scss/emulation.scss +1 -1
  88. package/src/scss/helpers/_mixins.scss +9 -0
  89. package/src/scss/pages/checkout-new.scss +0 -1
  90. package/src/scss/pages/my-account-v2.scss +38 -171
  91. package/src/scss/pages/page_change-password.scss +1 -1
  92. package/src/scss/pages/page_default-store.scss +5 -4
  93. package/src/scss/pages/page_discount.scss +212 -0
  94. package/src/scss/pages/page_personal-details.scss +1 -74
  95. package/src/scss/pages/page_products-list-combined.scss +13 -3
  96. package/src/scss/pages/page_products-list.scss +9 -1
  97. package/src/scss/pages/page_track-my-order.scss +21 -0
  98. package/src/scss/partials/_header-critical.scss +2 -5
  99. package/src/scss/partials/_header.scss +58 -25
  100. package/src/scss/partials/_main-nav.scss +43 -29
  101. package/src/scss/plp-main.scss +1 -0
  102. package/src/sitemap.html +4 -0
  103. package/build/img/calm-primary-logo.png +0 -0
  104. package/src/components/basket-charity-donations-new.hbs +0 -40
  105. package/src/components/donation-cart-new.hbs +0 -38
  106. package/src/img/calm-primary-logo.png +0 -0
  107. package/src/scss/components/_donation-cart-new.scss +0 -192
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wickes-css2",
3
- "version": "2.98.0-develop.2",
3
+ "version": "2.98.0-develop.4",
4
4
  "description": "CSS and JS and page templates in use by Wickes",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -108,7 +108,7 @@
108
108
  "branches": [
109
109
  "alt-master",
110
110
  {
111
- "name": "custom-tag/RG-1311-prototype-charity-reg-no-for-calm-basket",
111
+ "name": "custom-tag/0.3.0-legends",
112
112
  "prerelease": "${name.replace(/^custom-tag\\//g, '')}"
113
113
  }
114
114
  ],
@@ -0,0 +1,8 @@
1
+ <div class="user__logout">
2
+ {{#each items}}
3
+ <a href="{{url}}" class="user__action link-logout">
4
+ {{text}}
5
+ <span class="icon icon-logout"><i class="{{iconClass}}"></i></span>
6
+ </a>
7
+ {{/each}}
8
+ </div>
@@ -0,0 +1,11 @@
1
+ {{#each items}}
2
+ <div class="main-nav__button">
3
+ <a href="{{url}}" class="nav-button">
4
+ <span class="nav-button__icon"></span>
5
+ <span class="nav-button__text">{{text}}</span>
6
+ {{#if total}}
7
+ <span class="rewards-counter">{{total}}</span>
8
+ {{/if}}
9
+ </a>
10
+ </div>
11
+ {{/each}}
@@ -0,0 +1,13 @@
1
+ <div class="user__popover-actions">
2
+ {{#each items}}
3
+ <a href="{{url}}" class="user__action">
4
+ <span class="icon-wrap">
5
+ <i class="{{iconClass}}"></i>
6
+ </span>
7
+ {{text}}
8
+ {{#if total}}
9
+ <span class="rewards-counter">{{total}}</span>
10
+ {{/if}}
11
+ </a>
12
+ {{/each}}
13
+ </div>
@@ -0,0 +1,18 @@
1
+ {{#each items}}
2
+ <div class="main-nav__button">
3
+ <a href="{{url}}" class="nav-button">
4
+ <span class="nav-button__icon">
5
+ {{#ifCond customIcon '||' iconClass}}
6
+ {{#if icon}}
7
+ {{{icon}}}
8
+ {{else}}
9
+ <i class="{{iconClass}} icon"></i>
10
+ {{/if}}
11
+ {{else}}
12
+ <i class="fas fa-user"></i>
13
+ {{/ifCond}}
14
+ </span>
15
+ <span class="nav-button__text">{{text}}</span>
16
+ </a>
17
+ </div>
18
+ {{/each}}
@@ -0,0 +1,12 @@
1
+ {{#each items}}
2
+ <a href="{{url}}" class="user__action user__action--account">
3
+ <span class="icon-wrap">
4
+ {{#if customIcon}}
5
+ {{{icon}}}
6
+ {{else}}
7
+ <i class="{{iconClass}}"></i>
8
+ {{/if}}
9
+ </span>
10
+ {{text}}
11
+ </a>
12
+ {{/each}}
@@ -1,27 +1,24 @@
1
- <div class="legal-info container">
2
- <div class="row">
3
- <div class="col-lg-3"></div>
4
- <div class="col-lg-9">
5
- <p>
6
- Terms and conditions Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor
7
- incididunt ut labore et dolore
8
- magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea
9
- commodo
10
- consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla
11
- pariatur.
12
- Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est
13
- laborum.
14
- </p>
15
- <p>
16
- Terms and conditions Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor
17
- incididunt ut labore et dolore
18
- magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea
19
- commodo
20
- consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla
21
- pariatur.
22
- Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est
23
- laborum.
24
- </p>
1
+ <div class="container">
2
+ <div class="row">
3
+ <div class="col-12">
4
+ <div class="legal-info">
5
+ <h3 class="legal-info__toggle" data-toggle="collapse" data-target="#collapseInfo" aria-expanded="false" aria-controls="collapseInfo">
6
+ {{#if customTitle}}
7
+ {{customTitle}}
8
+ {{else}}
9
+ Frequently Asked Questions
10
+ {{/if}}
11
+ <span class="icon-wrap"></span>
12
+ </h3>
13
+
14
+ <div class="collapse" id="collapseInfo">
15
+ <div class="collapse-wrap">
16
+ <div class="container">
17
+ {{{page_category-landing.legal-info}}}
18
+ </div>
19
+ </div>
25
20
  </div>
21
+ </div>
26
22
  </div>
27
- </div>
23
+ </div>
24
+ </div>
@@ -1,9 +1,11 @@
1
- <div class="clipboard-code {{this.mod}}">
2
- {{#if customIcon}}
3
- {{{customIcon}}}
4
- {{else}}
5
- <i class="{{icon}} icon"></i>
6
- {{/if}}
1
+ <div class="clipboard-code {{mod}}">
2
+ <span class="icon-wrap">
3
+ {{#if customIcon}}
4
+ {{{customIcon}}}
5
+ {{else}}
6
+ <i class="{{icon}} icon"></i>
7
+ {{/if}}
8
+ </span>
7
9
  <div class="clipboard-code__content">
8
10
  <p class="title">{{title}}</p>
9
11
  <div class="clipboard-code__cta">
@@ -13,4 +15,9 @@
13
15
  </button>
14
16
  </div>
15
17
  </div>
18
+ {{#if description}}
19
+ <div class="clipboard-code__description">
20
+ <p>{{description.text}} <a class="link" href="{{{description.link}}}">{{description.link}}</a></p>
21
+ </div>
22
+ {{/if}}
16
23
  </div>
@@ -1,6 +1,8 @@
1
1
  <div class="discount">
2
2
  <div class="discount__content">
3
- <i class="icon fas fa-barcode-alt"></i>
3
+ <span class="icon-wrap">
4
+ <i class="icon fas fa-barcode-alt"></i>
5
+ </span>
4
6
 
5
7
  <div class="discount__code">
6
8
  <p class="title">{{title}}</p>
@@ -33,7 +33,6 @@
33
33
  <strong>Saturday: 8am - 6pm</strong><br>
34
34
  <strong>Sunday: 10am - 5pm</strong></div>
35
35
  </div>
36
- <br/>
37
36
  </div>
38
37
  </div>
39
38
  </div>
@@ -1,9 +1,7 @@
1
1
  <div class="order-info">
2
2
  <h3 class="order-info__toggle" data-toggle="collapse" data-target="#collapseInfo" aria-expanded="false" aria-controls="collapseInfo">
3
3
  {{title}}
4
- <span class="icon-wrap">
5
- <i class="fas fa-plus icon"></i>
6
- </span>
4
+ <span class="icon-wrap"></span>
7
5
  </h3>
8
6
 
9
7
  <div class="collapse" id="collapseInfo">
@@ -0,0 +1,153 @@
1
+ {
2
+ "header_menu": {
3
+ "diy": [
4
+ {
5
+ "type": "userActions",
6
+ "items": [
7
+ {
8
+ "url": "./page_my-account.html",
9
+ "iconClass": "fas fa-user",
10
+ "text": "My Account"
11
+ }
12
+ ]
13
+ },
14
+ {
15
+ "type": "popoverActions",
16
+ "items": [
17
+ {
18
+ "url": "/page_my-account_order-history.html",
19
+ "iconClass": "fas fa-box-open",
20
+ "text": "My Orders"
21
+ },
22
+ {
23
+ "url": "/page_my-shopping-list.html",
24
+ "iconClass": "fas fa-list",
25
+ "text": "Project Lists"
26
+ },
27
+ {
28
+ "url": "/page_marketing-preferences.html",
29
+ "iconClass": "fas fa-sliders-h",
30
+ "text": "Marketing Preferences"
31
+ }
32
+ ]
33
+ },
34
+ {
35
+ "type": "logoutAction",
36
+ "items": [
37
+ {
38
+ "url": "",
39
+ "iconClass": "fas fa-sign-out",
40
+ "text": "Log out"
41
+ }
42
+ ]
43
+ }
44
+ ],
45
+ "installer": [
46
+ {
47
+ "type": "userActions",
48
+ "items": [
49
+ {
50
+ "customIcon": true,
51
+ "url": "/page_my-account-installer.html",
52
+ "icon": "<svg class=\"installer-icon\" width=\"18\" height=\"19\" viewBox=\"0 0 18 19\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M6 0.75C6 0.334375 6.33437 0 6.75 0H7.25C7.66563 0 8 0.334375 8 0.75V2.5L8.8875 0.721875C10.075 1.35938 10.9062 2.58125 10.9937 4H11C11.4156 4 11.75 4.33437 11.75 4.75C11.75 5.16563 11.4156 5.5 11 5.5H3C2.58437 5.5 2.25 5.16563 2.25 4.75C2.25 4.33437 2.58437 4 3 4H3.00625C3.09375 2.58125 3.925 1.35938 5.1125 0.721875L6 2.5V0.75Z\" fill=\"#3E3E3E\"/>\n<path d=\"M10.9688 6.5C10.7219 8.47188 9.04062 10 7 10C4.95937 10 3.27813 8.47188 3.03125 6.5H10.9688Z\" fill=\"#3E3E3E\"/>\n<path d=\"M0 15.2C0 12.8813 1.88125 11 4.2 11H9.8C10.2255 11 10.6362 11.0633 11.0233 11.1811C10.927 11.8173 11.002 12.421 11.1001 12.7031L7.90625 16H0.8C0.359375 16 0 15.6406 0 15.2Z\" fill=\"#3E3E3E\"/>\n<path d=\"M14.875 15.25C16.6016 15.25 18 13.8516 18 12.125C18 11.8262 17.957 11.5371 17.8789 11.2617C17.8184 11.0508 17.5586 11.0039 17.4043 11.1582L15.9043 12.6582C15.8457 12.7168 15.7656 12.75 15.6836 12.75H14.5625C14.3906 12.75 14.25 12.6094 14.25 12.4375V11.3164C14.25 11.2344 14.2832 11.1543 14.3418 11.0957L15.8418 9.5957C15.9961 9.44141 15.9473 9.18164 15.7383 9.12109C15.4629 9.04297 15.1738 9 14.875 9C13.1484 9 11.75 10.3984 11.75 12.125C11.75 12.498 11.8164 12.8574 11.9355 13.1895L8.38867 16.7363C8.14062 16.9844 8 17.3223 8 17.6738C8 18.4062 8.59375 19 9.32617 19C9.67773 19 10.0156 18.8594 10.2637 18.6113L13.8105 15.0645C14.1426 15.1855 14.502 15.25 14.875 15.25ZM9.5625 16.9688C9.68682 16.9688 9.80605 17.0181 9.89396 17.106C9.98186 17.194 10.0312 17.3132 10.0312 17.4375C10.0312 17.5618 9.98186 17.681 9.89396 17.769C9.80605 17.8569 9.68682 17.9062 9.5625 17.9062C9.43818 17.9062 9.31895 17.8569 9.23104 17.769C9.14314 17.681 9.09375 17.5618 9.09375 17.4375C9.09375 17.3132 9.14314 17.194 9.23104 17.106C9.31895 17.0181 9.43818 16.9688 9.5625 16.9688Z\" fill=\"#3E3E3E\"/>\n</svg>\n",
53
+ "text": "My Installer Account"
54
+ }
55
+ ]
56
+ },
57
+ {
58
+ "type": "popoverActions",
59
+ "items": [
60
+ {
61
+ "url": "./page_discount_installer.html",
62
+ "iconClass": "fas fa-hard-hat",
63
+ "text": "Installer Discount"
64
+ },
65
+ {
66
+ "url": "/page_my-account_order-history.html",
67
+ "iconClass": "fas fa-box-open",
68
+ "text": "My Orders"
69
+ },
70
+ {
71
+ "iconClass": "fas fa-gift",
72
+ "url": "#",
73
+ "text": "Installer Rewards",
74
+ "total": 4
75
+ },
76
+ {
77
+ "url": "/page_my-shopping-list.html",
78
+ "iconClass": "fas fa-list",
79
+ "text": "Project Lists"
80
+ },
81
+ {
82
+ "url": "/page_marketing-preferences.html",
83
+ "iconClass": "fas fa-sliders-h",
84
+ "text": "Marketing Preferences"
85
+ }
86
+ ]
87
+ },
88
+ {
89
+ "type": "logoutAction",
90
+ "items": [
91
+ {
92
+ "url": "",
93
+ "iconClass": "fas fa-sign-out",
94
+ "text": "Log out"
95
+ }
96
+ ]
97
+ }
98
+ ],
99
+ "tradepro": [
100
+ {
101
+ "type": "userActions",
102
+ "items": [
103
+ {
104
+ "url": "./page_my-account-trade-pro.html",
105
+ "iconClass": "fas fa-user-hard-hat",
106
+ "text": "My TradePro Account"
107
+ }
108
+ ]
109
+ },
110
+ {
111
+ "type": "popoverActions",
112
+ "items": [
113
+ {
114
+ "url": "./page_discount_installer.html",
115
+ "iconClass": "fas fa-hard-hat",
116
+ "text": "TradePro Discount"
117
+ },
118
+ {
119
+ "url": "/page_my-account_order-history.html",
120
+ "iconClass": "fas fa-box-open",
121
+ "text": "My Orders"
122
+ },
123
+ {
124
+ "iconClass": "fas fa-gift",
125
+ "url": "#",
126
+ "text": "TradePro Rewards",
127
+ "total": 4
128
+ },
129
+ {
130
+ "url": "/page_my-shopping-list.html",
131
+ "iconClass": "fas fa-list",
132
+ "text": "Project Lists"
133
+ },
134
+ {
135
+ "url": "/page_marketing-preferences.html",
136
+ "iconClass": "fas fa-sliders-h",
137
+ "text": "Marketing Preferences"
138
+ }
139
+ ]
140
+ },
141
+ {
142
+ "type": "logoutAction",
143
+ "items": [
144
+ {
145
+ "url": "",
146
+ "iconClass": "fas fa-sign-out",
147
+ "text": "Log out"
148
+ }
149
+ ]
150
+ }
151
+ ]
152
+ }
153
+ }
@@ -217,6 +217,7 @@
217
217
  }
218
218
  ]
219
219
  }
220
- ]
220
+ ],
221
+ "legal-info": "<p>Our selection of toilets is crafted to suit a wide range of <a href=\"https://www.wickes.co.uk/bathroom/suites\">bathroom suites</a>, from compact cloakrooms to spacious bathrooms. With our large selection, you’ll easily find a solution for both modern and traditional spaces. Each toilet is built for efficiency and easy maintenance, helping you achieve a stylish, functional bathroom with a range of finishes and shapes.</p>\n<h3>FAQs</h3>\n<h4>What are the different types of toilets?</h4>\n<p>Different toilet types include close-coupled, back-to-wall, rimless, wall-hung, and <a href=\"https://www.wickes.co.uk/Products/Bathrooms/Toilets+Accessories/Low+High-Level-Toilets/c/1000359\">high and low-level toilets</a>. Each has unique installation and style benefits, suitable for various bathroom sizes and styles.</p>\n<h4>What toilets suit a modern bathroom?</h4>\n<p>Rimless, wall-hung and <a href=\"https://www.wickes.co.uk/Products/Bathrooms/Toilets+Accessories/Back-to-Wall-Toilets/c/1000282\">back-to-wall toilets</a> fit well in modern bathrooms. Their sleek designs and efficient features offer a clean, contemporary look.</p>\n<h4>What toilets look best in a traditional bathroom?</h4>\n<p>High-level and low-level toilets are popular in traditional designs, adding elegance and classic style with vintage-inspired cisterns and details.</p>"
221
222
  }
222
223
  }
@@ -1145,57 +1145,6 @@
1145
1145
  }
1146
1146
  }
1147
1147
  },
1148
- "charityDonationNew": {
1149
- "title": "Charity Donation",
1150
- "checkoutOrder": {
1151
- "charity": {
1152
- "title": "Would you like to make a donation to our chosen charity, Campaign Against Living Miserably (CALM)?",
1153
- "descr": "All charity donations are non-refundable.",
1154
- "message": "For more information about our charity partner",
1155
- "subLink": "https://www.wickes.co.uk/the-brain-tumour-charity",
1156
- "total": "Total",
1157
- "img": "img/calm-primary-logo.png",
1158
- "price": "£1",
1159
- "options": [
1160
- {
1161
- "title": "£1",
1162
- "value": "1",
1163
- "active": false
1164
- },
1165
- {
1166
- "title": "£3",
1167
- "value": "3",
1168
- "active": false
1169
- },
1170
- {
1171
- "title": "£5",
1172
- "value": "5",
1173
- "active": true
1174
- },
1175
- {
1176
- "title": "£10",
1177
- "value": "10",
1178
- "active": false
1179
- },
1180
- {
1181
- "title": "£15",
1182
- "value": "15",
1183
- "active": false
1184
- },
1185
- {
1186
- "title": "£50",
1187
- "value": "50",
1188
- "active": false
1189
- },
1190
- {
1191
- "title": "£100",
1192
- "value": "100",
1193
- "active": false
1194
- }
1195
- ]
1196
- }
1197
- }
1198
- },
1199
1148
  "charityDonationMultiple": {
1200
1149
  "title": "Charity Donation",
1201
1150
  "img": "img/young-minds-long.png",
@@ -0,0 +1,80 @@
1
+ {
2
+ "discount": {
3
+ "menu": [
4
+ {
5
+ "icon": "fas fa-user",
6
+ "title": "My Account",
7
+ "link": "./page_my-account.html"
8
+ },
9
+ {
10
+ "icon": "fas fa-box-open",
11
+ "link": "./page_my-account_order-history.html",
12
+ "title": "My Orders",
13
+ "description": "View and manage your orders."
14
+ },
15
+ {
16
+ "icon": "fas fa-address-card",
17
+ "link": "./page_personal-details.html",
18
+ "title": "Personal Details",
19
+ "description": "View and update your Personal Details."
20
+ },
21
+ {
22
+ "icon": "fas fa-book",
23
+ "link": "./page_my-account_address-book.html",
24
+ "title": "Address Book",
25
+ "description": "Manage your delivery addresses."
26
+ },
27
+ {
28
+ "icon": "fas fa-sliders-h",
29
+ "link": "./page_marketing-preferences.html",
30
+ "title": "Marketing Preferences",
31
+ "description": "Manage how you would like to receive the latest offers and deals."
32
+ },
33
+ {
34
+ "icon": "fas fa-list",
35
+ "link": "./page_my-shopping-list.html",
36
+ "title": "Project Lists",
37
+ "description": "Save products to your project lists."
38
+ },
39
+ {
40
+ "icon": "fas fa-warehouse",
41
+ "link": "#",
42
+ "title": "Default Store",
43
+ "description": "Set your default store."
44
+ },
45
+ {
46
+ "icon": "fas fa-hard-hat",
47
+ "link": "#",
48
+ "title": "TradePro Discount",
49
+ "description": "Set your default store."
50
+ }
51
+ ],
52
+ "tradePro": {
53
+ "breadcrumbs": [
54
+ {
55
+ "url": "/",
56
+ "text": "Home"
57
+ },
58
+ {
59
+ "url": "/page_my-account-trade-pro.html",
60
+ "text": "My TradePro Account"
61
+ },
62
+ {
63
+ "url": "/",
64
+ "text": "TradePro Discount"
65
+ }
66
+ ],
67
+ "discountIdText": {
68
+ "text": "The Wickes TradePro discount does not apply to Gift Vouchers or Delivery Charges and cannot be used with any other voucher code or coupon. For full terms and conditions visit",
69
+ "link": "wickes.co.uk/trade/terms-conditions"
70
+ },
71
+ "onlineDiscountText": {
72
+ "text": "This voucher code will be automatically applied at checkout for you to receive 10% discount"
73
+ }
74
+ },
75
+ "downloadAppImages": {
76
+ "appStore": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"119.664\" height=\"40\"><path d=\"M110.135 0H9.535c-.367 0-.73 0-1.095.002-.306.002-.61.008-.919.013A13.215 13.215 0 0 0 5.517.19a6.665 6.665 0 0 0-1.9.627 6.438 6.438 0 0 0-1.62 1.18A6.258 6.258 0 0 0 .82 3.617a6.601 6.601 0 0 0-.625 1.903 12.993 12.993 0 0 0-.179 2.002c-.01.307-.01.615-.015.921V31.56c.005.31.006.61.015.921a12.992 12.992 0 0 0 .18 2.002 6.588 6.588 0 0 0 .624 1.905A6.208 6.208 0 0 0 1.998 38a6.274 6.274 0 0 0 1.618 1.179 6.7 6.7 0 0 0 1.901.63 13.455 13.455 0 0 0 2.004.177c.31.007.613.011.919.011.366.002.728.002 1.095.002h100.6c.36 0 .724 0 1.084-.002.304 0 .617-.004.922-.01a13.279 13.279 0 0 0 2-.178 6.804 6.804 0 0 0 1.908-.63A6.277 6.277 0 0 0 117.666 38a6.395 6.395 0 0 0 1.182-1.614 6.604 6.604 0 0 0 .619-1.905 13.506 13.506 0 0 0 .185-2.002c.004-.31.004-.61.004-.921.008-.364.008-.725.008-1.094V9.536c0-.366 0-.73-.008-1.092 0-.306 0-.614-.004-.92a13.507 13.507 0 0 0-.185-2.003 6.618 6.618 0 0 0-.62-1.903 6.466 6.466 0 0 0-2.798-2.8 6.768 6.768 0 0 0-1.908-.627 13.044 13.044 0 0 0-2-.176c-.305-.005-.618-.011-.922-.013-.36-.002-.725-.002-1.084-.002Z\" style=\"fill:#a6a6a6\"/><path d=\"M8.445 39.125c-.305 0-.602-.004-.904-.01a12.687 12.687 0 0 1-1.87-.164 5.884 5.884 0 0 1-1.656-.548 5.406 5.406 0 0 1-1.397-1.016 5.32 5.32 0 0 1-1.02-1.397 5.722 5.722 0 0 1-.544-1.657 12.414 12.414 0 0 1-.166-1.875c-.007-.21-.015-.913-.015-.913v-23.1s.009-.692.015-.895a12.37 12.37 0 0 1 .165-1.872 5.755 5.755 0 0 1 .544-1.662 5.373 5.373 0 0 1 1.015-1.398 5.565 5.565 0 0 1 1.402-1.023 5.823 5.823 0 0 1 1.653-.544A12.586 12.586 0 0 1 7.543.887l.902-.012h102.769l.913.013a12.385 12.385 0 0 1 1.858.162 5.938 5.938 0 0 1 1.671.548 5.594 5.594 0 0 1 2.415 2.42 5.763 5.763 0 0 1 .535 1.649 12.995 12.995 0 0 1 .174 1.887c.003.283.003.588.003.89.008.375.008.732.008 1.092v20.929c0 .363 0 .718-.008 1.075 0 .325 0 .623-.004.93a12.731 12.731 0 0 1-.17 1.853 5.739 5.739 0 0 1-.54 1.67 5.48 5.48 0 0 1-1.016 1.386 5.413 5.413 0 0 1-1.4 1.022 5.862 5.862 0 0 1-1.668.55 12.542 12.542 0 0 1-1.869.163c-.293.007-.6.011-.897.011l-1.084.002Z\"/><g data-name=\"&lt;Group&gt;\"><g data-name=\"&lt;Group&gt;\"><path data-name=\"&lt;Path&gt;\" d=\"M24.769 20.3a4.949 4.949 0 0 1 2.356-4.151 5.066 5.066 0 0 0-3.99-2.158c-1.68-.176-3.308 1.005-4.164 1.005-.872 0-2.19-.988-3.608-.958a5.315 5.315 0 0 0-4.473 2.728c-1.934 3.348-.491 8.269 1.361 10.976.927 1.325 2.01 2.805 3.428 2.753 1.387-.058 1.905-.885 3.58-.885 1.658 0 2.144.885 3.59.852 1.489-.025 2.426-1.332 3.32-2.67a10.962 10.962 0 0 0 1.52-3.092 4.782 4.782 0 0 1-2.92-4.4ZM22.037 12.21a4.872 4.872 0 0 0 1.115-3.49 4.957 4.957 0 0 0-3.208 1.66A4.636 4.636 0 0 0 18.8 13.74a4.1 4.1 0 0 0 3.237-1.53Z\" style=\"fill:#fff\"/></g><path d=\"M42.302 27.14H37.57l-1.137 3.356h-2.005l4.484-12.418h2.083l4.483 12.418h-2.039Zm-4.243-1.55h3.752l-1.85-5.446h-.051ZM55.16 25.97c0 2.813-1.506 4.62-3.779 4.62a3.07 3.07 0 0 1-2.848-1.583h-.043v4.484H46.63V21.442h1.8v1.506h.033a3.212 3.212 0 0 1 2.883-1.6c2.298 0 3.813 1.816 3.813 4.622Zm-1.91 0c0-1.833-.948-3.038-2.393-3.038-1.42 0-2.375 1.23-2.375 3.038 0 1.824.955 3.046 2.375 3.046 1.445 0 2.393-1.197 2.393-3.046ZM65.125 25.97c0 2.813-1.506 4.62-3.779 4.62a3.07 3.07 0 0 1-2.848-1.583h-.043v4.484h-1.859V21.442h1.799v1.506h.034a3.212 3.212 0 0 1 2.883-1.6c2.298 0 3.813 1.816 3.813 4.622Zm-1.91 0c0-1.833-.948-3.038-2.393-3.038-1.42 0-2.375 1.23-2.375 3.038 0 1.824.955 3.046 2.375 3.046 1.445 0 2.392-1.197 2.392-3.046ZM71.71 27.036c.138 1.232 1.334 2.04 2.97 2.04 1.566 0 2.693-.808 2.693-1.919 0-.964-.68-1.54-2.29-1.936l-1.609-.388c-2.28-.55-3.339-1.617-3.339-3.348 0-2.142 1.867-3.614 4.519-3.614 2.624 0 4.423 1.472 4.483 3.614h-1.876c-.112-1.239-1.136-1.987-2.634-1.987s-2.521.757-2.521 1.858c0 .878.654 1.395 2.255 1.79l1.368.336c2.548.603 3.606 1.626 3.606 3.443 0 2.323-1.85 3.778-4.793 3.778-2.754 0-4.614-1.42-4.734-3.667ZM83.346 19.3v2.142h1.722v1.472h-1.722v4.991c0 .776.345 1.137 1.102 1.137a5.808 5.808 0 0 0 .611-.043v1.463a5.104 5.104 0 0 1-1.032.086c-1.833 0-2.548-.689-2.548-2.445v-5.189h-1.316v-1.472h1.316V19.3ZM86.065 25.97c0-2.849 1.678-4.639 4.294-4.639 2.625 0 4.295 1.79 4.295 4.639 0 2.856-1.661 4.638-4.295 4.638-2.633 0-4.294-1.782-4.294-4.638Zm6.695 0c0-1.954-.895-3.108-2.401-3.108s-2.4 1.162-2.4 3.108c0 1.962.894 3.106 2.4 3.106s2.401-1.144 2.401-3.106ZM96.186 21.442h1.773v1.541h.043a2.16 2.16 0 0 1 2.177-1.635 2.866 2.866 0 0 1 .637.069v1.738a2.598 2.598 0 0 0-.835-.112 1.873 1.873 0 0 0-1.937 2.083v5.37h-1.858ZM109.384 27.837c-.25 1.643-1.85 2.771-3.898 2.771-2.634 0-4.269-1.764-4.269-4.595 0-2.84 1.644-4.682 4.19-4.682 2.506 0 4.08 1.72 4.08 4.466v.637h-6.394v.112a2.358 2.358 0 0 0 2.436 2.564 2.048 2.048 0 0 0 2.09-1.273Zm-6.282-2.702h4.526a2.177 2.177 0 0 0-2.22-2.298 2.292 2.292 0 0 0-2.306 2.298Z\" style=\"fill:#fff\"/></g><g data-name=\"&lt;Group&gt;\"><path d=\"M37.826 8.731a2.64 2.64 0 0 1 2.808 2.965c0 1.906-1.03 3.002-2.808 3.002h-2.155V8.73Zm-1.228 5.123h1.125a1.876 1.876 0 0 0 1.967-2.146 1.881 1.881 0 0 0-1.967-2.134h-1.125ZM41.68 12.444a2.133 2.133 0 1 1 4.248 0 2.134 2.134 0 1 1-4.247 0Zm3.334 0c0-.976-.439-1.547-1.208-1.547-.773 0-1.207.571-1.207 1.547 0 .984.434 1.55 1.207 1.55.77 0 1.208-.57 1.208-1.55ZM51.573 14.698h-.922l-.93-3.317h-.07l-.927 3.317h-.913l-1.242-4.503h.902l.806 3.436h.067l.926-3.436h.852l.926 3.436h.07l.803-3.436h.889ZM53.854 10.195h.855v.715h.066a1.348 1.348 0 0 1 1.344-.802 1.465 1.465 0 0 1 1.559 1.675v2.915h-.889v-2.692c0-.724-.314-1.084-.972-1.084a1.033 1.033 0 0 0-1.075 1.141v2.635h-.888ZM59.094 8.437h.888v6.26h-.888ZM61.218 12.444a2.133 2.133 0 1 1 4.247 0 2.134 2.134 0 1 1-4.247 0Zm3.333 0c0-.976-.439-1.547-1.208-1.547-.773 0-1.207.571-1.207 1.547 0 .984.434 1.55 1.207 1.55.77 0 1.208-.57 1.208-1.55ZM66.4 13.424c0-.81.604-1.278 1.676-1.344l1.22-.07v-.389c0-.475-.315-.744-.922-.744-.497 0-.84.182-.939.5h-.86c.09-.773.818-1.27 1.84-1.27 1.128 0 1.765.563 1.765 1.514v3.077h-.855v-.633h-.07a1.515 1.515 0 0 1-1.353.707 1.36 1.36 0 0 1-1.501-1.348Zm2.895-.384v-.377l-1.1.07c-.62.042-.9.253-.9.65 0 .405.351.64.834.64a1.062 1.062 0 0 0 1.166-.983ZM71.348 12.444c0-1.423.732-2.324 1.87-2.324a1.484 1.484 0 0 1 1.38.79h.067V8.437h.888v6.26h-.851v-.71h-.07a1.563 1.563 0 0 1-1.415.785c-1.145 0-1.869-.901-1.869-2.328Zm.918 0c0 .955.45 1.53 1.203 1.53.75 0 1.212-.583 1.212-1.526 0-.938-.468-1.53-1.212-1.53-.748 0-1.203.58-1.203 1.526ZM79.23 12.444a2.133 2.133 0 1 1 4.247 0 2.134 2.134 0 1 1-4.247 0Zm3.333 0c0-.976-.438-1.547-1.208-1.547-.772 0-1.207.571-1.207 1.547 0 .984.435 1.55 1.207 1.55.77 0 1.208-.57 1.208-1.55ZM84.67 10.195h.855v.715h.066a1.348 1.348 0 0 1 1.344-.802 1.465 1.465 0 0 1 1.559 1.675v2.915h-.889v-2.692c0-.724-.314-1.084-.972-1.084a1.033 1.033 0 0 0-1.075 1.141v2.635h-.889ZM93.515 9.074v1.141h.976v.749h-.976v2.315c0 .472.194.679.637.679a2.967 2.967 0 0 0 .339-.021v.74a2.916 2.916 0 0 1-.484.046c-.988 0-1.381-.348-1.381-1.216v-2.543h-.715v-.749h.715V9.074ZM95.705 8.437h.88v2.481h.07a1.386 1.386 0 0 1 1.374-.806 1.483 1.483 0 0 1 1.55 1.679v2.907h-.889V12.01c0-.72-.335-1.084-.963-1.084a1.052 1.052 0 0 0-1.134 1.142v2.63h-.888ZM104.761 13.482a1.828 1.828 0 0 1-1.95 1.303 2.045 2.045 0 0 1-2.081-2.325 2.077 2.077 0 0 1 2.076-2.352c1.253 0 2.009.856 2.009 2.27v.31h-3.18v.05a1.19 1.19 0 0 0 1.2 1.29 1.08 1.08 0 0 0 1.07-.546Zm-3.126-1.451h2.275a1.086 1.086 0 0 0-1.109-1.167 1.152 1.152 0 0 0-1.166 1.167Z\" style=\"fill:#fff\"/></g></svg>",
77
+ "googleStore": "<svg width=\"121\" height=\"41\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><rect x=\"1\" y=\".976\" width=\"119\" height=\"39\" rx=\"5.5\" fill=\"#000\"/><rect x=\"1\" y=\".976\" width=\"119\" height=\"39\" rx=\"5.5\" stroke=\"#A6A6A6\"/><path d=\"M18.305 19.937 8.59 30.481c0 .002 0 .005.002.007.298 1.145 1.32 1.988 2.534 1.988.485 0 .94-.135 1.331-.37l.031-.019 10.935-6.452-5.118-5.698Z\" fill=\"#EA4335\"/><path d=\"m28.133 18.142-.009-.007-4.721-2.798-5.319 4.84 5.338 5.457 4.696-2.77a2.696 2.696 0 0 0 1.382-2.366 2.69 2.69 0 0 0-1.367-2.356Z\" fill=\"#FBBC04\"/><path d=\"M8.59 10.469a2.69 2.69 0 0 0-.09.69v18.633c0 .239.031.47.09.69L18.64 20.207l-10.05-9.738Z\" fill=\"#4285F4\"/><path d=\"m18.376 20.476 5.028-5.141-10.922-6.476a2.582 2.582 0 0 0-1.356-.383c-1.214 0-2.238.844-2.536 1.99l-.001.003 9.787 10.007Z\" fill=\"#34A853\"/><path d=\"M44.11 12.186c0 1-.297 1.796-.89 2.39-.667.706-1.543 1.06-2.63 1.06-1.04 0-1.92-.36-2.64-1.08-.72-.72-1.08-1.607-1.08-2.66 0-1.054.36-1.94 1.08-2.66.72-.72 1.6-1.08 2.64-1.08.527 0 1.023.093 1.49.28.467.186.85.45 1.15.79l-.66.66a2.169 2.169 0 0 0-.86-.62 2.738 2.738 0 0 0-1.12-.23c-.78 0-1.44.27-1.98.81-.533.546-.8 1.23-.8 2.05 0 .82.267 1.503.8 2.05.54.54 1.2.81 1.98.81.713 0 1.307-.2 1.78-.6.473-.4.747-.95.82-1.65h-2.6v-.86h3.47c.033.186.05.366.05.54Zm5.298-3.87v.88h-3.26v2.27h2.94v.86h-2.94v2.27h3.26v.88h-4.18v-7.16h4.18Zm3.68.88v6.28h-.92v-6.28h-2v-.88h4.92v.88h-2Zm6.077 6.28h-.92v-7.16h.92v7.16Zm3.884-6.28v6.28h-.92v-6.28h-2v-.88h4.92v.88h-2Zm11.972 2.7c0 1.06-.353 1.946-1.06 2.66-.713.72-1.587 1.08-2.62 1.08-1.04 0-1.913-.36-2.62-1.08-.707-.714-1.06-1.6-1.06-2.66s.353-1.947 1.06-2.66c.707-.72 1.58-1.08 2.62-1.08s1.913.363 2.62 1.09c.707.713 1.06 1.596 1.06 2.65Zm-6.42 0c0 .826.26 1.51.78 2.05.527.54 1.18.81 1.96.81s1.43-.27 1.95-.81c.527-.534.79-1.217.79-2.05 0-.834-.263-1.517-.79-2.05-.52-.54-1.17-.81-1.95-.81s-1.433.27-1.96.81c-.52.54-.78 1.223-.78 2.05Zm8.426 3.58h-.92v-7.16h1.12l3.48 5.57h.04l-.04-1.38v-4.19h.92v7.16h-.96l-3.64-5.84h-.04l.04 1.38v4.46ZM94.018 31.885h1.629V20.874h-1.629v11.011Zm14.671-7.045-1.867 4.774h-.056l-1.938-4.774h-1.755l2.906 6.673-1.656 3.711h1.698L110.5 24.84h-1.811Zm-9.237 5.794c-.534 0-1.278-.268-1.278-.935 0-.85.926-1.175 1.726-1.175.716 0 1.054.156 1.489.368-.127 1.02-.997 1.742-1.937 1.742Zm.196-6.034c-1.179 0-2.401.524-2.906 1.686l1.446.608c.309-.608.884-.807 1.488-.807.843 0 1.699.51 1.713 1.417v.113c-.295-.17-.926-.425-1.699-.425-1.558 0-3.145.864-3.145 2.479 0 1.473 1.278 2.423 2.71 2.423 1.095 0 1.699-.496 2.078-1.077h.056v.85h1.572v-4.222c0-1.955-1.446-3.045-3.313-3.045Zm-10.066 1.58h-2.316v-3.774h2.316c1.218 0 1.91 1.018 1.91 1.887 0 .854-.692 1.888-1.91 1.888Zm-.042-5.306h-3.903v11.011h1.629v-4.172h2.274c1.805 0 3.58-1.319 3.58-3.42 0-2.1-1.775-3.42-3.58-3.42Zm-21.282 9.762c-1.125 0-2.067-.95-2.067-2.256 0-1.32.942-2.285 2.067-2.285 1.112 0 1.983.966 1.983 2.285 0 1.306-.871 2.256-1.983 2.256Zm1.87-5.18h-.056c-.366-.439-1.068-.836-1.954-.836-1.857 0-3.558 1.645-3.558 3.76 0 2.1 1.701 3.732 3.558 3.732.886 0 1.588-.397 1.954-.851h.057v.54c0 1.433-.76 2.2-1.983 2.2-.999 0-1.618-.725-1.87-1.335l-1.421.596c.408.994 1.49 2.214 3.29 2.214 1.913 0 3.53-1.136 3.53-3.903v-6.727H70.13v.61Zm2.673 6.43h1.631V20.872h-1.631v11.012Zm4.035-3.633c-.042-1.448 1.111-2.186 1.94-2.186.648 0 1.197.326 1.379.795l-3.319 1.39Zm5.063-1.25c-.31-.836-1.252-2.383-3.178-2.383-1.913 0-3.501 1.518-3.501 3.746 0 2.1 1.574 3.746 3.683 3.746 1.702 0 2.687-1.05 3.095-1.66l-1.266-.852c-.422.625-.999 1.036-1.829 1.036s-1.42-.383-1.8-1.134l4.964-2.073-.168-.425ZM42.35 25.77v1.589h3.768c-.112.894-.407 1.546-.857 2-.549.554-1.407 1.164-2.91 1.164-2.322 0-4.136-1.887-4.136-4.229s1.814-4.229 4.135-4.229c1.252 0 2.166.497 2.84 1.136l1.112-1.121c-.943-.908-2.194-1.604-3.952-1.604-3.178 0-5.85 2.611-5.85 5.819 0 3.207 2.672 5.817 5.85 5.817 1.715 0 3.009-.568 4.021-1.632 1.042-1.05 1.365-2.525 1.365-3.718 0-.369-.028-.709-.085-.992h-5.3Zm9.67 4.866c-1.124 0-2.095-.936-2.095-2.27 0-1.348.97-2.27 2.096-2.27 1.124 0 2.095.922 2.095 2.27 0 1.334-.97 2.27-2.095 2.27Zm0-6.016c-2.053 0-3.726 1.575-3.726 3.746 0 2.157 1.673 3.746 3.727 3.746 2.053 0 3.726-1.589 3.726-3.746 0-2.171-1.673-3.746-3.726-3.746Zm8.13 6.016c-1.125 0-2.096-.936-2.096-2.27 0-1.348.97-2.27 2.096-2.27 1.125 0 2.095.922 2.095 2.27 0 1.334-.97 2.27-2.095 2.27Zm0-6.016c-2.053 0-3.726 1.575-3.726 3.746 0 2.157 1.673 3.746 3.726 3.746s3.726-1.589 3.726-3.746c0-2.171-1.673-3.746-3.726-3.746Z\" fill=\"#fff\"/></svg>"
78
+ }
79
+ }
80
+ }
@@ -59,6 +59,28 @@
59
59
  ]
60
60
  }
61
61
  },
62
+ "confirmation-popup": {
63
+ "title": "Your personal email address will be changed",
64
+ "headerIcon": "fas fa-exclamation-circle",
65
+ "description": "Are you sure you want to change your email address to <span class=\"new-email\"></span>?",
66
+ "actions": {
67
+ "mod": "actions",
68
+ "buttons": [
69
+ {
70
+ "title": "Cancel",
71
+ "data-action": "cancel-reset",
72
+ "isPrimary": true,
73
+ "close-modal": true
74
+ },
75
+ {
76
+ "mod": "btn-continue",
77
+ "data-action": "reset-details",
78
+ "title": "Yes, continue",
79
+ "isSecondary": true
80
+ }
81
+ ]
82
+ }
83
+ },
62
84
  "diy": {
63
85
  "breadcrumbs": [
64
86
  {
Binary file
Binary file
@@ -10,6 +10,7 @@ Wick.ClampContent = {
10
10
  clampContentSelector: '.clamp-content',
11
11
  clampElementsList: [
12
12
  '.page-header__intro',
13
+ '.srp-injected__content'
13
14
  ],
14
15
  calculateLineCount(element) {
15
16
  const lineHeight = parseFloat(element.css('line-height'));
@@ -185,7 +185,7 @@ Wick.MainNav = (function () {
185
185
 
186
186
  if (section.color) {
187
187
  switch(section.color.toUpperCase()) {
188
- case 'GREEN':
188
+ case 'GREEN':
189
189
  colorClass = 'green'
190
190
  break;
191
191
  case 'RED':
@@ -194,7 +194,7 @@ Wick.MainNav = (function () {
194
194
  }
195
195
 
196
196
  switch(category) {
197
- case 1:
197
+ case 1:
198
198
  colorClass += ' main-nav__top-level__label--invert'
199
199
  break;
200
200
  case 2:
@@ -214,19 +214,19 @@ Wick.MainNav = (function () {
214
214
 
215
215
  if(section.color) {
216
216
  switch(section.color.toUpperCase()) {
217
- case 'GREEN':
217
+ case 'GREEN':
218
218
  style += `background-color: #9acd32; color: #fff;`
219
219
  break;
220
220
  case 'RED':
221
221
  style += `background-color: #cf000f; color: #fff;`
222
222
  break;
223
223
  }
224
- }
224
+ }
225
225
 
226
226
  if (section.bold) {
227
227
  style += 'font-weight: 700;';
228
228
  }
229
-
229
+
230
230
  return style+'"'
231
231
  }
232
232