Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

💡 [FEATURE] -want to add back button which will navigate user to previous page #1324 #1394

Merged
merged 1 commit into from
Jun 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion new-website/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ <h2 class="footer-title">ResourceHub</h2>
</div>
<div id="back-to-top-container">
<div class="circle1">
<svg id="back-to-top" xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-arrow-up-circle-fill" viewBox="0 0 16 16">
<svg id="back-to-top" xmlns="http://www.w3.org/2000/svg" width="48" height="48" fill="currentColor" class="bi bi-arrow-up-circle-fill" viewBox="0 0 16 16">
<path d="M16 8A8 8 0 1 0 0 8a8 8 0 0 0 16 0m-7.5 3.5a.5.5 0 0 1-1 0V5.707L5.354 7.854a.5.5 0 1 1-.708-.708l3-3a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1-.708.708L8.5 5.707z"/>
</svg>
</div>
Expand Down
14 changes: 11 additions & 3 deletions new-website/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -898,7 +898,14 @@ body{
z-index: -1;
overflow: hidden;
}

/* For back to top button */
#back-to-top-container{
position: fixed;
bottom: 20px;
right: 30px;
z-index: 3;
cursor: pointer;
}
/* Round buttons */

.roundbtn{
Expand Down Expand Up @@ -1099,11 +1106,12 @@ body{
}

.dark #back-to-top{
fill: black ;
fill: rgb(255, 255, 255) ;

}

.dark a svg path{
fill: white ;
fill: rgb(0, 0, 0) ;
}


Expand Down
Loading