jekyll-theme-marketing 0.5.0 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (232) hide show
  1. checksums.yaml +5 -5
  2. data/{LICENSE.txt → LICENSE} +1 -1
  3. data/README.md +6 -1
  4. data/_includes/components/analytics/google.js +13 -0
  5. data/_includes/components/assets/file-downloads.html +15 -0
  6. data/_includes/components/breadcrumbs/bootstrap.html +35 -0
  7. data/_includes/components/breadcrumbs/bootstrap.js +11 -0
  8. data/_includes/components/bullets/fontawesome.html +4 -0
  9. data/_includes/components/cards/bootstrap-h.html +20 -0
  10. data/_includes/components/cards/bootstrap-v.html +16 -0
  11. data/_includes/components/contact-cards/phone-card.html +6 -0
  12. data/_includes/components/contact-cards/phone-directory.html +22 -0
  13. data/_includes/components/copyrights/progressive.html +19 -0
  14. data/_includes/components/exchange-rates/progressive.html +6 -0
  15. data/_includes/{body/header/exchange-rates/usd.html → components/exchange-rates/progressive.js} +1 -6
  16. data/_includes/components/filters/isotope.html +32 -0
  17. data/_includes/components/filters/isotope.js +47 -0
  18. data/_includes/components/firebase/sdk.html +17 -0
  19. data/_includes/components/firebase/special-offers.html +28 -0
  20. data/_includes/components/firebase/ui.html +15 -0
  21. data/_includes/components/firebase/ui.js +33 -0
  22. data/_includes/{head/fonts.html → components/fonts/google.html} +0 -0
  23. data/_includes/components/footers/progressive/custom-item.liquid +1 -0
  24. data/_includes/components/footers/progressive/custom-title.liquid +1 -0
  25. data/_includes/components/footers/progressive/footer.html +43 -0
  26. data/_includes/components/footers/progressive/top.html +27 -0
  27. data/_includes/components/forms/formspree.html +59 -0
  28. data/_includes/components/forms/formspree.js +35 -0
  29. data/_includes/components/forms/google-forms.css +5 -0
  30. data/_includes/components/forms/google-forms.html +76 -0
  31. data/_includes/components/forms/google-forms.js +31 -0
  32. data/_includes/components/generators/pdf/special-offers.html +51 -0
  33. data/_includes/components/icons/bootstrap.html +14 -0
  34. data/_includes/components/icons/progressive.html +29 -0
  35. data/_includes/components/icons/progressive.js +5 -0
  36. data/_includes/components/info-cards/card-deck.html +16 -0
  37. data/_includes/components/info-cards/progressive.html +20 -0
  38. data/_includes/components/info-cards/search-results.html +38 -0
  39. data/_includes/components/jumbotron/bootstrap.html +5 -0
  40. data/_includes/components/lang-switchers/two-langs.html +27 -0
  41. data/_includes/components/login/progressive.html +89 -0
  42. data/_includes/components/logos/motorola.html +3 -0
  43. data/_includes/components/logos/progressive.html +3 -0
  44. data/_includes/components/maps/google-maps.html +2 -0
  45. data/_includes/components/maps/google-maps.js +96 -0
  46. data/_includes/components/maps/image-map.html +21 -0
  47. data/_includes/components/megamenu/progressive.html +35 -0
  48. data/_includes/{head/meta.html → components/meta/progressive.html} +5 -1
  49. data/_includes/components/modals/bootstrap.html +124 -0
  50. data/_includes/components/modals/bootstrap.js +26 -0
  51. data/_includes/components/nav-items/bootstrap.html +23 -0
  52. data/_includes/components/nav-tabs/product-nav-tab.html +48 -0
  53. data/_includes/components/nav-tabs/product-nav-tab.js +38 -0
  54. data/_includes/components/navbars/bootstrap.html +16 -0
  55. data/_includes/components/navbars/common.liquid +14 -0
  56. data/_includes/components/navbars/progressive.html +33 -0
  57. data/_includes/components/navbars/progressive.js +18 -0
  58. data/_includes/components/panels/brands.html +12 -0
  59. data/_includes/{body → components}/product-cards/3d-space.html +5 -5
  60. data/_includes/components/product-cards/featured-product.html +15 -0
  61. data/_includes/components/product-cards/product-details.html +48 -0
  62. data/_includes/components/product-cards/product-generals.html +54 -0
  63. data/_includes/components/product-cards/progressive.html +57 -0
  64. data/_includes/components/scripts/body.js +41 -0
  65. data/_includes/components/scripts/head.js +14 -0
  66. data/_includes/components/scroll-to-tops/progressive.html +3 -0
  67. data/_includes/components/search-engines/lunr.html +19 -0
  68. data/_includes/components/search-engines/lunr.js +119 -0
  69. data/_includes/components/searchbars/progressive.html +14 -0
  70. data/_includes/components/sidenavs/material/dependencies.html +2 -2
  71. data/_includes/components/sliders/bootstrap.html +37 -0
  72. data/_includes/components/sliders/lightslider.html +35 -0
  73. data/_includes/components/sliders/lightslider.js +12 -0
  74. data/_includes/components/sliders/revolution-slider.html +67 -0
  75. data/_includes/components/social-media/facebook.html +18 -0
  76. data/_includes/components/social-media/progressive.html +9 -0
  77. data/_includes/components/spinners/bootstrap.html +5 -0
  78. data/_includes/components/stylesheets/progressive.html +47 -0
  79. data/_includes/components/timelines/9.html +27 -0
  80. data/_includes/components/topbars/progressive.html +36 -0
  81. data/_includes/components/topbars/progressive.js +5 -0
  82. data/_includes/components/videos/background.html +22 -0
  83. data/_includes/components/videos/youtube.html +23 -0
  84. data/_includes/components/zendesk/script.js +9 -0
  85. data/_includes/pages/footer/grupopv/our-offices.js +22 -0
  86. data/_layouts/default.html +30 -12
  87. data/_layouts/grid.html +34 -28
  88. data/_layouts/page.html +4 -48
  89. data/_layouts/product.html +29 -174
  90. data/_sass/common/_common.scss +32 -0
  91. data/_sass/components/breadcrumbs/_bootstrap.scss +2 -3
  92. data/_sass/components/contact-cards/_location.scss +14 -0
  93. data/_sass/components/contact-cards/_phone-card.scss +17 -0
  94. data/_sass/components/footers/_vg_progressive.scss +72 -0
  95. data/_sass/components/forms/_formspree.scss +5 -0
  96. data/_sass/components/forms/_google-forms.scss +29 -0
  97. data/_sass/components/icons/bootstrap.scss +21 -0
  98. data/_sass/components/info-cards/_card-deck.scss +12 -0
  99. data/_sass/components/info-cards/search-results.scss +9 -0
  100. data/_sass/components/jumbotron/bootstrap.scss +5 -0
  101. data/_sass/components/lang-switchers/_toogle-lang.scss +0 -1
  102. data/_sass/components/login/progressive.scss +13 -0
  103. data/_sass/components/logos/progressive.scss +12 -0
  104. data/_sass/components/maps/google-maps.scss +13 -0
  105. data/_sass/components/megamenu/progressive.scss +9 -0
  106. data/_sass/components/nav-items/bootstrap.scss +26 -0
  107. data/_sass/components/navbars/bootstrap.scss +8 -0
  108. data/_sass/components/navbars/progressive.scss +94 -0
  109. data/_sass/components/product-cards/_3d-space.scss +12 -12
  110. data/_sass/components/product-cards/_product-details.scss +6 -0
  111. data/_sass/components/product-cards/_product-generals.scss +13 -0
  112. data/_sass/components/product-cards/_progressive.scss +30 -0
  113. data/_sass/components/product-cards/featured-product.scss +12 -0
  114. data/_sass/components/searchbars/progressive.scss +8 -0
  115. data/_sass/components/sidenavs/_material.scss +160 -0
  116. data/_sass/components/sliders/_lightslider.scss +33 -0
  117. data/_sass/components/social-media/_progressive.scss +25 -0
  118. data/_sass/components/timelines/9.scss +152 -0
  119. data/_sass/components/videos/background.scss +22 -0
  120. data/_sass/grupopv/_navbar.scss +22 -0
  121. data/_sass/layouts/_404.scss +39 -0
  122. data/_sass/layouts/_default.scss +3 -0
  123. data/_sass/layouts/_page.scss +70 -0
  124. data/_sass/layouts/_product.scss +56 -0
  125. data/assets/css/main.min.scss +88 -0
  126. data/assets/img/common/favicon.png +0 -0
  127. data/assets/js/firebase/firebase-account-controller.js +42 -0
  128. data/assets/js/firebase/firebase-login.js +4 -4
  129. data/assets/js/firebase/firebase-sdk.js +19 -0
  130. data/assets/js/firebase/firebase-special-offers.js +41 -0
  131. data/assets/node_modules/@fortawesome/fontawesome-free-brands/index.js +1221 -0
  132. data/assets/node_modules/@fortawesome/fontawesome-free-regular/index.js +489 -0
  133. data/assets/node_modules/@fortawesome/fontawesome-free-solid/index.js +2013 -0
  134. data/assets/node_modules/@fortawesome/fontawesome/index.js +1823 -0
  135. data/assets/node_modules/@fortawesome/fontawesome/styles.css +345 -0
  136. data/assets/node_modules/bootstrap/dist/css/bootstrap.min.css +5 -3
  137. data/assets/node_modules/bootstrap/dist/css/bootstrap.min.css.map +1 -0
  138. data/assets/node_modules/bootstrap/dist/js/bootstrap.min.js +6 -5
  139. data/assets/node_modules/bootstrap/dist/js/bootstrap.min.js.map +1 -0
  140. data/assets/node_modules/bootstrap/scss/_badge.scss +54 -0
  141. data/assets/node_modules/bootstrap/scss/_buttons.scss +139 -0
  142. data/assets/node_modules/bootstrap/scss/_functions.scss +134 -0
  143. data/assets/node_modules/bootstrap/scss/_nav.scss +120 -0
  144. data/assets/node_modules/bootstrap/scss/_reboot.scss +482 -0
  145. data/assets/node_modules/bootstrap/scss/_variables.scss +1143 -0
  146. data/assets/node_modules/bootstrap/scss/mixins/_background-variant.scss +22 -0
  147. data/assets/node_modules/bootstrap/scss/mixins/_badge.scss +17 -0
  148. data/assets/node_modules/bootstrap/scss/mixins/_border-radius.scss +63 -0
  149. data/assets/node_modules/bootstrap/scss/mixins/_box-shadow.scss +20 -0
  150. data/assets/node_modules/bootstrap/scss/mixins/_breakpoints.scss +123 -0
  151. data/assets/node_modules/bootstrap/scss/mixins/_buttons.scss +110 -0
  152. data/assets/node_modules/bootstrap/scss/mixins/_deprecate.scss +10 -0
  153. data/assets/node_modules/bootstrap/scss/mixins/_gradients.scss +45 -0
  154. data/assets/node_modules/bootstrap/scss/mixins/_hover.scss +37 -0
  155. data/assets/node_modules/bootstrap/scss/mixins/_text-emphasis.scss +17 -0
  156. data/assets/node_modules/bootstrap/scss/mixins/_text-hide.scss +11 -0
  157. data/assets/node_modules/bootstrap/scss/mixins/_text-truncate.scss +8 -0
  158. data/assets/node_modules/bootstrap/scss/mixins/_transition.scss +16 -0
  159. data/assets/node_modules/bootstrap/scss/utilities/_background.scss +19 -0
  160. data/assets/node_modules/bootstrap/scss/utilities/_text.scss +72 -0
  161. data/assets/node_modules/bootstrap/scss/vendor/_rfs.scss +204 -0
  162. data/assets/node_modules/firebase/firebase-app.js +2 -0
  163. data/assets/node_modules/firebase/firebase-app.js.map +1 -0
  164. data/assets/node_modules/firebase/firebase-auth.js +2 -0
  165. data/assets/node_modules/firebase/firebase-auth.js.map +1 -0
  166. data/assets/node_modules/firebase/firebase-firestore.js +2 -0
  167. data/assets/node_modules/firebase/firebase-firestore.js.map +1 -0
  168. data/assets/node_modules/flag-icon-css/flags/1x1/br.svg +41 -41
  169. data/assets/node_modules/flag-icon-css/flags/1x1/mx.svg +371 -378
  170. data/assets/node_modules/flag-icon-css/flags/1x1/us.svg +2 -2
  171. data/assets/node_modules/flag-icon-css/sass/_flag-icon-list.scss +265 -249
  172. data/assets/node_modules/flag-icon-css/sass/_variables.scss +1 -1
  173. data/assets/node_modules/flag-icon-css/sass/flag-icon.scss +3 -4
  174. data/assets/node_modules/isotope-layout/dist/isotope.pkgd.min.js +12 -0
  175. data/assets/node_modules/jquery.stellar/jquery.stellar.min.js +9 -0
  176. data/assets/node_modules/jquery/dist/jquery.min.js +2 -0
  177. data/assets/node_modules/jquery/dist/jquery.min.map +1 -0
  178. data/assets/node_modules/jspdf/dist/jspdf.min.js +149 -88
  179. data/assets/node_modules/lightslider/dist/css/lightslider.min.css +3 -0
  180. data/assets/node_modules/lightslider/dist/img/controls.png +0 -0
  181. data/assets/node_modules/lightslider/dist/js/lightslider.min.js +4 -0
  182. data/assets/node_modules/lunr/lunr.min.js +6 -0
  183. data/assets/node_modules/vue/dist/vue.min.js +3 -3
  184. data/assets/vendors/revolution-slider/assets/coloredbg.png +0 -0
  185. data/assets/vendors/revolution-slider/assets/shadow3.png +0 -0
  186. data/assets/vendors/revolution-slider/css/settings.css +1480 -0
  187. data/assets/vendors/revolution-slider/font/revicons.svg +54 -0
  188. data/assets/vendors/revolution-slider/font/revicons.woff +0 -0
  189. data/assets/vendors/revolution-slider/js/jquery.themepunch.revolution.min.js +11 -0
  190. data/assets/vendors/revolution-slider/js/jquery.themepunch.tools.min.js +138 -0
  191. data/assets/vendors/revolution-slider/js/settings.js +110 -0
  192. data/assets/vendors/themeforest/fonts/social-icons.eot +0 -0
  193. data/assets/vendors/themeforest/fonts/social-icons.svg +403 -0
  194. data/assets/vendors/themeforest/fonts/social-icons.ttf +0 -0
  195. data/assets/vendors/themeforest/fonts/social-icons.woff +0 -0
  196. data/assets/vendors/themeforest/progressive/css/animate.css +1582 -0
  197. data/assets/vendors/themeforest/progressive/css/base.css +278 -0
  198. data/assets/vendors/themeforest/progressive/css/buttons.css +272 -0
  199. data/assets/vendors/themeforest/progressive/css/cms.css +289 -0
  200. data/assets/vendors/themeforest/progressive/css/responsive.css +2111 -0
  201. data/assets/vendors/themeforest/progressive/css/social-icons.css +130 -0
  202. data/assets/vendors/themeforest/progressive/css/style.css +9521 -0
  203. data/assets/vendors/themeforest/progressive/images/svg/loader.svg +34 -0
  204. data/assets/vendors/themeforest/progressive/js/jquery.appear.js +150 -0
  205. data/assets/vendors/themeforest/progressive/js/main.js +2176 -0
  206. metadata +189 -40
  207. data/_includes/body/footer.html +0 -0
  208. data/_includes/body/footer/buttons.html +0 -40
  209. data/_includes/body/header.html +0 -0
  210. data/_includes/body/header/logo.html +0 -5
  211. data/_includes/body/header/search-contact-phone-buttons.html +0 -29
  212. data/_includes/body/header/top-bar.html +0 -20
  213. data/_includes/body/scripts.html +0 -41
  214. data/_includes/head/firebase/sdk.html +0 -4
  215. data/_includes/head/google-analytics.html +0 -0
  216. data/_includes/head/scripts.html +0 -9
  217. data/_includes/head/style.html +0 -50
  218. data/_sass/components/navbars/_vg_progressive.scss +0 -44
  219. data/_sass/layouts/_grid.scss +0 -13
  220. data/assets/css/main.scss +0 -23
  221. data/assets/js/bootstrap/nav-tabs.js +0 -36
  222. data/assets/node_modules/bootstrap/dist/fonts/glyphicons-halflings-regular.svg +0 -229
  223. data/assets/node_modules/bootstrap/dist/fonts/glyphicons-halflings-regular.ttf +0 -0
  224. data/assets/node_modules/bootstrap/dist/fonts/glyphicons-halflings-regular.woff +0 -0
  225. data/assets/node_modules/flag-icon-css/sass/_flag-icon-more.scss +0 -7
  226. data/assets/node_modules/font-awesome/css/font-awesome.min.css +0 -4
  227. data/assets/node_modules/font-awesome/fonts/fontawesome-webfont.eot +0 -0
  228. data/assets/node_modules/font-awesome/fonts/fontawesome-webfont.svg +0 -2671
  229. data/assets/node_modules/font-awesome/fonts/fontawesome-webfont.ttf +0 -0
  230. data/assets/node_modules/font-awesome/fonts/fontawesome-webfont.woff +0 -0
  231. data/assets/node_modules/font-awesome/fonts/fontawesome-webfont.woff2 +0 -0
  232. data/assets/node_modules/jquery/dist/cdn/jquery.min.js +0 -4
