cleanup the repo unused images

This commit is contained in:
2026-07-03 16:35:42 +05:30
parent dd565e349a
commit 71875ea20f
89 changed files with 186 additions and 214 deletions

View File

@@ -1,9 +1,11 @@
import React from "react";
import { preload } from "react-dom";
export default function AboutHero() {
preload("/images/about-bg.webp", { as: "image" });
return (
<>
<link rel="preload" as="image" href="/images/about-bg.webp" />
<style dangerouslySetInnerHTML={{ __html: `
.about-us-hero-content {
width: 100% !important;

View File

@@ -1,9 +1,11 @@
import React from "react";
import { preload } from "react-dom";
export default function BlogsHero() {
preload("/images/home2-banner-1.webp", { as: "image" });
return (
<>
<link rel="preload" as="image" href="/images/home2-banner-1.webp" />
<style dangerouslySetInnerHTML={{ __html: `
.blogs-hero-title {
color: #ffffff !important;

View File

@@ -23,6 +23,14 @@ export default function ConnectedLogistics() {
overflow-wrap: break-word !important;
}
/* Fix text colors for the dark background */
.elementor-element-71c3e1d .logico-title {
color: #ffffff !important;
}
.elementor-element-71c3e1d p {
color: rgba(255, 255, 255, 0.85) !important;
}
/* Make sure paragraphs are responsive on all screen widths */
.elementor-element-165dfa5 {
width: 100% !important;
@@ -198,7 +206,7 @@ export default function ConnectedLogistics() {
<ScrollReveal delay={0.2} duration={0.85} yOffset={25}>
<div className="elementor-element elementor-element-7500280 elementor-widget elementor-widget-logico_heading" data-id="7500280" data-element_type="widget" data-e-type="widget" data-widget_type="logico_heading.default">
<div className="elementor-widget-container">
<h3 className="logico-title">Smart logistics solutions we deliver for modern supply chains</h3>
<h2 className="logico-title">Smart logistics solutions we deliver for modern supply chains</h2>
</div>
</div>
</ScrollReveal>

View File

@@ -1,9 +1,11 @@
import React from "react";
import { preload } from "react-dom";
export default function ContactsHero() {
preload("/images/home2-banner-3.webp", { as: "image" });
return (
<>
<link rel="preload" as="image" href="/images/home2-banner-3.webp" />
<style dangerouslySetInnerHTML={{ __html: `
.contacts-hero-custom {
background-color: #0b0b0b !important;

View File

@@ -461,6 +461,10 @@ export default function EVSection({
--padding-top: 46px;
--padding-bottom: 38px;
}
/* Fix missing font-size for card title that caused it to inherit 80px h2 */
.elementor-element.elementor-element-239afbb .logico-title {
font-size: clamp(28px, 3.5vw, 40px) !important;
}
.elementor-element.elementor-element-5aea22e {
--min-height: 38px;
--padding-top: 14px;
@@ -1288,7 +1292,7 @@ export default function EVSection({
data-widget_type="logico_heading.default"
>
<div className="elementor-widget-container">
<h5 className="logico-title">{cardTitle}</h5>
<h2 className="logico-title">{cardTitle}</h2>
</div>
</div>
<div

View File

@@ -1,8 +1,10 @@
"use client";
import React, { useState, useEffect } from "react";
import { preload } from "react-dom";
export default function HowItWorksHero() {
preload("/images/home2-banner-1.webp", { as: "image" });
const [activeSlide, setActiveSlide] = useState(0);
// Auto-slide every 7 seconds — slower, more readable, professional pacing
@@ -19,7 +21,7 @@ export default function HowItWorksHero() {
return (
<>
<link rel="preload" as="image" href="/images/home2-banner-1.webp" />
<style
dangerouslySetInnerHTML={{
__html: `

View File

@@ -3,8 +3,10 @@
import React, { useState, useEffect, useRef } from "react";
import gsap from "gsap";
import { ShimmerText } from "@/animations/Reveal";
import { preload } from "react-dom";
export default function IndexHero() {
preload("/images/home-bg-1.webp", { as: "image" });
const [activeSlide, setActiveSlide] = useState(0);
const containerRef = useRef<HTMLDivElement>(null);
@@ -52,7 +54,7 @@ export default function IndexHero() {
return (
<div className="elementor-element elementor-element-741f56c e-con-full e-flex cut-corner-no sticky-container-off e-con e-parent" data-id="741f56c" data-element_type="container" data-e-type="container">
<link rel="preload" as="image" href="/images/home-bg-1.webp" />
<style dangerouslySetInnerHTML={{ __html: `
/* Fluid responsive font size override for hero headings */
.logico-content-slider-widget .content-slider-item-heading {

View File

@@ -133,11 +133,11 @@ export default function IndustrySolutions() {
data-widget_type="logico_heading.default"
>
<div className="elementor-widget-container" style={{ margin: "30px 0 0 0"}}>
<h3 className="logico-title" style={{ fontSize: "clamp(28px, 3.5vw, 48px)", lineHeight: "1.1", fontWeight: 800, textTransform: "uppercase", maxWidth: "900px" }}>
<h2 className="logico-title" style={{ fontSize: "clamp(28px, 3.5vw, 48px)", lineHeight: "1.1", fontWeight: 800, textTransform: "uppercase", maxWidth: "900px" }}>
<ScrollReveal delay={0.05} duration={0.8} yOffset={25}>
Smart solutions built exclusively for your <span style={{ color: "#c01227" }}>industry</span>
</ScrollReveal>
</h3>
</h2>
</div>
</div>
</div>

View File

@@ -1,6 +1,7 @@
"use client";
import React, { useState, useEffect } from "react";
import { preload } from "react-dom";
interface CounterProps {
from: number;
@@ -36,6 +37,7 @@ function Counter({ from, to, duration = 2000, decimals = 0, suffix = "" }: Count
}
export default function MileTruthHero() {
preload("/images/miletruth-bg.webp", { as: "image" });
const [mounted, setMounted] = useState(false);
useEffect(() => {
@@ -44,7 +46,7 @@ export default function MileTruthHero() {
return (
<>
<link rel="preload" as="image" href="/images/miletruth-bg.webp" />
<style dangerouslySetInnerHTML={{ __html: `
/* ── Hero wrapper: column layout, zero gap between hero + stats ── */
.miletruth-hero .elementor-element-86f3204 {

View File

@@ -1,8 +1,10 @@
"use client";
import React, { useState, useEffect } from "react";
import { preload } from "react-dom";
export default function SolutionsHero() {
preload("/images/home1-slide-1.webp", { as: "image" });
const [activeSlide, setActiveSlide] = useState(0);
// Auto-slide every 7 seconds — slower, more readable, professional pacing
@@ -19,7 +21,7 @@ export default function SolutionsHero() {
return (
<>
<link rel="preload" as="image" href="/images/home1-slide-1.webp" />
<style dangerouslySetInnerHTML={{ __html: `
.howits-hero-custom-bg.elementor-repeater-item-3264830,
.howits-hero-custom-bg.elementor-repeater-item-6867061 {

View File

@@ -6,6 +6,15 @@ import { ScrollReveal, StaggerChildren } from "@/animations/Reveal";
export default function TheDoormileWay() {
return (
<div className="elementor-61">
<style dangerouslySetInnerHTML={{ __html: `
/* Fix oversized h2 font size */
.elementor-element-9363070 .logico-title {
font-size: clamp(32px, 4.5vw, 64px) !important;
line-height: 1.1 !important;
word-wrap: break-word !important;
overflow-wrap: break-word !important;
}
`}} />
{/* Approach title container */}
<div className="elementor-element elementor-element-88745f4 e-flex e-con-boxed cut-corner-no sticky-container-off e-con e-parent" data-id="88745f4" data-element_type="container" data-e-type="container">
<div className="e-con-inner">
@@ -38,7 +47,7 @@ export default function TheDoormileWay() {
<div className="elementor-element elementor-element-5ba6bbf e-con-full e-flex cut-corner-no sticky-container-off e-con e-child" data-id="5ba6bbf" data-element_type="container" data-e-type="container">
<div className="elementor-element elementor-element-9363070 elementor-widget elementor-widget-logico_heading" data-id="9363070" data-element_type="widget" data-e-type="widget" data-widget_type="logico_heading.default">
<div className="elementor-widget-container">
<h3 className="logico-title"> Smarter, Faster, Connected Logistics</h3>
<h2 className="logico-title"> Smarter, Faster, Connected Logistics</h2>
</div>
</div>
</div>

View File

@@ -20,7 +20,7 @@ export default function TheProblem() {
<ScrollReveal delay={0.15} duration={0.85} yOffset={30}>
<div className="elementor-element elementor-element-ffd1f7d elementor-widget__width-initial elementor-widget elementor-widget-logico_heading" data-id="ffd1f7d" data-element_type="widget" data-e-type="widget" data-widget_type="logico_heading.default">
<div className="elementor-widget-container">
<h3 className="logico-title">Fragmented Logistics is Broken</h3>
<h2 className="logico-title">Fragmented Logistics is Broken</h2>
</div>
</div>
</ScrollReveal>