responsive checked
This commit is contained in:
parent
c9853b9207
commit
66d8572e7a
@ -18,6 +18,7 @@ export default function Header1() {
|
||||
width={300}
|
||||
height={60}
|
||||
alt="img"
|
||||
className="responsive-logo"
|
||||
/>
|
||||
</Link>
|
||||
</div>
|
||||
@ -32,6 +33,7 @@ export default function Header1() {
|
||||
alt="logo-img"
|
||||
width={300}
|
||||
height={60}
|
||||
className="responsive-logo"
|
||||
/>
|
||||
</Link>
|
||||
</div>
|
||||
|
||||
@ -17,6 +17,7 @@ export default function About() {
|
||||
width={114}
|
||||
height={419}
|
||||
alt="img"
|
||||
style={{ opacity: 0.4 }}
|
||||
/>
|
||||
</div>
|
||||
<div className="about-shape-2 float-bob-x">
|
||||
|
||||
@ -79,7 +79,7 @@ export default function Blogs() {
|
||||
</Link>
|
||||
</h3>
|
||||
<p className="text-white">
|
||||
{truncateWords(leftBlog.description.replace(/<[^>]+>/g, ""), 70)}
|
||||
{truncateWords(leftBlog.description.replace(/<[^>]+>/g, ""), 25)}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
@ -107,7 +107,7 @@ export default function Blogs() {
|
||||
</ul>
|
||||
<h4>
|
||||
<Link href={`/news-details/${item.slug}`}>
|
||||
{truncateWords(item.title.replace(/<[^>]+>/g, ""), 6)}
|
||||
{truncateWords(item.title.replace(/<[^>]+>/g, ""), 8)}
|
||||
</Link>
|
||||
</h4>
|
||||
<p>
|
||||
|
||||
@ -48,7 +48,7 @@ export default function CorporateProfile() {
|
||||
</p>
|
||||
|
||||
<div className="row mt-5 mb-5">
|
||||
<div className="col-lg-6">
|
||||
<div className="col-lg-6 mt-2">
|
||||
<div className="details-image">
|
||||
<Image
|
||||
src="/assets/img/news/post-5.jpg"
|
||||
@ -58,7 +58,7 @@ export default function CorporateProfile() {
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<div className="col-lg-6 col-md-12">
|
||||
<div className="col-lg-6 col-md-12 mt-2">
|
||||
<div className="details-image">
|
||||
<Image
|
||||
src="/assets/img/news/post-5.jpg"
|
||||
|
||||
24
data/menu.js
24
data/menu.js
@ -75,21 +75,21 @@ export const menuData = [
|
||||
{
|
||||
label: "Projects",
|
||||
href: "#",
|
||||
iconClass: "fa-regular fa-plus",
|
||||
submenu: [
|
||||
{ label: "Projects", href: "/project" },
|
||||
{ label: "Project Details", href: "/project-details/1" },
|
||||
],
|
||||
// iconClass: "fa-regular fa-plus",
|
||||
// submenu: [
|
||||
// { label: "Projects", href: "/project" },
|
||||
// { label: "Project Details", href: "/project-details/1" },
|
||||
// ],
|
||||
},
|
||||
{
|
||||
label: "Blog",
|
||||
href: "#",
|
||||
iconClass: "fa-regular fa-plus",
|
||||
submenu: [
|
||||
{ label: "Blog Grid", href: "/news-grid" },
|
||||
{ label: "Blog Standard", href: "/news" },
|
||||
{ label: "Blog Details", href: "/news-details/1" },
|
||||
],
|
||||
href: "/blog",
|
||||
// iconClass: "fa-regular fa-plus",
|
||||
// submenu: [
|
||||
// { label: "Blog Grid", href: "/news-grid" },
|
||||
// { label: "Blog Standard", href: "/news" },
|
||||
// { label: "Blog Details", href: "/news-details/1" },
|
||||
// ],
|
||||
},
|
||||
{
|
||||
label: "Contact Us",
|
||||
|
||||
@ -156,7 +156,7 @@ export const teamMembers2 = [
|
||||
{
|
||||
id: 7,
|
||||
image: "/assets/img/team/07.jpg",
|
||||
name: "Engineering & Innovation",
|
||||
name: "Sustainability Impact",
|
||||
role: "Sr. engineer",
|
||||
socials: [
|
||||
{
|
||||
@ -181,7 +181,7 @@ export const teamMembers2 = [
|
||||
{
|
||||
id: 8,
|
||||
image: "/assets/img/team/08.jpg",
|
||||
name: "Sustainability Impact",
|
||||
name: "Engineering & Innovation",
|
||||
role: "Sr. engineer",
|
||||
socials: [
|
||||
{
|
||||
|
||||
@ -1092,3 +1092,13 @@
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
}
|
||||
.responsive-logo {
|
||||
width: 300px;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
@media (max-width: 425px) {
|
||||
.responsive-logo {
|
||||
width: 200px;
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user