Update readme

This commit is contained in:
Konrad Bolesławski
2023-11-21 09:54:36 +01:00
parent 2394e5f0a0
commit 6fb226267f

View File

@@ -42,30 +42,52 @@ W kodzie XML mamy umieszczone kontenery (działaja na mobile) które wyświetlą
```html ```html
<div class="products__container products__container--bestseller"> <div class="products__container products__container--bestseller">
<h1 class="products__title">Top 5 produktów</h1> <h1 class="products__title">Top 5 produktów</h1>
<div class="products__products"> <div class="products__products">
<div class="products__product --last-link"> <div class="products__product --last-link">
<a href="/Bestseller-sbestseller-pol.html" target="_self" title="Bestsellery"> <a href="/Bestseller-sbestseller-pol.html" target="_self" title="Bestsellery">
<span> <span>
Bestsellery Bestsellery
</span> </span>
</a> </a>
</div> </div>
</div> </div>
</div> </div>
<div class="products__container products__container--news"> <div class="products__container products__container--news">
<h1 class="products__title">Nowości</h1> <h1 class="products__title">Nowości</h1>
<div class="products__products"> <div class="products__products">
<div class="products__product --last-link"> <div class="products__product --last-link">
<a href="/Nowosc-snewproducts-pol.html" target="_self" title="Nowości"> <a href="/Nowosc-snewproducts-pol.html" target="_self" title="Nowości">
<span> <span>
Nowości Nowości
</span> </span>
</a> </a>
</div> </div>
</div> </div>
</div> ```
</div>
```
W a href podajemy linki gdzie ma nas przenosić przycisk W a href podajemy linki gdzie ma nas przenosić przycisk
Następnie w javascript wydzielonym podmnieniamy też linki z którego mają być zaciągane produkty Następnie w javascript wydzielonym podmnieniamy też linki z którego mają być zaciągane produkty