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

ADDED back to top button on all the respective footers #417

Merged
merged 6 commits into from
Oct 8, 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
29 changes: 27 additions & 2 deletions Feedback.html
Original file line number Diff line number Diff line change
Expand Up @@ -368,8 +368,20 @@ <h3 style="font-size: 1.5rem; margin-bottom: 10px; color: #2980b9;">Subscribe to
</div>
<hr>
<!-- Copyright Section -->
<strong><p style="background-color: #C4D7FF; color: #000000; ">&copy; 2024 AmbuFlow. All rights reserved.</p></strong>

<div style="background-color: #C4D7FF; color: #000000; display: flex; justify-content: space-between; align-items: center; padding: 10px 20px;">
<strong><p>&copy; 2024 AmbuFlow. All rights reserved.</p></strong>

<!-- Back to Top Button -->
<button id="backToTopBtn" style="
background-color: #e81a1a;
color: white;
border: none;
border-radius: 5px;
padding: 10px 15px;
font-size: 16px;
cursor: pointer;
">↑</button>
</div>
</footer>
<script>
// Add event listeners to each star label for toggling the selection
Expand Down Expand Up @@ -475,5 +487,18 @@ <h3 style="font-size: 1.5rem; margin-bottom: 10px; color: #2980b9;">Subscribe to
}

animateCircles();</script>
<script>
// Back to Top Button functionality
document.addEventListener('DOMContentLoaded', function() {
const backToTopBtn = document.getElementById("backToTopBtn");

backToTopBtn.addEventListener('click', function() {
window.scrollTo({
top: 0,
behavior: 'smooth'
});
});
});
</script>
</body>
</html>
28 changes: 26 additions & 2 deletions contact.html
Original file line number Diff line number Diff line change
Expand Up @@ -304,8 +304,20 @@ <h3 style="font-size: 1.5rem; margin-bottom: 10px; color: #2980b9;">Subscribe to
</div>
<hr>
<!-- Copyright Section -->
<strong><p style="background-color: #C4D7FF; color: #000000; ">&copy; 2024 AmbuFlow. All rights reserved.</p></strong>

<div style="background-color: #C4D7FF; color: #000000; display: flex; justify-content: space-between; align-items: center; padding: 10px 20px;">
<strong><p>&copy; 2024 AmbuFlow. All rights reserved.</p></strong>

<!-- Back to Top Button -->
<button id="backToTopBtn" style="
background-color: #e81a1a;
color: white;
border: none;
border-radius: 5px;
padding: 10px 15px;
font-size: 16px;
cursor: pointer;
">↑</button>
</div>
</footer>

<script>
Expand All @@ -318,6 +330,18 @@ <h3 style="font-size: 1.5rem; margin-bottom: 10px; color: #2980b9;">Subscribe to
window.onload = function() {
document.getElementById('contact-link').classList.add('active');
};

// Back to Top Button functionality
document.addEventListener('DOMContentLoaded', function() {
var backToTopBtn = document.getElementById("backToTopBtn");

backToTopBtn.addEventListener('click', function() {
window.scrollTo({
top: 0,
behavior: 'smooth'
});
});
});
</script>
<script> const coords = { x: 0, y: 0 };
const circles = document.querySelectorAll(".circle");
Expand Down
33 changes: 30 additions & 3 deletions features.html
Original file line number Diff line number Diff line change
Expand Up @@ -338,10 +338,36 @@ <h3 style="font-size: 1.5rem; margin-bottom: 10px; color: #2980b9;">Subscribe to
</div>
<hr>
<!-- Copyright Section -->
<strong><p style="background-color: #C4D7FF; color: #000000; ">&copy; 2024 AmbuFlow. All rights reserved.</p></strong>


<div style="background-color: #C4D7FF; color: #000000; display: flex; justify-content: space-between; align-items: center; padding: 10px 20px;">
<strong><p>&copy; 2024 AmbuFlow. All rights reserved.</p></strong>

<!-- Back to Top Button -->
<button id="backToTopBtn" style="
background-color: #e81a1a;
color: white;
border: none;
border-radius: 5px;
padding: 10px 15px;
font-size: 16px;
cursor: pointer;
">↑</button>
</div>
</footer>

<script>
// Back to Top Button functionality
document.addEventListener('DOMContentLoaded', function() {
var backToTopBtn = document.getElementById("backToTopBtn");

backToTopBtn.addEventListener('click', function() {
window.scrollTo({
top: 0,
behavior: 'smooth'
});
});
});
</script>

<script> const coords = { x: 0, y: 0 };
const circles = document.querySelectorAll(".circle");

Expand Down Expand Up @@ -438,5 +464,6 @@ <h3 style="font-size: 1.5rem; margin-bottom: 10px; color: #2980b9;">Subscribe to
});
</script>


</body>
</html>
33 changes: 29 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ <h2>Contact Us</h2>
</div>
</div>

<footer style= " color: #f3f4f6; text-align: center; width: 100%;">
<footer style="color: #f3f4f6; text-align: center; width: 100%;">
<div style="background-color: #C4D7FF; color: #f3f4f6; ">
<div style="display: flex; justify-content: space-between; flex-wrap: wrap; max-width: 1200px; margin: 0 auto;">

Expand Down Expand Up @@ -609,10 +609,35 @@ <h3 style="font-size: 1.5rem; margin-bottom: 10px; color: #2980b9;">Subscribe to
</div>
<hr>
<!-- Copyright Section -->
<strong><p style="background-color: #C4D7FF; color: #000000; ">&copy; 2024 AmbuFlow. All rights reserved.</p></strong>

<div style="background-color: #C4D7FF; color: #000000; display: flex; justify-content: space-between; align-items: center; padding: 10px 20px;">
<strong><p>&copy; 2024 AmbuFlow. All rights reserved.</p></strong>

<!-- Back to Top Button -->
<button id="backToTopBtn" style="
background-color: #e81a1a;
color: white;
border: none;
border-radius: 5px;
padding: 10px 15px;
font-size: 16px;
cursor: pointer;
">↑</button>
</div>
</footer>

<script>
// Back to Top Button functionality
document.addEventListener('DOMContentLoaded', function() {
var backToTopBtn = document.getElementById("backToTopBtn");

backToTopBtn.addEventListener('click', function() {
window.scrollTo({
top: 0,
behavior: 'smooth'
});
});
});
</script>
<script>
function changeContent(page) {
var links = document.querySelectorAll(".menu ul li a");
Expand Down Expand Up @@ -669,4 +694,4 @@ <h3 style="font-size: 1.5rem; margin-bottom: 10px; color: #2980b9;">Subscribe to

</script>
</body>
</html>
</html>