geeparts-js 1.3.18 → 1.3.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +26 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1265,6 +1265,31 @@ if (pathName === '/hero/' || pathName === '/hero') {
|
|
|
1265
1265
|
</ul>
|
|
1266
1266
|
</div>
|
|
1267
1267
|
`
|
|
1268
|
+
} else if (pathName === '/akt/' || pathName === '/akt') {
|
|
1269
|
+
const categoryBody = document.querySelector('.category-body .container-fluid .js-product-table')
|
|
1270
|
+
if (categoryBody) {
|
|
1271
|
+
categoryBody.style.display = 'none'
|
|
1272
|
+
}
|
|
1273
|
+
document.querySelectorAll('#nav-filters #filters .col-12').forEach((el, index) => {
|
|
1274
|
+
if (index > 0) el.style.display = 'none'
|
|
1275
|
+
})
|
|
1276
|
+
const categoryConstrols = document.querySelector('.category-controls .form-group')
|
|
1277
|
+
if (categoryConstrols) categoryConstrols.style.display = 'none'
|
|
1278
|
+
|
|
1279
|
+
document.querySelector('.category-body .container-fluid').innerHTML = `
|
|
1280
|
+
<div class="container_motos_modelos">
|
|
1281
|
+
<ul class="kawasaki_section">
|
|
1282
|
+
<li class="moto">
|
|
1283
|
+
<a href="https://www.geeparts.co/akt/voge-300-ds" class="link_marca">
|
|
1284
|
+
<img src="https://download.geeparts.co/voge-300-ds.webp" alt="Voge 300 DS">
|
|
1285
|
+
<div class="info">
|
|
1286
|
+
<p>Voge 300 DS</p>
|
|
1287
|
+
</div>
|
|
1288
|
+
</a>
|
|
1289
|
+
</li>
|
|
1290
|
+
</ul>
|
|
1291
|
+
</div>
|
|
1292
|
+
`
|
|
1268
1293
|
}
|
|
1269
1294
|
|
|
1270
1295
|
const categorysContent = document.querySelector('.category-body .container-fluid')
|
|
@@ -1741,7 +1766,7 @@ if (window.matchMedia('(min-width: 768px)').matches) {
|
|
|
1741
1766
|
</ul>
|
|
1742
1767
|
</li>
|
|
1743
1768
|
<li class="otras">
|
|
1744
|
-
<a href="#">
|
|
1769
|
+
<a href="#">Otras</a>
|
|
1745
1770
|
<ul class="menu_level_two">
|
|
1746
1771
|
<li>
|
|
1747
1772
|
<a href="/sym">SYM</a>
|