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
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: c1822c98d84877b6b24a176a0be3f1f4f8e4b34c
4
- data.tar.gz: 989d2e4a702116e825a07c741a6fd7139da64c19
2
+ SHA256:
3
+ metadata.gz: f74b6d666a5997d10b8eb2bdbd38c083300ab0c81ebdaed80155ebb50ab0a4cd
4
+ data.tar.gz: 2786d503d82756d0261322e7edf389c2c2c130dd04a3fdc53cbd2062fb7c57ed
5
5
  SHA512:
6
- metadata.gz: e2afd4ae7c8707ac8bb250007ebb48b50ec5d74245f32fc92f854fd33910549c0d6761b9d844d170146c45333b58d850e14aee0a14a62f0f2621103ba171e653
7
- data.tar.gz: 9b32a61a8527e8afa457099f587dbf68c189c6f3afb98dbee05831dabdddd9e5b0f2624b64d0d8924db3e4735314a6fac2f3d9194267f62ea7daa8192ffa645f
6
+ metadata.gz: 5c99f944a5e9f745cfa6c8a7cc5b3761378ea97a9ed6eb068c5487d468f6d3360ac23aa62f1382856bce1e9a2d8ab9b90c22b65518534fa2da64b659f213e6c6
7
+ data.tar.gz: a20ee267dd27bbd886bb315736512564c0e09ecc1e883b9481667fc79b8bc9bd148c70ab1b5a1bd9f31e6d523c68cebb9b7b44b858970539161a0805fdf974b5
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2018 Edgar Tinajero
3
+ Copyright (c) 2019 Edgar Tinajero
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -1,6 +1,11 @@
1
1
  # jekyll-theme-marketing
2
2
 
