Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
vimistify authored Nov 10, 2024
2 parents d083020 + d0285f3 commit bf2dcf5
Show file tree
Hide file tree
Showing 11 changed files with 2,111 additions and 268 deletions.
48 changes: 31 additions & 17 deletions about.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,49 +28,57 @@
<style>
body {
font-family: "Roboto", sans-serif;
background-color: #0b0e11;
color: #d1d1d1;
background-color: #f3f4f6; /* Change from #0b0e11 */
color: #000000; /* Change from #d1d1d1 */
margin: 0;
padding: 0;
overflow-x: hidden;
}

header {
background: linear-gradient(90deg, #b2d1ff, #93b6d3, #42a5f5);
background: linear-gradient(90deg, #A7CCF0, #F3F4F6, #A7CCF0); /* Change from #b2d1ff, #93b6d3, #42a5f5 */
padding: 30px 0 0 0;
text-align: center;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

header h1 {
color: #fff;
color: #000000; /* Change from #fff */
font-size: 2.4rem;
text-transform: uppercase;
letter-spacing: 3px;
}

main {
padding: 50px 20px;
max-width: 1200px;
margin: 0 auto;
background: #10141b;
background: #ffffff; /* Change from #10141b */
border-radius: 15px;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
border: 2px solid rgba(0, 0, 0, 0.2); /* Change from rgba(66, 165, 245, 0.2) */
}

h2 {
color: #1e88e5;
color: black; /* Change from #1e88e5 */
font-size: 2.5rem;
border-bottom: 2px solid #1e88e5;
/* border-bottom: 2px solid #000000; Change from #1e88e5 */
padding-bottom: 10px;
margin-bottom: 20px;
text-transform: uppercase;
}

p {
line-height: 1.8;
font-size: 1.1rem;
margin-bottom: 30px;
}

.highlight {
color: #f50057;
color: #e53935; /* Change from #f50057 */
font-weight: bold;
}

ul {
margin-left: 40px;
list-style: none;
Expand All @@ -81,21 +89,24 @@
padding-left: 25px;
font-size: 1.1rem;
}

ul li::before {
color: #1e88e5;
color: #000000; /* Change from #1e88e5 */
position: absolute;
left: 0;
top: 0;
}

footer {
background-color: #0d47a1;
color: white;
background-color: #333333; /* Change from #0d47a1 */
color: #f3f4f6; /* Change from #ffffff */
text-align: center;
padding: 20px 0;
position: relative;
bottom: 0;
width: 100%;
}

footer p {
margin: 0;
}
Expand All @@ -122,15 +133,16 @@
}

/* Futuristic glow effect for text */
h1,
/* h1,
h2 {
text-shadow: 0 0 10px rgba(30, 136, 229, 0.8),
0 0 20px rgba(66, 165, 245, 0.5);
}
} */

/* Futuristic neon glow for sections */
main {
border: 2px solid rgba(66, 165, 245, 0.2);
color:#0344f6;
}

/* Responsive Design */
Expand Down Expand Up @@ -312,8 +324,8 @@ <h2>Support Us</h2>
>Contribute on GitHub</a
>
</main>
<footer style="background-color:black; color:#f3f4f6; text-align: center; width: 100%; margin-top: 20px;">
<div style="background-color: #C4D7FF; color: #f3f4f6; ">
<footer style="background-color:#A7CCF0; color:#000000; text-align: center; width: 100%; margin-top: 20px;">
<div style="background-color: #A7CCF0; color: #000000; ">
<div style="display: flex; justify-content: space-between; flex-wrap: wrap; max-width: 1200px; margin: 0 auto;">

<!-- Quick Links Section -->
Expand Down Expand Up @@ -394,8 +406,10 @@ <h3 style="font-size: 1.5rem; margin-bottom: 10px; color: #2980b9;">Subscribe to

</div>
</footer>
<div style="background-color: black;">
<p>© 2024 AmbuFlow - All Rights Reserved</p>

<div style="background-color: #000000;">
<p>© 2024 AmbuFlow - All Rights Reserved</p>
</div>

</body>
</html>
163 changes: 162 additions & 1 deletion contact.html
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,21 @@
margin: 20px auto;
object-fit: cover;
}
.dark-mode .contact-item {
background-color: rgba(40, 40, 40, 0.9);
color: #e0e0e0;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
border: 1px solid #555;
}

.dark-mode .contact-item:hover {
transform: translateY(-5px);
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.7);
}

.dark-mode .contact-item img {
border-color: #8ab4f8;
}
</style>
</head>

