Compare commits

...

7 Commits

Author SHA1 Message Date
2e2872d78a Merge pull request 'content' (#8) from content into main
Reviewed-on: #8
2025-09-26 08:04:39 +00:00
5ee7111cdf Merge pull request 'image' (#7) from image into content
Reviewed-on: #7
2025-09-26 08:00:31 +00:00
9bac09bf16 Merge branch 'content' into image 2025-09-26 08:00:25 +00:00
1f6dab1a9c feat: animation 2025-09-26 12:34:47 +05:30
Abhishek-unni-2
e8a25e5d8c fix: rename 2025-09-26 12:02:06 +05:30
bb8438b696 feat: loading animation 2025-09-26 10:05:48 +05:30
8c3c759301 mess: image_updated 2025-09-25 18:55:28 +05:30
14 changed files with 756 additions and 621 deletions

View File

Before

Width:  |  Height:  |  Size: 113 KiB

After

Width:  |  Height:  |  Size: 113 KiB

View File

Before

Width:  |  Height:  |  Size: 63 KiB

After

Width:  |  Height:  |  Size: 63 KiB

View File

Before

Width:  |  Height:  |  Size: 50 KiB

After

Width:  |  Height:  |  Size: 50 KiB

View File

Before

Width:  |  Height:  |  Size: 33 KiB

After

Width:  |  Height:  |  Size: 33 KiB

View File

Before

Width:  |  Height:  |  Size: 44 KiB

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 74 KiB

After

Width:  |  Height:  |  Size: 149 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 62 KiB

After

Width:  |  Height:  |  Size: 218 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

After

Width:  |  Height:  |  Size: 135 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 119 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 41 KiB

After

Width:  |  Height:  |  Size: 126 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 48 KiB

After

Width:  |  Height:  |  Size: 201 KiB

1359
index.html

File diff suppressed because it is too large Load Diff

View File

@ -260,7 +260,7 @@
.mnc-box {
display: flex;
align-items: center;
max-width: 1200px;
max-width: 1159px;
}
@ -277,6 +277,7 @@
font-weight: 600;
font-size: 1.3vw;
white-space: nowrap;
margin-top: -5px;
}
.mnc h2 .gray,
@ -704,13 +705,11 @@
position: relative;
overflow: hidden;
border-radius: 16px;
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
transition: all 0.3s ease;
}
.image-container:hover {
transform: translateY(-5px);
box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
}
.slide1-box img {
@ -917,7 +916,7 @@
.footer {
background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
color: white;
padding: 60px 0 30px 0;
padding: 60px 0 0;
font-size: 14px;
}
@ -1100,6 +1099,7 @@
font-size: 12px;
color: #94a3b8;
text-align: left;
background: white;
}
.footer-bottom-links {
@ -1342,7 +1342,7 @@
}
.card-easy-left img {
width: 80%;
width: 100%;
border-radius: 15px;
}

View File

@ -194,19 +194,18 @@ document.addEventListener("DOMContentLoaded", () => {
const track = document.querySelector(".move-slider-track");
const boxes = Array.from(track.children);
// Clone all slides once
boxes.forEach(box => {
const clone = box.cloneNode(true);
track.appendChild(clone);
});
let position = 0;
const speed = 1; // pixels per frame, adjust for faster/slower scroll
const speed = 1;
function animate() {
position -= speed;
if (Math.abs(position) >= track.scrollWidth / 2) {
position = 0; // reset after first set slides out
position = 0;
}
track.style.transform = `translateX(${position}px)`;
requestAnimationFrame(animate);
@ -224,9 +223,8 @@ const observer = new IntersectionObserver((entries) => {
const index = Array.from(statItems).indexOf(entry.target);
entry.target.style.transitionDelay = `${(index + 1) * 0.1}s`;
entry.target.classList.add('visible');
// observer.unobserve(entry.target); // optional: animate only once
}
});
}, { threshold: 0.2 }); // 20% visible
}, { threshold: 0.2 });
statItems.forEach(item => observer.observe(item));