3
- Right now just a test theme for Jekyll.
3
+ [![Gem Version](https://badge.fury.io/rb/jekyll-theme-marketing.svg)](https://rubygems.org/gems/jekyll-theme-marketing)
4
+ [![CI Status](https://travis-ci.org/cetinajero/jekyll-theme-marketing.svg?branch=master)](https://travis-ci.org/cetinajero/jekyll-theme-marketing)
5
+ [![Dependabot Status](https://api.dependabot.com/badges/status?host=github&repo=cetinajero/jekyll-theme-marketing)](https://github.com/cetinajero/jekyll-theme-marketing/pulls?utf8=✓&q=is%3Apr+author%3Aapp%2Fdependabot)
6
+ [![Gem Downloads](https://ruby-gem-downloads-badge.herokuapp.com/jekyll-theme-marketing?type=total&total_label=)](https://rubygems.org/gems/jekyll-theme-marketing)
7
+
8
+ A Jekyll theme :gem: managed with Yarn.
4
9
 
5
10
  ## Installation
6
11
 
@@ -0,0 +1,13 @@
1
+ {% if site.google-analytics %}
2
+ <!-- Start Google Analytics -->
3
+ <script type="text/javascript">var _gaq = _gaq || [];
4
+ _gaq.push(['_setAccount', '{{ site.google-analytics }}']);
5
+ _gaq.push(['_trackPageview']);
6
+ (function() {
7
+ var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
8
+ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
9
+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
10
+ })();
11
+ </script>
12
+ <!-- End Google Analytics -->
13
+ {% endif %}
@@ -0,0 +1,15 @@
1
+ {% if page.resources.downloads %}
2
+ {% for resource in page.resources.downloads %}
3
+ {% assign i18n-resource-text = page.i18n[site.lang].resources.downloads[forloop.index0].text %}
4
+ <p>
5
+ <a class="btn btn-primary btn-sm" href="{{ site.amazon-s3 }}{{ resource.link }}">
6
+ <strong><i class="fas fa-download fa-lg" data-fa-transform="left-4"></i> {{ site.data.i18n.common.product-layout[site.lang].download }}</strong>
7
+ </a>
8
+ <span class="product-downloads">
9
+ {% if i18n-resource-text %}{{ i18n-resource-text }}{% else %}{{ resource.text }}{% endif %}
10
+ </span>
11
+ </p>
12
+ {% endfor %}
13
+ {% else %}
14
+ <p>{{ site.data.i18n.common.product-layout[site.lang].downloads-empty }}</p>
15
+ {% endif %}
@@ -0,0 +1,35 @@
1
+ <nav class="breadcrumb-component px-xl-5" aria-label="breadcrumb">
2
+ <ol id="breadcrumb" class="breadcrumb">
3
+ {% for level in (-1..page.categories.size) %}
4
+ {% if forloop.first %}
5
+ <li class="breadcrumb-item home"><a href="{{ '/' | relative_url }}"><i class="fas fa-home fa-lg" data-fa-transform="up-2"></i></a></li>
6
+ <li class="breadcrumb-item ellipsis d-none pl-1">...</li>
7
+ {% if page.menu-father %}
8
+ <li class="breadcrumb-item {{ page.collection }} pl-1"><a href="{{ page.collection | prepend: '/' | relative_url }}">{% if site.data.i18n.catalog[page.collection][site.lang][page.collection].title %}{{ site.data.i18n.catalog[page.collection][site.lang][page.collection].title }}{% else %}{{ page.collection | capitalize }}{% endif %}</a></li>
9
+ {% endif %}
10
+ {% elsif forloop.last %}
11
+ <li class="breadcrumb-item {{ i18n-id }} pl-1 active" aria-current="page">{% if i18n-title %}{{ i18n-title }}{% else %}{{ page.title }}{% endif %}</li>
12
+ {% else %}
13
+ {% assign cat-num = forloop.index %}
14
+ {% assign url-size = page.url | size | minus: 2 %}
15
+ {% assign sections = page.url | slice: 1,url-size | split : '/' %}
16
+ {% capture level-url %}
17
+ {% for section in sections %}
18
+ {% if forloop.index > cat-num %} {% break %} {% endif %}
19
+ {{ section | append: '/' }}
20
+ {% endfor %}
21
+ {% endcapture %}
22
+ {% assign level-url = level-url | strip_newlines | replace: ' ', '' | relative_url %}
23
+ {% assign level-url-size = level-url | size | minus: 2 %}
24
+ {% assign level-i18n-id = level-url | slice: 1,level-url-size | replace: '/', '-' | remove_first: page.collection | remove_first: '-' %}
25
+ {% assign level-i18n-title = site.data.i18n.catalog[page.collection][site.lang][level-i18n-id].title %}
26
+ {% assign page-commercial-downcase = page.commercial | downcase | replace: ' ', '-' %}
27
+ {% unless page.categories[level] == page-commercial-downcase %}
28
+ <li class="breadcrumb-item {{ level-i18n-id }} pl-1"><a href="{{ level-url }}">{% if level-i18n-title %}{{ level-i18n-title }}{% else %}{{ page.categories[level] | replace: '-', ' ' | capitalize }}{% endif %}</a></li>
29
+ {% endunless %}
30
+ {% endif %}
31
+ {% endfor %}
32
+ </ol>
33
+ </nav>
34
+
35
+ {% include components/breadcrumbs/bootstrap.js %}
@@ -0,0 +1,11 @@
1
+ <script>
2
+ var items = $('#breadcrumb > li.breadcrumb-item');
3
+ if (items.length > 3){
4
+ if (items.length > 4) $('li.breadcrumb-item.ellipsis').removeClass('d-none').addClass('d-xs-inline d-md-none');
5
+ if (items.length > 5) $('li.breadcrumb-item.ellipsis').removeClass('d-md-none').addClass('d-lg-none');
6
+ items.each(function( index ) {
7
+ if (index > 1 && index < items.length) if (index != items.length-2) $(this).addClass('d-none d-md-inline');
8
+ if (index > 1 && index < items.length-3) $(this).removeClass('d-md-inline').addClass('d-lg-inline');
9
+ });
10
+ }
11
+ </script>
@@ -0,0 +1,4 @@
1
+ <article class="col-sm-6 col-lg-4">
2
+ <span class="text-muted"><i class="text-primary fas fa-check-circle"></i> {% if i18n-resource-text %}{{ i18n-resource-text.name }}{% else %}{{ resource.name }}{% endif %}</span>
3
+ <div class="lead">{% if i18n-resource-text %}{{ i18n-resource-text.value }}{% else %}{{ resource.value }}{% endif %}</div>
4
+ </article>
@@ -0,0 +1,20 @@
1
+ <div class="card m-2" style="max-width: 500px;">
2
+ <div class="row no-gutters">
3
+ <div class="col-md-4">
4
+ <a href="{{ card.href }}" class="card-link">
5
+ <img src="{{ site.amazon-s3 }}/assets/img/catalog/thumbnails/{{ card.img }}.png" class="card-img" alt="{{ card.title }}">
6
+ </a>
7
+ </div>
8
+ <div class="col-md-8">
9
+ <div class="card-body">
10
+ <a href="{{ card.href }}" class="card-link">
11
+ <h5 class="card-title">{{ card.title }}</h5>
12
+ </a>
13
+ <p class="card-text">{{ card.text }}</p>
14
+ <div class="card-body">
15
+ <a href="{{ card.href }}" class="card-link">{{ card.button }}</a>
16
+ </div>
17
+ </div>
18
+ </div>
19
+ </div>
20
+ </div>
@@ -0,0 +1,16 @@
1
+ <div class="col-6 col-md-4 col-lg-3">
2
+ <div class="card my-3">
3
+ <a href="{{ card.href }}" class="card-link px-3">
4
+ <img src="{{ site.amazon-s3 }}/assets/img/catalog/thumbnails/{{ card.img }}.png" class="card-img-top" alt="{{ card.title }}">
5
+ </a>
6
+ <div class="card-body">
7
+ <a href="{{ card.href }}" class="card-link">
8
+ <h5 class="card-title">{{ card.title }}</h5>
9
+ </a>
10
+ <p class="card-text small line-clamp-2">{{ card.text }}</p>
11
+ </div>
12
+ <div class="card-body">
13
+ <a href="{{ card.href }}" class="card-link float-right pt-3">{{ card.button }}</a>
14
+ </div>
15
+ </div>
16
+ </div>
@@ -0,0 +1,6 @@
1
+ <div class="phone-card text-center">
2
+ <a href="tel:{{ site.address[0].phone[0].number }}">
3
+ <i class="fas fa-phone-square"></i>
4
+ {{ site.address[0].phone[0].number }}
5
+ </a>
6
+ </div>
@@ -0,0 +1,22 @@
1
+ {% if site.address.size == 1 %}
2
+ {% assign classes = "col-xs-10 col-sm-12 col-md-12" %}
3
+ {% else %}
4
+ {% assign classes = "col-5 col-sm-6 col-md-6" %}
5
+ {% endif %}
6
+
7
+ <div class="phone-active col-sm-9 col-md-9">
8
+ <a href="#" class="close" data-proofer-ignore><span>{{ site.data.i18n.common.menu[site.lang].close.title }}</span>×</a>
9
+
10
+ <div class="custom col-sm-10">
11
+ <div class="row">
12
+ {% for address in site.address %}
13
+ <div class="{{ classes }}">
14
+ <span class="phone">
15
+ <strong>{{ address.name }}:</strong>
16
+ <a href="tel:{{ address.phone[0].number }}">{{ address.phone[0].number }}</a>
17
+ </span>
18
+ </div>
19
+ {% endfor %}
20
+ </div>
21
+ </div>
22
+ </div>
@@ -0,0 +1,19 @@
1
+ {% if site.original -%}
2
+ {% if site.title == 'Grupo PV' %}
3
+ {% assign classes = "col-md-8" %}
4
+ {% else -%}
5
+ {% assign classes = "col-md-11" %}
6
+ {% endif -%}
7
+ {% else -%}
8
+ {% assign classes = "col-md-6" %}
9
+ {% endif -%}
10
+
11
+ <div class="copyright {{ classes }} d-flex align-items-center">
12
+ <div>
13
+ <p>{{ site.data.i18n.common.footer[site.lang].price_list_message.title }}</p>
14
+ <p>{{ site.data.i18n.common.footer[site.lang].price_changes.title }}</p>
15
+ {% if site.original == false %}
16
+ <p>{{ site.data.i18n.common.footer[site.lang].motorola_legend.title }}</p>
17
+ {% endif %}
18
+ </div>
19
+ </div>
@@ -0,0 +1,6 @@
1
+ <i class="far fa-money-bill-alt fa-lg ml-2" data-fa-transform="grow-5 left-4 up-1"></i>
2
+ <span id="sell-usd-exchange-rates"></span>
3
+ <i class="fas fa-info-circle fa-lg d-none d-md-inline ml-2" data-fa-transform="grow-2 left-2 up-1"></i>
4
+ <span id="updated-at-usd-exchange-rates" class="d-none d-md-inline"></span>
5
+
6
+ {% include components/exchange-rates/progressive.js %}
@@ -1,8 +1,3 @@
1
- <span class="glyphicon glyphicon-globe"></span>
2
- <span id="sell-usd-exchange-rates"></span>
3
- <span class="glyphicon glyphicon-info-sign hidden-xs"></span>
4
- <span id="updated-at-usd-exchange-rates" class="hidden-xs"></span>
5
-
6
1
  <script>
7
2
  function capitalize(string) {
8
3
  return string.charAt(0).toUpperCase() + string.slice(1);
@@ -31,7 +26,7 @@
31
26
  if (doc && doc.exists) {
32
27
  const data = doc.data();
33
28
  usdSell.innerText = "USD: " + data.sell.toFixed(2);
34
- usdUpdatedAt.innerText = parseDate(new Date(data.updated_at));
29
+ usdUpdatedAt.innerText = parseDate(new Date(data.updated_at.toDate()));
35
30
  }
36
31
  });
37
32
  }
@@ -0,0 +1,32 @@
1
+ <script type="text/javascript">
2
+ // Initialize filter functions variable
3
+ var filterFns = {};
4
+ </script>
5
+
6
+ <div id="filters">
7
+ {% for filter in page.filters %}
8
+ <div class="ui-group mb-3">
9
+ <h5>{{ filter.title }}</h5>
10
+ <div class="btn-group-vertical w-100" role="group" data-filter-group="{{ filter.title }}">
11
+ <button type="button" class="btn btn-light text-decoration-none btn-sm text-left active" data-filter="">{{ filter.genre }}</button>
12
+ {% for option in filter.options %}
13
+ {% capture filter_name %}
14
+ {{ filter.title | replace: ' ', '_' }}_{{ option.title | replace: ' ', '_' | replace: '-', '_' | replace: '.', '_' | replace: '/', '_' }}
15
+ {% endcapture%}
16
+ <button type="button" class="btn btn-light text-decoration-none btn-sm text-left" data-filter="{% if option.filter.rule %}{{ filter_name | strip }}{% else %}{{ option.filter }}{% endif %}">{{ option.title }}</button>
17
+ {% if option.filter.rule %}
18
+ <script type="text/javascript">
19
+ var newItem = {
20
+ {{ filter_name | strip }}: function() {
21
+ var target = $(this).{{ option.filter.target }};
22
+ return {{ option.filter.rule }};
23
+ }
24
+ }
25
+ Object.assign(filterFns, newItem);
26
+ </script>
27
+ {% endif %}
28
+ {% endfor %}
29
+ </div>
30
+ </div>
31
+ {% endfor %}
32
+ </div>
@@ -0,0 +1,47 @@
1
+ // store filter for each group
2
+ var filters = {};
3
+
4
+ // init Isotope
5
+ var $grid = $('[data-layout="grid"] .grid').isotope({
6
+ itemSelector: '[data-component="product-cards/progressive"]',
7
+ filter: function() {
8
+
9
+ var isMatched = true;
10
+ var $this = $(this);
11
+
12
+ for ( var prop in filters ) {
13
+ var filter = filters[ prop ];
14
+ // use function if it matches
15
+ filter = filterFns[ filter ] || filter;
16
+ // test each filter
17
+ if ( filter ) {
18
+ isMatched = isMatched && $(this).is( filter );
19
+ }
20
+ // break if not matched
21
+ if ( !isMatched ) {
22
+ break;
23
+ }
24
+ }
25
+ return isMatched;
26
+ }
27
+ });
28
+
29
+ $('#filters').on( 'click', '.btn', function() {
30
+ var $this = $(this);
31
+ // get group key
32
+ var $buttonGroup = $this.parents('.btn-group-vertical');
33
+ var filterGroup = $buttonGroup.attr('data-filter-group');
34
+ // set filter for group
35
+ filters[ filterGroup ] = $this.attr('data-filter');
36
+ // arrange, and use filter fn
37
+ $grid.isotope();
38
+ });
39
+
40
+ // change is-checked class on buttons
41
+ $('.btn-group-vertical').each( function( i, buttonGroup ) {
42
+ var $buttonGroup = $( buttonGroup );
43
+ $buttonGroup.on( 'click', 'button', function() {
44
+ $buttonGroup.find('.active').removeClass('active');
45
+ $( this ).addClass('active');
46
+ });
47
+ });
@@ -0,0 +1,17 @@
1
+ <script src="{{ '/assets/node_modules/firebase/firebase-app.js' | relative_url }}"></script>
2
+ <script src="{{ '/assets/node_modules/firebase/firebase-auth.js' | relative_url }}"></script>
3
+ <script src="{{ '/assets/node_modules/firebase/firebase-firestore.js' | relative_url }}"></script>
4
+
5
+ <script src="{{ '/assets/js/firebase/firebase-sdk.js' | relative_url }}"></script>
6
+
7
+ {% for awards_category in site.awards %}
8
+ {% for award in awards_category.awards %}
9
+ {% if award == "csapv-2019" %}
10
+ {% assign customer_csapv = true %}
11
+ {% endif %}
12
+ {% endfor %}
13
+ {% endfor %}
14
+
15
+ {% if site.original or customer_csapv %}
16
+ <script src="{{ '/assets/js/firebase/firebase-login.js' | relative_url }}"></script>
17
+ {% endif %}
@@ -0,0 +1,28 @@
1
+ <div class="container programming-software">
2
+ <div class="row">
3
+ <div class="col-xs-6 col-sm-4 col-md-3">
4
+ <div>
5
+ <a href="{{ site.amazon-s3 }}/special-offers/pdf/documents/current-month-year-base64-hash/monthly-promotions.pdf">
6
+ <img class="product-image" src="{{ site.amazon-s3 }}/assets/pdf/formats/purchase-order-print.pdf" alt="pdf" />
7
+ </a>
8
+ </div>
9
+ <div class="product-model">
10
+ <a href="{{ site.amazon-s3 }}/special-offers/pdf/documents/current-month-year-base64-hash/monthly-promotions.pdf">
11
+ {{ site.data.i18n.common.pages[site.lang].monthly-promotions.title }}
12
+ </a>
13
+ </div>
14
+ </div>
15
+ <div class="col-xs-6 col-sm-4 col-md-3">
16
+ <div>
17
+ <a href="https://s3.amazonaws.com/online.fliphtml5.com/ggpn/lepq/index.html">
18
+ <img class="product-image" src="/img/pages/footer/monthly-promotions/magazine.png" alt="magazine" />
19
+ </a>
20
+ </div>
21
+ <div class="product-model">
22
+ <a href="https://s3.amazonaws.com/online.fliphtml5.com/ggpn/lepq/index.html">
23
+ {{ site.data.i18n.common.pages[site.lang].magazine.title }}
24
+ </a>
25
+ </div>
26
+ </div>
27
+ </div>
28
+ </div> <!-- /container -->
@@ -0,0 +1,15 @@
1
+ {% capture firebase-lang %}
2
+ {{ site.lang | slice: 0,2 | default: "en" }}
3
+ {% endcapture %}
4
+ {% assign firebase-lang = firebase-lang | strip %}
5
+ {% if firebase-lang == "es" %}
6
+ {% assign firebase-lang = "es_419" %}
7
+ {% elsif firebase-lang == "pt" %}
8
+ {% assign firebase-lang = "pt_br" %}
9
+ {% endif %}
10
+
11
+ <link type="text/css" rel="stylesheet" href="https://www.gstatic.com/firebasejs/ui/3.6.1/firebase-ui-auth.css" />
12
+ <script src="https://www.gstatic.com/firebasejs/ui/3.6.1/firebase-ui-auth__{{ firebase-lang }}.js"></script>
13
+ <script type="text/javascript">
14
+ {% include components/firebase/ui.js %}
15
+ </script>
@@ -0,0 +1,33 @@
1
+ // FirebaseUI config.
2
+ var uiConfig = {
3
+ callbacks: {
4
+ signInSuccessWithAuthResult: function(currentUser, credential, redirectUrl) {
5
+ // Return type determines whether we continue the redirect automatically
6
+ // or whether we leave that to developer to handle.
7
+ return true;
8
+ },
9
+ uiShown: function() {
10
+ // The widget is rendered, hide the loader.
11
+ document.getElementById('loader').style.display = 'none';
12
+ }
13
+ },
14
+ signInSuccessUrl: '/',
15
+ signInOptions: [
16
+ // Specify providers you want to offer your users.
17
+ firebase.auth.EmailAuthProvider.PROVIDER_ID
18
+ ],
19
+ // Comment the next line to activate CredentialHelper
20
+ credentialHelper: firebaseui.auth.CredentialHelper.NONE,
21
+ // Terms of service url can be specified and will show up in the widget.
22
+ tosUrl: '{{ site.amazon-s3 }}/assets/pdf/documents/terms-and-conditions.pdf',
23
+ // Privacy policy url/callback.
24
+ privacyPolicyUrl: function() {
25
+ window.location.assign('{{ site.amazon-s3 }}/assets/pdf/documents/privacy-notice.pdf');
26
+ }
27
+ };
28
+
29
+ // Initialize the FirebaseUI Widget using Firebase.
30
+ var ui = new firebaseui.auth.AuthUI(firebase.auth());
31
+
32
+ // The start method will wait until the DOM is loaded.
33
+ ui.start('#firebaseui-auth-container', uiConfig);
@@ -0,0 +1 @@
1
+ {{ item.i18n[site.lang] | default: item.title }}
@@ -0,0 +1 @@
1
+ {{ section.name.i18n[site.lang] | default: section.name.title }}
@@ -0,0 +1,43 @@
1
+ <footer id="footer" data-component="footers/progressive">
2
+
3
+ <div class="footer-top pt-4"> <!-- start footer-top -->
4
+ <div id="vg-footer">
5
+ <div class="container">
6
+ <div class="row sidebar">
7
+ {% include components/footers/progressive/top.html %}
8
+ {% if site.title == 'Denac' %}
9
+ <aside class="col-md-3">
10
+ {% include components/social-media/progressive.html %}
11
+ </aside>
12
+ {% endif %}
13
+ </div>
14
+ </div>
15
+ </div>
16
+ </div> <!-- end footer-top -->
17
+
18
+ <div class="footer-bottom"> <!-- start footer-bottom -->
19
+ <div class="container">
20
+ <div class="row">
21
+ {% include components/copyrights/progressive.html %}
22
+
23
+ {% if site.title == 'Grupo PV' %}
24
+ <aside class="col-md-3">
25
+ {% include components/social-media/progressive.html %}
26
+ </aside>
27
+ {% elsif site.original == false %}
28
+ <div class="col-md-5 text-center">
29
+ {% include components/contact-cards/phone-card.html %}
30
+ {% include components/logos/motorola.html %}
31
+ </div>
32
+ {% endif %}
33
+
34
+ <div class="col-md-1">
35
+ {% include components/scroll-to-tops/progressive.html %}
36
+ {% include components/lang-switchers/two-langs.html %}
37
+ </div>
38
+
39
+ </div>
40
+ </div>
41
+ </div> <!-- end footer-bottom -->
42
+
43
+ </footer>