responsive checked

This commit is contained in:
Selvi 2025-07-23 19:11:13 +05:30
parent c9853b9207
commit 66d8572e7a
8 changed files with 31 additions and 18 deletions

View File

@ -18,6 +18,7 @@ export default function Header1() {
width={300} width={300}
height={60} height={60}
alt="img" alt="img"
className="responsive-logo"
/> />
</Link> </Link>
</div> </div>
@ -32,6 +33,7 @@ export default function Header1() {
alt="logo-img" alt="logo-img"
width={300} width={300}
height={60} height={60}
className="responsive-logo"
/> />
</Link> </Link>
</div> </div>

View File

@ -17,6 +17,7 @@ export default function About() {
width={114} width={114}
height={419} height={419}
alt="img" alt="img"
style={{ opacity: 0.4 }}
/> />
</div> </div>
<div className="about-shape-2 float-bob-x"> <div className="about-shape-2 float-bob-x">

View File

@ -79,7 +79,7 @@ export default function Blogs() {
</Link> </Link>
</h3> </h3>
<p className="text-white"> <p className="text-white">
{truncateWords(leftBlog.description.replace(/<[^>]+>/g, ""), 70)} {truncateWords(leftBlog.description.replace(/<[^>]+>/g, ""), 25)}
</p> </p>
</div> </div>
</div> </div>
@ -107,7 +107,7 @@ export default function Blogs() {
</ul> </ul>
<h4> <h4>
<Link href={`/news-details/${item.slug}`}> <Link href={`/news-details/${item.slug}`}>
{truncateWords(item.title.replace(/<[^>]+>/g, ""), 6)} {truncateWords(item.title.replace(/<[^>]+>/g, ""), 8)}
</Link> </Link>
</h4> </h4>
<p> <p>

View File

@ -48,7 +48,7 @@ export default function CorporateProfile() {
</p> </p>
<div className="row mt-5 mb-5"> <div className="row mt-5 mb-5">
<div className="col-lg-6"> <div className="col-lg-6 mt-2">
<div className="details-image"> <div className="details-image">
<Image <Image
src="/assets/img/news/post-5.jpg" src="/assets/img/news/post-5.jpg"
@ -58,7 +58,7 @@ export default function CorporateProfile() {
/> />
</div> </div>
</div> </div>
<div className="col-lg-6 col-md-12"> <div className="col-lg-6 col-md-12 mt-2">
<div className="details-image"> <div className="details-image">
<Image <Image
src="/assets/img/news/post-5.jpg" src="/assets/img/news/post-5.jpg"

View File

@ -75,21 +75,21 @@ export const menuData = [
{ {
label: "Projects", label: "Projects",
href: "#", href: "#",
iconClass: "fa-regular fa-plus", // iconClass: "fa-regular fa-plus",
submenu: [ // submenu: [
{ label: "Projects", href: "/project" }, // { label: "Projects", href: "/project" },
{ label: "Project Details", href: "/project-details/1" }, // { label: "Project Details", href: "/project-details/1" },
], // ],
}, },
{ {
label: "Blog", label: "Blog",
href: "#", href: "/blog",
iconClass: "fa-regular fa-plus", // iconClass: "fa-regular fa-plus",
submenu: [ // submenu: [
{ label: "Blog Grid", href: "/news-grid" }, // { label: "Blog Grid", href: "/news-grid" },
{ label: "Blog Standard", href: "/news" }, // { label: "Blog Standard", href: "/news" },
{ label: "Blog Details", href: "/news-details/1" }, // { label: "Blog Details", href: "/news-details/1" },
], // ],
}, },
{ {
label: "Contact Us", label: "Contact Us",

View File

@ -156,7 +156,7 @@ export const teamMembers2 = [
{ {
id: 7, id: 7,
image: "/assets/img/team/07.jpg", image: "/assets/img/team/07.jpg",
name: "Engineering & Innovation", name: "Sustainability Impact",
role: "Sr. engineer", role: "Sr. engineer",
socials: [ socials: [
{ {
@ -181,7 +181,7 @@ export const teamMembers2 = [
{ {
id: 8, id: 8,
image: "/assets/img/team/08.jpg", image: "/assets/img/team/08.jpg",
name: "Sustainability Impact", name: "Engineering & Innovation",
role: "Sr. engineer", role: "Sr. engineer",
socials: [ socials: [
{ {

View File

@ -1092,3 +1092,13 @@
margin-bottom: 30px; margin-bottom: 30px;
} }
} }
.responsive-logo {
width: 300px;
height: auto;
}
@media (max-width: 425px) {
.responsive-logo {
width: 200px;
}
}