Skip to content

Commit

Permalink
Merge pull request #4933 from jainaryan04/master
Browse files Browse the repository at this point in the history
inline back to top #4932
  • Loading branch information
abhi03ruchi authored Nov 10, 2024
2 parents 56c1b41 + 02c3008 commit ae825c4
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 79 deletions.
40 changes: 12 additions & 28 deletions assets/html/event.html
Original file line number Diff line number Diff line change
Expand Up @@ -1406,20 +1406,15 @@ <h2 style="margin-bottom: 2.4rem; margin-top:0.5rem; font-size: 28px; font-weigh


<!-- adding privacy policy and copyright popup-->
<div class="footer-f" style="text-align: center; align-items: center; ">
<p style="text-align: center">
&copy;
<script>document.write(new Date().getFullYear())</script> All Rights Reserved. Made with ❤ by Guardian Hackers.
</p>
<div class="row-copy">


<a href="/copyrightpolicy.html" id="copyrightPolicyLink">Copyright Policy</a> |
<a href="/privacynotice.html" id="privacyNoticeLink">Privacy Notice</a> |

<a href="/our-vision.html" id="ourvisionLink">Our Vision</a></li>
</div>
<div class="footer-f" style="text-align: center;">
<div class="row-copy" style="text-align: center; margin-top: -30px;">
<a href="/copyrightpolicy.html" id="copyrightPolicyLink">Copyright Policy</a> |
<a href="/privacynotice.html" id="privacyNoticeLink">Privacy Notice</a> |
<a href="/our-vision.html" id="ourvisionLink">Our Vision</a>
</div>
</div>


<style>
#copyrightPolicyLink:hover{
color: rgb(126, 0, 21);
Expand All @@ -1436,21 +1431,10 @@ <h2 style="margin-bottom: 2.4rem; margin-top:0.5rem; font-size: 28px; font-weigh
</style>
</footer>

<div>
<div id="back-to-top-container" onclick="lenis.scrollTo('#home')" class="right">
<button class="Btn">
<svg height="1.2em" class="arrow" viewBox="0 0 512 512">
<path
d="M233.4 105.4c12.5-12.5 32.8-12.5 45.3 0l192 192c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L256 173.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l192-192z">
</path>
</svg>
<p class="text">Back to Top</p>
</button>
</div>
<div>
<button id="translateButton">Translate</button>
</div>
</div>




<script>
document.addEventListener("DOMContentLoaded", function () {
const backToTopButton = document.getElementById('back-to-top-container');
Expand Down
87 changes: 36 additions & 51 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6241,6 +6241,7 @@ <h3>Rateus</h3>
font-size: 18px;
color: #ffffff;
text-shadow: 2px 2px 2px black;
}
.ok-button {

background-color: #f37777; /* Button background color */
Expand Down Expand Up @@ -7144,16 +7145,7 @@ <h1>Subscribe to Our Newsletter</h1>

</div>
<div>
<div id="back-to-top-container" onclick="lenis.scrollTo('#home')" class="right">
<button class="Btn">
<svg height="1.2em" class="arrow" viewBox="0 0 512 512">
<path
d="M233.4 105.4c12.5-12.5 32.8-12.5 45.3 0l192 192c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L256 173.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l192-192z">
</path>
</svg>
<p class="text">Back to Top</p>
</button>
</div>

<div>
<button id="translateButton">Translate</button>
</div>
Expand All @@ -7167,50 +7159,43 @@ <h1>Subscribe to Our Newsletter</h1>

<!-- adding privacy policy and copyright popup-->
<div class="footer-f" style="text-align: center; align-items: center;">
<p style="text-align: center">
&copy;
<script>document.write(new Date().getFullYear())</script> All Rights Reserved. Made with ❤ by Guardian
Hackers.
</p>
<div class="row-copy">

<a href="copyrightpolicy.html" id="copyrightPolicyLink">Copyright Policy</a> |
<a href="privacynotice.html" id="privacyNoticeLink">Privacy Notice</a> |
<a href="our-vision.html" id="ourvisionlink">Our Vision</a> |
<a href="./contributor/contributorss.html" class="contributors"><i class="fas fa-users"></i> Our Contributors</a> |
<a href="refundpolicy.html" id="refundp">Refund Policy</a>
<style>
#refundp:hover{
color: rgb(126, 0, 21);
transition: color 0.5s ease;
}
.dark-mode #refundp:hover{
color: #708090;
transition: color 0.5s ease;
}
.fas .fa-users:hover{
color: rgb(126, 0, 21) !important;
transition: color 0.5s ease !important;
}
.dark-mode .fas .fa-users:hover{
color: #708090 !important;
transition: color 0.5s ease !important;
}
.contributors:hover{
color: rgb(126, 0, 21) !important;
transition: color 0.5s ease !important;
}
.dark-mode .contributors:hover{
color: #708090 !important;
transition: color 0.5s ease !important;
}
</style>
<p style="text-align: center">
&copy;
<script>document.write(new Date().getFullYear())</script> All Rights Reserved. Made with ❤ by Guardian Hackers.
</p>
<div class="row-copy">
<a href="copyrightpolicy.html" id="copyrightPolicyLink">Copyright Policy</a> |
<a href="privacynotice.html" id="privacyNoticeLink">Privacy Notice</a> |
<a href="our-vision.html" id="ourvisionlink">Our Vision</a> |
<a href="./contributor/contributorss.html" class="contributors"><i class="fas fa-users"></i> Our Contributors</a> |
<a href="refundpolicy.html" id="refundp">Refund Policy</a>

<!-- Styles for hover effects -->
<style>
#refundp:hover {
color: rgb(126, 0, 21);
transition: color 0.5s ease;
}
.dark-mode #refundp:hover {
color: #708090;
transition: color 0.5s ease;
}
.fas .fa-users:hover, .contributors:hover {
color: rgb(126, 0, 21) !important;
transition: color 0.5s ease !important;
}
.dark-mode .fas .fa-users:hover, .dark-mode .contributors:hover {
color: #708090 !important;
transition: color 0.5s ease !important;
}
</style>


<!-- Script for showing the Back to Top button when scrolling -->

</div>
</div>


</div>
</div>
<style>
.dark-mode #copyrightPolicyLink:hover {
color: #708090;
Expand Down

0 comments on commit ae825c4

Please sign in to comment.