Skip to content

Commit

Permalink
pequenos ajustes no frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
Elto Borges authored and Elto Borges committed Aug 16, 2024
1 parent 963d6c3 commit 46aec86
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 4 deletions.
2 changes: 1 addition & 1 deletion exercicices.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
</span>
</a>
</li>
<li class="side-item active">
<li class="side-item">
<a href="#">
<i class="fa-solid fa-home"></i>
<span class="item-description">
Expand Down
6 changes: 4 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,10 @@ <h1><span><i class="fa-solid fa-dumbbell"></i> U</span>GYM</h1>
<h2>Nossos <span>Serviços</span></h2>
<hr>
<div class="features">
<div class="feature">
<i class="fa-solid fa-dumbbell"></i>
<div onclick="remove()" class="feature">
<a href="https://ifpi-picos.github.io/projeto-integrador-ugym/exercicices.html">
<i class="fa-solid fa-dumbbell"></i>
</a>
</div>
<div class="feature">
<i class="fa-regular fa-calendar-days"></i>
Expand Down
3 changes: 3 additions & 0 deletions src/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@
color: white;
transition: 1.3s;
}
.feature a {
text-decoration: none;
}



Expand Down
5 changes: 5 additions & 0 deletions src/javascript/scriptnav.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,8 @@ localStorage.removeItem('token')
window.location.href="https://ifpi-picos.github.io/projeto-integrador-ugym/crud.html"

}

function remove(){
const activeItem = document.querySelector('.side-item.active');
activeItem.remove();
}
2 changes: 1 addition & 1 deletion users.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
</a>
</li>

<li class="side-item active">
<li class="side-item">
<a href="#">
<i class="fa-solid fa-home"></i>
<span class="item-description">
Expand Down

0 comments on commit 46aec86

Please sign in to comment.