@@ -0,0 +1,48 @@
1
+ <hr>
2
+ <nav>
3
+ <div class="nav nav-pills nav-justified flex-column flex-sm-row" role="tablist">
4
+ {% for tab in include.tabs %}
5
+
6
+ {% if forloop.first == true %}
7
+ {% assign tab_class = 'active' %}
8
+ {% elsif tab.name == 'special-offers' and site.original or site.special-offers.customers == false %}
9
+ {% assign tab_class = 'd-none' %}
10
+ {% else %}
11
+ {% assign tab_class = '' %}
12
+ {% endif %}
13
+
14
+ {% if site.links.videos[tab.name].disabled == null %}
15
+ {% capture tab_id %}
16
+ {{ tab.name | downcase | replace: ' ', '-' }}
17
+ {% endcapture %}
18
+
19
+ <a class="nav-item nav-link {{ tab_class }}" data-toggle="tab" href="#{{ tab_id | strip }}" role="tab" aria-controls="{{ tab_id | strip }}" aria-selected="{{ forloop.first }}">
20
+ {{ site.data.i18n.common.product-layout[site.lang][tab.name] | default: tab.name }}
21
+ </a>
22
+ {% endif %}
23
+ {% endfor %}
24
+ </div>
25
+ </nav>
26
+ <hr>
27
+
28
+ <div class="tab-content">
29
+ {% for tab in include.tabs %}
30
+
31
+ {% if forloop.first == true %}
32
+ {% assign tab_class = 'show active' %}
33
+ {% else %}
34
+ {% assign tab_class = '' %}
35
+ {% endif %}
36
+
37
+ {% capture tab_id %}
38
+ {{ tab.name | downcase | replace: ' ', '-' }}
39
+ {% endcapture %}
40
+
41
+ <div class="tab-pane fade {{ tab_class }}" id="{{ tab_id | strip }}" role="tabpanel" aria-labelledby="{{ tab_id | strip | append: '-tab' }}">
42
+ <div class="container">
43
+ {% include {{ tab.component | prepend: 'components/' | append: '.html' }} params=tab.params %}
44
+ </div>
45
+ </div>
46
+
47
+ {% endfor %}
48
+ </div>
@@ -0,0 +1,38 @@
1
+ <script type="text/javascript">
2
+ jQuery(document).ready(function(){
3
+ // Javascript to enable link to tab
4
+ var url = document.location.toString();
5
+ if (url.match('#')) {
6
+ $('.nav-pills a[href="#' + url.split('#')[1] + '"]').tab('show');
7
+ }
8
+
9
+ // If this snippet is activated it will go down to the clicked tab and,
10
+ // on a page refresh... it will remember the active tab.
11
+ //
12
+ // $('.nav-tabs a').on('shown.bs.tab', function (e) {
13
+ // window.location.hash = e.target.hash;
14
+ // })
15
+
16
+ // TODO: This snippet is to fix the offset of the header-wrapper when scrolling to an active tab,
17
+ // but it is based on a landing page (one page website), we need to fix this and make it functional for a nab-tab page
18
+ //
19
+ // $('a[href*=#]:not([href=#])').click(function() {
20
+ // if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'')
21
+ // || location.hostname == this.hostname) {
22
+ //
23
+ // var target = $(this.hash),
24
+ // headerHeight = $(".header-wrapper").height() + 5; // Get fixed header height
25
+ // target = target.length ? target : $('[name=' + this.hash.slice(1) +']');
26
+ //
27
+ // if (target.length) {
28
+ // console.log(target.offset().top - headerHeight);
29
+ // $('html,body').animate({
30
+ // scrollTop: target.offset().top - headerHeight
31
+ // }, 500);
32
+ // return false;
33
+ // }
34
+ // }
35
+ // });
36
+
37
+ });
38
+ </script>
@@ -0,0 +1,16 @@
1
+ <nav class="navbar navbar-expand-lg d-lg-none" data-component="navbars/bootstrap">
2
+
3
+ <button class="navbar-toggler mr-sm-4" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
4
+ <i class="fas fa-bars mr-sm-5" data-fa-transform="down-1"></i>
5
+ </button>
6
+
7
+ {% include components/logos/progressive.html class="navbar-brand my-1" %} <!-- end navbar-brand -->
8
+ {% include components/icons/bootstrap.html %} <!-- end icons -->
9
+
10
+ <div class="collapse navbar-collapse" id="navbarSupportedContent">
11
+ <ul class="navbar-nav mr-auto">
12
+ {% include components/navbars/common.liquid component="nav-items/bootstrap" %}
13
+ </ul>
14
+ </div>
15
+
16
+ </nav>
@@ -0,0 +1,14 @@
1
+ {% assign sorted-menus = site.data.menus | sort %}
2
+ {% for menu-types in sorted-menus %}
3
+ {% for menu in menu-types[1] %}
4
+ {% if menu-types[0] == 'common' or menu-types[0] == 'customers' and site.original == false %}
5
+ {% for collection-type in site.defaults %}
6
+ {% if collection-type.scope.type == menu.collection %}
7
+ {% if collection-type.values.published == true -%}
8
+ {% include {{ include.component | prepend: 'components/' | append: '.html' }} %}
9
+ {% endif -%}
10
+ {% endif %}
11
+ {% endfor %}
12
+ {% endif %}
13
+ {% endfor %}
14
+ {% endfor %}
@@ -0,0 +1,33 @@
1
+ <div class="container-fluid d-none d-lg-block" data-component="navbars/progressive">
2
+ <div class="row mx-xl-4">
3
+
4
+ <div class="col-xs-6 col-md-3 logo-box"> <!-- start logo-box -->
5
+ {% include components/logos/progressive.html class="logo" %}
6
+ </div> <!-- end logo-box -->
7
+
8
+ <div class="col-xs-6 col-md-9 right-box"> <!-- start menu -->
9
+ <div class="right-box-wrapper">
10
+ {% include components/icons/progressive.html %}
11
+ <div class="primary">
12
+ <div class="navbar navbar-default navbar-expand-md" role="navigation">
13
+ <button type="button" class="navbar-toggler btn-navbar collapsed" data-toggle="collapse" data-target=".primary .navbar-collapse" aria-controls=".primary .navbar-collapse" aria-expanded="false" aria-label="Toggle navigation">
14
+ <i class="fas fa-bars fa-lg" data-fa-transform="grow-2 left-4"></i>
15
+ <span class="navbar-toggler-icon">Menu</span>
16
+ </button>
17
+ <nav class="collapse collapsing navbar-collapse">
18
+ <ul class="nav navbar-nav navbar-center">
19
+ {% include components/navbars/common.liquid component="megamenu/progressive" %}
20
+ </ul>
21
+ </nav>
22
+ </div>
23
+ </div>
24
+ </div>
25
+ </div> <!-- end menu -->
26
+
27
+ {% include components/contact-cards/phone-directory.html %} <!-- end phone directory -->
28
+ {% include components/searchbars/progressive.html %} <!-- end search bar -->
29
+
30
+ </div>
31
+ </div>
32
+
33
+ {% include components/navbars/progressive.js %}
@@ -0,0 +1,18 @@
1
+ <script type="text/javascript">
2
+ function goToSparesUrl(){
3
+ esMxUrl = '{{ site.data.menus.common[0].spares.esMxUrl }}'
4
+ enUsUrl = '{{ site.data.menus.common[0].spares.enUsUrl }}'
5
+ ptBrUrl = '{{ site.data.menus.common[0].spares.ptBrUrl }}'
6
+
7
+ currentLang = document.getElementsByTagName("html")[0].getAttribute("lang");
8
+
9
+ if (currentLang == 'en') {
10
+ window.location.href = enUsUrl;
11
+ } else if (currentLang == 'es') {
12
+ window.location.href = esMxUrl;
13
+ } else {
14
+ window.location.href = ptBrUrl;
15
+ }
16
+
17
+ }
18
+ </script>
@@ -0,0 +1,12 @@
1
+ <h5 class="post pt-4">{{ page.brand-panel.title }}</h5>
2
+ <p class="footer-font text-right">{{ page.brand-panel.text }}</p>
3
+ <hr>
4
+ <div class="row justify-content-center">
5
+ {% for brand in page.brand-panel.brands %}
6
+ <article class="col-4 col-md-3 col-lg-2 py-3">
7
+ <a href="{{ brand.href }}">
8
+ <img src="{{ site.amazon-s3 }}/components/panels/brands/img/{{ brand.img }}.png" alt="{{ brand.name }}" title="{{ brand.name }}">
9
+ </a>
10
+ </article>
11
+ {% endfor %}
12
+ </div>
@@ -3,10 +3,10 @@
3
3
  <div id="product-front-{{ include.id }}" class="product-front">
