Skip to content

Commit

Permalink
Fixing swiper on retailer and some links
Browse files Browse the repository at this point in the history
  • Loading branch information
wbraden committed Aug 8, 2024
1 parent 30ba929 commit 091d1ec
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Components/navbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ template.innerHTML = `
<div class="navbar">
<div class="navbar-left">
<button class="menu-button">☰</button>
<a href="/"><img src="" alt="Shipt Logo" class="logo"></a>
<a href="./"><img src="" alt="Shipt Logo" class="logo"></a>
<span class="location"></span><img class="icon md" src="assets/icons/caret-down.svg" alt="Icon description">
</div>
<div class="navbar-center">
Expand Down
8 changes: 4 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -117,26 +117,26 @@ <h1>Good morning, Amanda</h1>
<div class="swiper-wrapper">
<div class="swiper-slide">
<browse-tile promotion image="assets/retailers/retailer-3.png" alt="Retailer 1">
<span slot="label">Target</span>
<span slot="label">ABC</span>
<span slot="description">EBT eligible</span>
</browse-tile>
</div>
<!-- Repeat browse-tile elements for more slides -->
<div class="swiper-slide">
<browse-tile image="assets/retailers/retailer-147.png" alt="Retailer 1">
<span slot="label">Target</span>
<span slot="label">Piggly Wiggly</span>
<span slot="description">EBT eligible</span>
</browse-tile>
</div>
<div class="swiper-slide">
<browse-tile link="retailer.html" image="assets/retailers/retailer-187.png" alt="Retailer 1">
<span slot="label">Target</span>
<span slot="label">Meijer Woodward Corner Market</span>
<span slot="description">EBT eligible</span>
</browse-tile>
</div>
<div class="swiper-slide">
<browse-tile image="assets/retailers/retailer-211.png" alt="Retailer 1">
<span slot="label">Target</span>
<span slot="label">Lowes</span>
<span slot="description">EBT eligible</span>
</browse-tile>
</div>
Expand Down
4 changes: 2 additions & 2 deletions retailer.html
Original file line number Diff line number Diff line change
Expand Up @@ -261,12 +261,12 @@
<div class="swiper wb-swiper-2">
<section-header alt="Target" display-type="image">
<span slot="headline">Stores near you</span>
<button class="icon-button wb-prev-3" slot="prev-button">
<button class="icon-button wb-prev-2" slot="prev-button">
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M12.2852 4.38128C12.6269 4.72299 12.6269 5.27701 12.2852 5.61872L7.90394 10L12.2852 14.3813C12.6269 14.723 12.6269 15.277 12.2852 15.6187C11.9435 15.9604 11.3895 15.9604 11.0478 15.6187L6.04779 10.6187C5.70608 10.277 5.70608 9.72299 6.04779 9.38128L11.0478 4.38128C11.3895 4.03957 11.9435 4.03957 12.2852 4.38128Z" fill="#302638"/>
</svg>
</button>
<button class="icon-button wb-next-3" slot="next-button">
<button class="icon-button wb-next-2" slot="next-button">
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M7.71478 4.38128C7.37307 4.72299 7.37307 5.27701 7.71478 5.61872L12.0961 10L7.71478 14.3813C7.37307 14.723 7.37307 15.277 7.71478 15.6187C8.05649 15.9604 8.61051 15.9604 8.95221 15.6187L13.9522 10.6187C14.2939 10.277 14.2939 9.72299 13.9522 9.38128L8.95221 4.38128C8.61051 4.03957 8.05649 4.03957 7.71478 4.38128Z" fill="#302638"/>
</svg>
Expand Down

0 comments on commit 091d1ec

Please sign in to comment.