Expand Down Expand Up @@ -471,7 +486,153 @@ <h3 style="font-size: 1.5rem; margin-bottom: 10px; color: #2980b9;">Subscribe to
</script>

<!-- Add this div for the translator popup -->

<button id="scrollToTopBtn" class="scroll-top" aria-label="Scroll to top">
<div class="scroll-top-icon">
<i class="fa-solid fa-arrow-up"></i>
</div>
<svg class="progress-ring" width="60" height="60">
<circle class="progress-ring__circle" stroke="#ffffff" stroke-width="4" fill="transparent" r="28" cx="30"
cy="30"></circle>
</svg>
</button>
<style>
.scroll-top {
position: fixed;
right: 1.6%;
background: linear-gradient(100deg, #1ca6f0, #3c7aff, #05deff);
color: white;
width: 60px;
height: 60px;
border-radius: 50%;
border: none;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
font-size: 24px;
opacity: 0;
visibility: hidden;
transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
box-shadow: 0 5px 15px rgba(255, 69, 159, 0.4);
overflow: visible;
z-index: 10;
bottom: 75px;
/* Ensure button is on top */
}

.scroll-top.show {
opacity: 1;
visibility: visible;
}

.scroll-top:hover {
transform: scale(1.1);
/* Subtle scaling instead of expanding */
box-shadow: 0 8px 20px rgba(255, 69, 159, 0.6);
/* Slightly larger shadow */
}

.scroll-top:active {
transform: scale(1.05);
/* Minor scale reduction on click */
}

.scroll-top-icon {
position: relative;
z-index: 2;
transition: transform 0.3s ease;
}

.scroll-top:hover .scroll-top-icon {
transform: translateY(-3px);
}

/* Progress Ring Styling */
.progress-ring {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
transform: rotate(-90deg);
/* To start from the top */
}

.progress-ring__circle {
transition: stroke-dashoffset 0.35s;
transform-origin: 50% 50%;
}

/* Pulse Animation */
@keyframes pulse {
0% {
box-shadow: 0 5px 15px rgba(255, 69, 159, 0.4);
}

50% {
box-shadow: 0 5px 15px rgba(255, 69, 159, 0.7);
}

100% {
box-shadow: 0 5px 15px rgba(255, 69, 159, 0.4);
}
}

.scroll-top:hover {
animation: pulse 1.5s infinite;
}

.scroll-top.show {
animation: none;
/* No animation when showing the button */
}

.scroll-top.show:hover {
animation: pulse 1.5s infinite;
/* Pulse on hover */
}
</style>
<script>
// Get the button
const scrollToTopBtn = document.getElementById("scrollToTopBtn");
const progressCircle = document.querySelector(".progress-ring__circle");
const radius = progressCircle.r.baseVal.value;
const circumference = 2 * Math.PI * radius;

// Set the circle progress properties
progressCircle.style.strokeDasharray = `${circumference} ${circumference}`;
progressCircle.style.strokeDashoffset = circumference;

// Function to show or hide the button based on scroll position
function toggleScrollButton() {
if (window.scrollY > 100) {
scrollToTopBtn.classList.add("show");
} else {
scrollToTopBtn.classList.remove("show");
}
}

// Function to set the scroll progress on the button ring
function setProgress(percent) {
const offset = circumference - (percent / 100) * circumference;
progressCircle.style.strokeDashoffset = offset;
}

// Listen for scroll events to update button visibility and progress
window.addEventListener("scroll", () => {
toggleScrollButton();
const scrollPercent = (window.scrollY / (document.documentElement.scrollHeight - window.innerHeight)) * 100;
setProgress(scrollPercent);
});

// Smooth scroll to top when the button is clicked
scrollToTopBtn.addEventListener("click", () => {
window.scrollTo({
top: 0,
behavior: "smooth"
});
});
</script>
</body>

</html>
11 changes: 6 additions & 5 deletions contributors/contributors.css
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,6 @@
margin: 0 auto;
padding: 2rem 2rem;
text-align: center;
background-color: rgba(255,255,255,0.3);
border-radius: 25px;
margin-top: 60px;
}
Expand All @@ -477,10 +476,12 @@
}

.contributor-stat-card {
background-color: rgba(0,0,0,0.4);
border-radius: 10px;
padding: 1.5rem;
text-align: center;

background-color: rgb(37 55 69);
border-radius: 10px;
padding: 1.5rem;
text-align: center;

}

.contributor-stat-card .contributor-icon {
Expand Down
Loading

0 comments on commit bf2dcf5

Please sign in to comment.