4
4
  <div class="shadow"></div>
5
5
  <img src="{{ include.img }}" alt="{{ include.model }}" class="img-center"/>
6
- <a {{ include.href }}><div class="image_overlay"></div></a>
7
- <div id="view_details-{{ include.id }}" class="view_details hide" data-id="{{ include.id }}">View details</div>
6
+ <a href="{{ include.href }}{% if site.special-offers.customers %}{{ '#special-offers' }}{% endif %}"><div class="image_overlay"></div></a>
7
+ <div id="view_details-{{ include.id }}" class="view_details d-none" data-id="{{ include.id }}">View details</div>
8
8
  <div class="stats">
9
- <a {{ include.href }}>
9
+ <a href="{{ include.href }}{% if site.special-offers.customers %}{{ '#special-offers' }}{% endif %}">
10
10
  <div class="stats-container">
11
11
  <span class="product_price">{{ include.price }} {{ include.currency }}</span>
12
12
  <span class="product_name">{{ include.commercial }}</span>
@@ -24,11 +24,11 @@
24
24
  <div id="product-back-{{ include.id }}" class="product-back">
25
25
  <div class="shadow"></div>
26
26
  <div id="carousel-{{ include.id }}" class="carousel">
27
- <ul>
27
+ <!-- <ul>
28
28
  <li class="marketing-theme content-centered"><img src="{{ include.img | replace: '.png', '_02.png' }}" alt="{{ include.model }}" /></li>
