Skip to content

Commit

Permalink
Merge pull request #33 from ViktorSvertoka/fix-favorites
Browse files Browse the repository at this point in the history
Fix favorites
  • Loading branch information
ViktorSvertoka authored Dec 15, 2023
2 parents 980c3c2 + 5516dd4 commit 4072286
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 7 deletions.
7 changes: 7 additions & 0 deletions src/img/sprite.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions src/partials/01-header.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<div class="container">
<div class="header-container" id="header__top">
<a href="/index.html">
<a href="./index.html">
<svg width="132" height="24">
<use href="./img/sprite.svg#icon-Logo"></use>
</svg>
</a>
<nav class="header__nav">
<a id="homeButton" class="nav-btn" href="/index.html">Home</a>
<a id="favoritesButton" class="nav-btn" href="/favorites.html"
<a id="homeButton" class="nav-btn" href="./index.html">Home</a>
<a id="favoritesButton" class="nav-btn" href="./favorites.html"
>Favorites</a
>
</nav>
Expand Down
4 changes: 2 additions & 2 deletions src/partials/03-exercises.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ <h2 class="exersices__title">Exercises</h2>
<div class="quote__container">
<div class="aside-svg__circle">
<svg class="aside__svg" width="20" height="20">
<use href="./img/sprite.svg#icon-running-stick-figure"></use>
<use href="./img/sprite.svg#icon-pedastrian"></use>
</svg>
</div>
<h3 class="quote__title">Quote of the day</h3>
Expand All @@ -45,7 +45,7 @@ <h3 class="quote__title">Quote of the day</h3>
<div class="aside__white-card">
<div class="white-card-svg__wrapper">
<svg class="aside__white-card-svg" width="20" height="20">
<use href="./img/sprite.svg#icon-fluent_food"></use>
<use href="./img/sprite.svg#icon-gym"></use>
</svg>
</div>

Expand Down
4 changes: 2 additions & 2 deletions src/partials/10-favorites.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ <h2 class="favorites__title">Favorites</h2>
<div class="favorite-quote__container">
<div class="favorite-svg__circle">
<svg class="favorite__svg" width="20" height="20">
<use href="../img/sprite.svg#icon-running-stick-figure"></use>
<use href="../img/sprite.svg#icon-pedastrian"></use>
</svg>
</div>
<h3 class="favorite-quote__title">Quote of the day</h3>
Expand All @@ -19,7 +19,7 @@ <h3 class="favorite-quote__title">Quote of the day</h3>
<li>
<div class="favorite__white-card">
<svg class="white-card__svg" width="20" height="20">
<use href="../img/sprite.svg#icon-fluent_food"></use>
<use href="../img/sprite.svg#icon-gym"></use>
</svg>
<h3 class="white-card__headline">10 mins</h3>
<p class="white-card__text">Daily norm of sports</p>
Expand Down

0 comments on commit 4072286

Please sign in to comment.