29
29
  <li class="marketing-theme content-centered"><img src="{{ include.img | replace: '.png', '_03.png' }}" alt="{{ include.model }}" /></li>
30
30
  <li class="marketing-theme content-centered"><img src="{{ include.img | replace: '.png', '_04.png' }}" alt="{{ include.model }}" /></li>
31
- </ul>
31
+ </ul> -->
32
32
  <div class="arrows-perspective">
33
33
  <div class="carouselPrev" data-id="{{ include.id }}">
34
34
  <div class="y"></div>
@@ -0,0 +1,15 @@
1
+ <div class="container">
2
+ <div class="card-group">
3
+ {% for featured-product in page.featured-products %}
4
+ <div class="card">
5
+ <a href="{{ featured-product.href | relative_url }}">
6
+ <img src="{{ site.amazon-s3 }}/components/product-cards/featured-product/img/{{ featured-product.img }}.png" class="card-img-top" alt="{{ featured-product.img }}" data-appear-animation="fadeInDown">
7
+ </a>
8
+ <div class="card-body" data-appear-animation="fadeInDown">
9
+ <h5 class="card-title">{{ featured-product.product }}</h5>
10
+ <p class="card-text">{{ featured-product.text }}</p>
11
+ </div>
12
+ </div>
13
+ {% endfor %}
14
+ </div>
15
+ </div>
@@ -0,0 +1,48 @@
1
+ <div data-component="product-cards/product-details">
2
+
3
+ <section id="product-details-header">
4
+ {% for resource in page.resources.spec-sheets.header %}
5
+ <img src="{{ site.amazon-s3 }}{{ resource }}" alt="{{ page.title }}" class="img-center">
6
+ {% endfor %}
7
+ </section>
8
+
9
+ {% if page.resources.spec-sheets.text %}
10
+ <section id="product-details-parragraph" class="marketing-theme clean-view">
11
+ {% for resource in page.resources.spec-sheets.text %}
12
+ {% assign i18n-resource-text = page.i18n[site.lang].resources.spec-sheets.text.[forloop.index0] %}
13
+ <p class="footer-font justify">{% if i18n-resource-text %}{{ i18n-resource-text }}{% else %}{{ resource }}{% endif %}</p>
14
+ {% endfor %}
15
+ </section>
16
+ {% endif %}
17
+
18
+ {% if page.resources.spec-sheets.specs %}
19
+ <section id="product-details-specs" class="marketing-theme clean-view">
20
+ <div class="title-box">
21
+ <h3>{{ site.data.i18n.components.product-cards[site.lang].product-details.features.title | default: 'Features' }}</h3>
22
+ </div>
23
+ <div class="row">
24
+ {% for resource in page.resources.spec-sheets.specs %}
25
+ {% assign i18n-resource-text = page.i18n[site.lang].resources.spec-sheets.specs.[forloop.index0] %}
26
+ {% include components/bullets/fontawesome.html %}
27
+ {% endfor %}
28
+ </div>
29
+ </section>
30
+ {% endif %}
31
+
32
+ {{ content }}
33
+
34
+ <div class="row">
35
+ <p id="product-details-footer" class="mx-auto">
36
+ {% for resource in page.resources.spec-sheets.catalog %}
37
+ <img src="{{ site.amazon-s3 }}{{ resource }}" alt="{{ page.title }}" class="img-center">
38
+ {% endfor %}
39
+ </p>
40
+ </div>
41
+
42
+ <section id="product-details-pricelists-notice" class="marketing-theme clean-view">
43
+ <article>
44
+ <p class="text-muted text-center">{{ site.data.i18n.components.product-cards[site.lang].product-details.pricelists-notice.title }}</p>
45
+ </article>
46
+ </section>
47
+
48
+ </div>
@@ -0,0 +1,54 @@
1
+ <div id="product-generals" class="col-xs-12 col-sm-12 col-md-8" data-appear-animation="fadeInUp">
2
+ <h3 id="{{ i18n-id }}" class="product-description">{% if i18n-description %}{{ i18n-description }}{% else %}{{ page.description }}{% endif %}</h3>
3
+ <p class="product-model">{{ site.data.i18n.common.product-layout[site.lang].model | default: 'Model' }}: <strong>{% if i18n-title %}{{ i18n-title }}{% else %}{{ page.title }}{% endif %}</strong></p>
4
+ <p class="product-brand">{{ site.data.i18n.common.product-layout[site.lang].brand | default: 'Brand' }}: <strong>{{ page.brand }}</strong></p>
5
+ <p class="product-commercial {% unless page.commercial %}{{ 'd-none' }}{% endunless %}">{{ site.data.i18n.common.product-layout[site.lang].commercial | default: 'Commercial' }}: <strong>{{ page.commercial }}</strong></p>
6
+ <p class="product-sat-code {% unless page.sat-code %}{{ 'd-none' }}{% endunless %}">{{ site.data.i18n.components.product-cards[site.lang].product-generals.sat-code.title | default: 'SAT code' }}: <strong>{{ page.sat-code }}</strong></p>
7
+ <div class="product-price">
8
+
9
+ {% assign collections = site.collections | where: "label", page.collection %}
10
+ {% for collection in collections %}
11
+
12
+ {% if collection.prices == false %}
13
+ <span class="badge badge-primary text-white">
14
+ <a href="/our-offices/" title="Our offices" class="white">
15
+ Contáctanos para un precio especial
16
+ </a>
17
+ </span>
18
+ {% endif %}
19
+
20
+ {% unless collection.prices == false %}
21
+
22
+ {% capture price %}
23
+ {% unless site.product.price.disabled %}
24
+ {% assign price-size = page.price | downcase | split: '.' | last | size %}
25
+ {% if page.price %}{{ page.price | prepend: '$ ' }}{% endif %}{% if price-size == 1 %}{{ "0" }}{% endif %}
26
+ {% if page.currency %}
27
+ {{ page.currency | prepend: ' ' }}
28
+ {% endif %}
29
+ {% endunless %}
30
+ {% endcapture %}
31
+ <span class="badge badge-primary text-white {% if page.promotion-price and site.original == false %}{{ 'disabled-price' }}{% endif %}">{{ price | strip }}</span>
32
+
33
+ {% capture promotion-price %}
34
+ {% unless site.original %}
35
+ {% if site.special-offers.customers %}
36
+ {% assign promotion-price-size = page.promotion-price | downcase | split: '.' | last | size %}
37
+ {% if page.promotion-price %}{{ page.promotion-price | prepend: '$ ' }}{% endif %}{% if promotion-price-size == 1 %}{{ "0" }}{% endif %}
38
+ {% if page.promotion-currency %}
39
+ {{ page.promotion-currency | prepend: ' ' }}
40
+ {% endif %}
41
+ {% else %}
42
+ <a href="/our-offices/" title="Our offices" class="white">
43
+ Contáctanos para un precio especial
44
+ </a>
45
+ {% endif %}
46
+ {% endunless %}
47
+ {% endcapture %}
48
+ <span class="badge badge-primary text-white">{{ promotion-price | strip }}</span>
49
+
50
+ {% endunless %}
51
+ {% endfor %}
52
+
53
+ </div>
54
+ </div>
@@ -0,0 +1,57 @@
1
+ <div class="col-12 col-md-6 col-lg-4 col-xl-3 pb-4 {{ doc.brand | downcase }} {{ doc.commercial | downcase }}" data-component="product-cards/progressive">
2
+
3
+ <div class="p-2 m-0" style="border: 1px solid #eee; border-radius: 15px; -moz-border-radius: 15px;">
4
+ <a {% if doc.menu-name or collection.products.detail or doc.menu-name %}{{ doc.url | relative_url | prepend: 'href="' | append: '"' }}{% endif %}>
5
+ <img id="{{ i18n-id }}" class="d-block mx-auto cover-image opacity-80" src="{{ doc.image }}" alt="{% if i18n-title %}{{ i18n-title }}{% else %}{{ doc.title | default: i18n-id }}{% endif %}" />
6
+ </a>
7
+
8
+ <a class="text-primary d-block text-center font-weight-bold text-decoration-none mt-1" id="{{ i18n-id }}" {% if doc.menu-name or collection.products.detail or doc.menu-name %}{{ doc.url | relative_url | prepend: 'href="' | append: '"' }}{% endif %}>
9
+ {% if i18n-title %}{{ i18n-title }}{% else %}{{ doc.title }}{% endif %}
10
+ </a>
11
+
12
+ <div class="text-center font-weight-bold small mt-2">
13
+ {{ doc.brand }} <span class="commercial">{{ doc.commercial }}</span>
14
+ </div>
15
+
16
+ <div id="{{ i18n-id }}" class="description text-secondary text-center small line-clamp-2 mx-1 mt-2">
17
+ {% if i18n-description %}{{ i18n-description }}{% else %}{{ doc.description }}{% endif %}
18
+ </div>
19
+
20
+ {% assign collections = site.collections | where: "label", page.collection %}
21
+ {% for collection in collections %}
22
+ {% unless collection.prices == false %}
23
+
24
+ {% unless site.product.price.disabled %}
25
+ <div class="text-right mb-1 mt-2">
26
+
27
+ {% capture price %}
28
+ {% assign doc-price-size = doc.price | downcase | split: '.' | last | size %}
29
+ {% if doc.price %}{{ doc.price | prepend: '$ ' }}{% endif %}{% if doc-price-size == 1 %}{{ "0" }}{% endif %}
30
+ {% if doc.currency %}
31
+ {{ doc.currency | prepend: ' ' }}
32
+ {% endif %}
33
+ {% endcapture %}
34
+ <span class="product-price badge badge-primary text-white text-sm {% if doc.promotion-price and site.original == false %}{{ 'disabled-price' }}{% endif %}">{{ price | strip }}</span>
35
+
36
+ {% capture promotion-price %}
37
+ {% unless site.original %}
38
+ {% if site.special-offers.customers %}
39
+ {% assign promotion-price-size = doc.promotion-price | downcase | split: '.' | last | size %}
40
+ {% if doc.promotion-price %}{{ doc.promotion-price | prepend: '$ ' }}{% endif %}{% if promotion-price-size == 1 %}{{ "0" }}{% endif %}
41
+ {% if doc.promotion-currency %}
42
+ {{ doc.promotion-currency | prepend: ' ' }}
43
+ {% endif %}
44
+ {% endif %}
45
+ {% endunless %}
46
+ {% endcapture %}
47
+ <span class="badge badge-primary text-white text-sm">{{ promotion-price | strip }}</span>
48
+
49
+ </div>
50
+ {% endunless %}
51
+
52
+ {% endunless %}
53
+ {% endfor %}
54
+
55
+ </div>
56
+
57
+ </div>
@@ -0,0 +1,41 @@
1
+ <div id="javascript">
2
+ <!-- 3D Space product card -->
3
+ <script src="{{ '/assets/js/product-cards/3d-space.js' | relative_url }}"></script>
4
+
5
+ <script src="{{ '/assets/node_modules/bootstrap/dist/js/bootstrap.min.js' | relative_url }}"></script>
6
+ <!-- <script src="/vendors/themes/vg_progressive/js/price-regulator/jshashtable-2.1_src.js"></script> -->
7
+ <!-- <script src="/vendors/themes/vg_progressive/js/price-regulator/jquery.numberformatter-1.2.3.js"></script> -->
8
+ <!-- <script src="/vendors/themes/vg_progressive/js/price-regulator/tmpl.js"></script> -->
9
+ <!-- <script src="/vendors/themes/vg_progressive/js/price-regulator/jquery.dependClass-0.1.js"></script> -->
10
+ <!-- <script src="/vendors/themes/vg_progressive/js/price-regulator/draggable-0.1.js"></script> -->
11
+ <!-- <script src="/vendors/themes/vg_progressive/js/price-regulator/jquery.slider.js"></script> -->
12
+ <!-- <script src="/vendors/themes/vg_progressive/js/jquery.carouFredSel-6.2.1-packed.js"></script> -->
13
+ <!-- <script src="/vendors/themes/vg_progressive/js/jquery.touchSwipe.min.js"></script> -->
14
+ <!-- <script src="/vendors/themes/vg_progressive/js/jquery.elevateZoom-3.0.8.min.js"></script> -->
15
+ <!-- <script src="/vendors/themes/vg_progressive/js/jquery.imagesloaded.min.js"></script> -->
16
+ <!-- <script src="/vendors/themes/vg_progressive/js/jquery.sparkline.min.js"></script> -->
17
+ <!-- <script src="/vendors/themes/vg_progressive/js/jquery.easypiechart.min.js"></script> -->
18
+ <!-- <script src="/vendors/themes/vg_progressive/js/jquery.easing.1.3.js"></script> -->
19
+ <!-- <script src="/vendors/themes/vg_progressive/js/jquery.fancybox.pack.js"></script> -->
20
+ <!-- <script src="/vendors/themes/vg_progressive/js/isotope.pkgd.min.js"></script> -->
21
+ <!-- <script src="/vendors/themes/vg_progressive/js/jquery.knob.js"></script> -->
22
+ <!-- <script src="{{ '/assets/node_modules/jquery.stellar/jquery.stellar.min.js' | relative_url }}"></script> -->
23
+ <!-- <script src="/vendors/themes/vg_progressive/js/jquery.selectBox.min.js"></script> -->
24
+ <!-- <script src="/vendors/themes/vg_progressive/js/jquery.tubular.1.0.js"></script> -->
25
+ <!-- <script src="/vendors/themes/vg_progressive/js/SmoothScroll.js"></script> -->
26
+ <!-- <script src="/vendors/themes/vg_progressive/js/country.js"></script> -->
27
+ <!-- <script src="/vendors/themes/vg_progressive/js/spin.min.js"></script> -->
28
+ <!-- <script src="/vendors/themes/vg_progressive/js/ladda.min.js"></script> -->
29
+ <!-- <script src="/vendors/themes/vg_progressive/js/masonry.pkgd.min.js"></script> -->
30
+ <!-- <script src="/vendors/themes/vg_progressive/js/morris.min.js"></script> -->
31
+ <!-- <script src="/vendors/themes/vg_progressive/js/raphael.min.js"></script> -->
32
+ <!-- <script src="/vendors/themes/vg_progressive/js/video.js"></script> -->
33
+ <!-- <script src="/vendors/themes/vg_progressive/js/pixastic.custom.js"></script> -->
34
+ <!-- <script src="/vendors/themes/vg_progressive/js/livicons-1.3.min.js"></script> -->
35
+ <!-- <script src="/vendors/themes/vg_progressive/js/bootstrapValidator.min.js"></script> -->
36
+ <!-- <script src="/vendors/themes/vg_progressive/js/bootstrap-datepicker.js"></script> -->
37
+ <!-- <script src="/vendors/themes/vg_progressive/js/jplayer/jquery.jplayer.min.js"></script> -->
38
+ <!-- <script src="/vendors/themes/vg_progressive/js/jplayer/jplayer.playlist.min.js"></script> -->
39
+ <script src="{{ '/assets/vendors/themeforest/progressive/js/jquery.appear.js' | relative_url }}"></script>
40
+ <script src="{{ '/assets/vendors/themeforest/progressive/js/main.js' | relative_url }}"></script>
41
+ </div>
@@ -0,0 +1,14 @@
1
+ <script src="{{ '/assets/node_modules/@fortawesome/fontawesome-free-brands/index.js' | relative_url }}"></script>
2
+ <script src="{{ '/assets/node_modules/@fortawesome/fontawesome-free-regular/index.js' | relative_url }}"></script>
3
+ <script src="{{ '/assets/node_modules/@fortawesome/fontawesome-free-solid/index.js' | relative_url }}"></script>
4
+ <script src="{{ '/assets/node_modules/@fortawesome/fontawesome/index.js' | relative_url }}"></script>
5
+ <script src="{{ '/assets/node_modules/jquery/dist/jquery.min.js' | relative_url }}"></script>
6
+
7
+ <script src="{{ '/assets/vendors/revolution-slider/js/jquery.themepunch.tools.min.js' | relative_url }}" type="text/javascript"></script>
8
+ <script src="{{ '/assets/vendors/revolution-slider/js/jquery.themepunch.revolution.min.js' | relative_url }}" type="text/javascript"></script>
9
+
10
+ <script src="{{ 'assets/node_modules/lightslider/dist/js/lightslider.min.js' | relative_url }}"></script>
11
+
12
+ {% if site.zendesk %}
13
+ {% include components/zendesk/script.js %}
14
+ {% endif %}