first commit
This commit is contained in:
432
src/components/sections/SolutionCard1.tsx
Normal file
432
src/components/sections/SolutionCard1.tsx
Normal file
@@ -0,0 +1,432 @@
|
||||
"use client";
|
||||
|
||||
import React, { useState } from "react";
|
||||
import Image from "next/image";
|
||||
|
||||
export default function SolutionCard1() {
|
||||
const [activeTabFmcg, setActiveTabFmcg] = useState<"challenges" | "solutions">("challenges");
|
||||
const [activeTabPharma, setActiveTabPharma] = useState<"challenges" | "solutions">("challenges");
|
||||
const [activeTabB2b, setActiveTabB2b] = useState<"challenges" | "solutions">("challenges");
|
||||
|
||||
return (
|
||||
<>
|
||||
<style dangerouslySetInnerHTML={{ __html: `
|
||||
/* Alternate tabs style: full-width blue tabs, larger size and font */
|
||||
.solution-freight-tabs-alt {
|
||||
width: 100%;
|
||||
margin: 18px 0 28px;
|
||||
font-family: 'Manrope', sans-serif;
|
||||
}
|
||||
|
||||
/* Centered, non-full-width tabs */
|
||||
.solution-freight-tabs-alt .solution-freight-tabs__nav {
|
||||
display: flex;
|
||||
gap: 12px;
|
||||
align-items: flex-end;
|
||||
width: auto;
|
||||
margin: 0 auto 6px;
|
||||
}
|
||||
|
||||
.solution-freight-tabs-alt .solution-freight-tabs__button {
|
||||
appearance: none;
|
||||
border: 1px solid rgba(0, 0, 0, 0.06);
|
||||
background: linear-gradient(180deg, #f9ccd1, #f9ccd1);
|
||||
color: #111;
|
||||
padding: 12px 36px;
|
||||
display: inline-block;
|
||||
min-width: 180px;
|
||||
text-align: center;
|
||||
border-radius: 6px 6px 0 0;
|
||||
cursor: pointer;
|
||||
font-weight: 800;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.6px;
|
||||
box-shadow: none;
|
||||
transition: background-color 0.12s ease, color 0.12s ease, transform 0.08s ease;
|
||||
}
|
||||
|
||||
.solution-freight-tabs-alt .solution-freight-tabs__button h6 {
|
||||
margin: 0;
|
||||
font-size: 16px;
|
||||
color: inherit;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.solution-freight-tabs-alt .solution-freight-tabs__button:hover {
|
||||
transform: translateY(-2px);
|
||||
background: linear-gradient(180deg, #f9ccd1, #f9ccd1);
|
||||
}
|
||||
|
||||
.solution-freight-tabs-alt .solution-freight-tabs__button.active {
|
||||
background: #C01227;
|
||||
color: #ffffff;
|
||||
border-color: #C01227;
|
||||
box-shadow: none;
|
||||
transform: none;
|
||||
z-index: 3;
|
||||
}
|
||||
|
||||
.solution-freight-tabs-alt .solution-freight-tabs__content {
|
||||
margin-top: 2px;
|
||||
padding: 18px 20px;
|
||||
border: 1px solid rgba(0, 0, 0, 0.06);
|
||||
border-top: none;
|
||||
border-radius: 0 6px 6px 6px;
|
||||
background: #ffffff00;
|
||||
max-width: 620px;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.solution-freight-tabs-alt .point-box li::before {
|
||||
content: "";
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
border-radius: 50%;
|
||||
background: #C01227;
|
||||
left: 6px;
|
||||
top: 8px;
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.solution-freight-tabs-alt .solution-freight-tabs__button {
|
||||
padding: 10px 18px;
|
||||
min-width: 120px;
|
||||
}
|
||||
|
||||
.solution-freight-tabs-alt .solution-freight-tabs__content {
|
||||
max-width: 100%;
|
||||
margin: 0 12px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.solution-freight-tabs-alt .solution-freight-tabs__button {
|
||||
padding: 12px 0;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.solution-freight-tabs-alt .solution-freight-tabs__button h6 {
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
.solution-freight-tabs__button {
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.point-box li {
|
||||
font-size: 15px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
.solution-freight-tabs__button {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.solution-freight-tabs__panel p {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.point-box li {
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
|
||||
/* Point Box List Styling */
|
||||
.point-box {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.point-box li {
|
||||
position: relative;
|
||||
margin: 0 0 20px 0;
|
||||
padding-left: 32px;
|
||||
color: #666;
|
||||
font-size: 16px;
|
||||
font-weight: 500;
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
.point-box li:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.point-box li::before {
|
||||
content: "✓";
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: -2px;
|
||||
color: #C01227;
|
||||
font-size: 18px;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.point-box li.spacer {
|
||||
height: 12px;
|
||||
margin: 10px 0 0;
|
||||
padding-left: 32px;
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
.point-box li.spacer::before {
|
||||
content: none;
|
||||
}
|
||||
`}} />
|
||||
|
||||
<div className="elementor-61">
|
||||
|
||||
{/* FMCG Section */}
|
||||
<div style={{ marginTop: "0px" }} className="elementor-element elementor-element-89a0ca1 e-con-full e-flex cut-corner-no sticky-container-off e-con e-parent" data-id="89a0ca1" data-element_type="container" data-e-type="container">
|
||||
<div className="elementor-element elementor-element-9ffed33 e-con-full e-flex cut-corner-no sticky-container-off e-con e-child" data-id="9ffed33" data-element_type="container" data-e-type="container" data-settings='{"background_background":"classic"}'>
|
||||
<div className="elementor-element elementor-element-96343ba e-con-full e-flex cut-corner-no sticky-container-off e-con e-child elementor-image-section" data-id="96343ba" data-element_type="container" data-e-type="container">
|
||||
<div className="elementor-element elementor-element-99768ba elementor-widget elementor-widget-image" data-id="99768ba" data-element_type="widget" data-e-type="widget" data-widget_type="image.default" style={{ width: "100%", display: "flex", alignItems: "center", justifyContent: "center" }}>
|
||||
<div className="elementor-widget-container" style={{ margin: 0, width: "100%", height: "100%", display: "flex", alignItems: "center", justifyContent: "center" }}>
|
||||
<Image
|
||||
src="/images/tab-pic-1-solution.jpeg"
|
||||
alt="FMCG Solutions"
|
||||
width={578}
|
||||
height={790}
|
||||
priority
|
||||
style={{ maxWidth: "100%", maxHeight: "100%", objectFit: "contain" }}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="elementor-element elementor-element-71c3e1d e-con-full e-flex cut-corner-no sticky-container-off e-con e-child section-2-content" data-id="71c3e1d" data-element_type="container" data-e-type="container">
|
||||
<div className="elementor-element elementor-element-fdb2e58 e-con-full e-flex cut-corner-no sticky-container-off e-con e-child" data-id="fdb2e58" data-element_type="container" data-e-type="container">
|
||||
<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" style={{ margin: 0 }}>
|
||||
<h3 className="logico-title">FMCG</h3>
|
||||
</div>
|
||||
</div>
|
||||
<div className="elementor-element elementor-element-165dfa5 elementor-widget__width-initial elementor-widget elementor-widget-text-editor" data-id="165dfa5" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
|
||||
<div className="elementor-widget-container" style={{ margin: 0, fontSize: "20px", lineHeight: 1.7 }}>
|
||||
<p>FMCG logistics demands speed, precision, and continuous fulfillment across high-volume delivery networks. Businesses must balance tight delivery timelines, inventory movement, and operational efficiency without compromising product availability.</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* FMCG Tabs */}
|
||||
<div className="solution-freight-tabs-alt">
|
||||
<div className="solution-freight-tabs__nav" role="tablist" aria-label="FMCG Details">
|
||||
<button
|
||||
className={`solution-freight-tabs__button ${activeTabFmcg === "challenges" ? "active" : ""}`}
|
||||
type="button"
|
||||
role="tab"
|
||||
aria-selected={activeTabFmcg === "challenges"}
|
||||
onClick={() => setActiveTabFmcg("challenges")}
|
||||
>
|
||||
<h6>Challenges</h6>
|
||||
</button>
|
||||
<button
|
||||
className={`solution-freight-tabs__button ${activeTabFmcg === "solutions" ? "active" : ""}`}
|
||||
type="button"
|
||||
role="tab"
|
||||
aria-selected={activeTabFmcg === "solutions"}
|
||||
onClick={() => setActiveTabFmcg("solutions")}
|
||||
>
|
||||
<h6>Solutions</h6>
|
||||
</button>
|
||||
</div>
|
||||
<div className="solution-freight-tabs__content">
|
||||
{activeTabFmcg === "challenges" ? (
|
||||
<div className="solution-freight-tabs__panel active" role="tabpanel">
|
||||
<ul className="point-box">
|
||||
<li>Unpredictable demand spikes create delivery pressure and reduce operational efficiency during peak periods.</li>
|
||||
<li>Fresh product expiry constraints require faster, precisely timed deliveries to maintain product quality.</li>
|
||||
<li>Multi-stop route complexity increases travel time, operational costs, and delivery coordination challenges.</li>
|
||||
<li>Inventory stockout risks increase when delivery delays disrupt fast-moving product distribution.</li>
|
||||
<li className="spacer" aria-hidden="true"></li>
|
||||
</ul>
|
||||
</div>
|
||||
) : (
|
||||
<div className="solution-freight-tabs__panel active" role="tabpanel">
|
||||
<ul className="point-box">
|
||||
<li>AI-driven demand-responsive routing adapts delivery plans instantly based on real-time order demand.</li>
|
||||
<li>Freshness-aware delivery prioritization ensures perishable products are delivered at the right time.</li>
|
||||
<li>Dynamic batch optimization intelligently groups orders to maximize delivery efficiency and reduce costs.</li>
|
||||
<li>Real-time inventory visibility helps prevent stockouts and improves fulfillment accuracy across delivery zones.</li>
|
||||
<li className="spacer" aria-hidden="true"></li>
|
||||
</ul>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Pharma Section */}
|
||||
<div style={{ marginTop: "20px" }} className="elementor-element elementor-element-89a0ca1 e-con-full e-flex cut-corner-no sticky-container-off e-con e-parent" data-id="89a0ca1" data-element_type="container" data-e-type="container">
|
||||
<div className="elementor-element elementor-element-9ffed33 e-con-full e-flex cut-corner-no sticky-container-off e-con e-child" data-id="9ffed33" data-element_type="container" data-e-type="container" data-settings='{"background_background":"classic"}'>
|
||||
<div className="elementor-element elementor-element-96343ba e-con-full e-flex cut-corner-no sticky-container-off e-con e-child elementor-image-section" data-id="96343ba" data-element_type="container" data-e-type="container">
|
||||
<div className="elementor-element elementor-element-99768ba elementor-widget elementor-widget-image" data-id="99768ba" data-element_type="widget" data-e-type="widget" data-widget_type="image.default" style={{ width: "100%", display: "flex", alignItems: "center", justifyContent: "center" }}>
|
||||
<div className="elementor-widget-container" style={{ margin: 0, width: "100%", height: "100%", display: "flex", alignItems: "center", justifyContent: "center" }}>
|
||||
<Image
|
||||
src="/images/tab-pic-2-solution.jpeg"
|
||||
alt="Pharma Solutions"
|
||||
width={578}
|
||||
height={790}
|
||||
style={{ maxWidth: "100%", maxHeight: "100%", objectFit: "contain" }}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div style={{ paddingRight: "60px", paddingLeft: "0px" }} className="elementor-element elementor-element-71c3e1d e-con-full e-flex cut-corner-no sticky-container-off e-con e-child" data-id="71c3e1d" data-element_type="container" data-e-type="container">
|
||||
<div className="elementor-element elementor-element-fdb2e58 e-con-full e-flex cut-corner-no sticky-container-off e-con e-child" data-id="fdb2e58" data-element_type="container" data-e-type="container">
|
||||
<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" style={{ margin: 0 }}>
|
||||
<h3 className="logico-title">Pharma</h3>
|
||||
</div>
|
||||
</div>
|
||||
<div className="elementor-element elementor-element-165dfa5 elementor-widget__width-initial elementor-widget elementor-widget-text-editor" data-id="165dfa5" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
|
||||
<div className="elementor-widget-container" style={{ margin: 0, fontSize: "20px", lineHeight: 1.7 }}>
|
||||
<p>Pharma logistics requires precision, compliance, and real-time monitoring to ensure every shipment reaches safely and on time. From temperature-sensitive medicines to emergency deliveries, operational reliability is critical at every stage.</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Pharma Tabs */}
|
||||
<div className="solution-freight-tabs-alt">
|
||||
<div className="solution-freight-tabs__nav" role="tablist" aria-label="Pharma Details">
|
||||
<button
|
||||
className={`solution-freight-tabs__button ${activeTabPharma === "challenges" ? "active" : ""}`}
|
||||
type="button"
|
||||
role="tab"
|
||||
aria-selected={activeTabPharma === "challenges"}
|
||||
onClick={() => setActiveTabPharma("challenges")}
|
||||
>
|
||||
<h6>Challenges</h6>
|
||||
</button>
|
||||
<button
|
||||
className={`solution-freight-tabs__button ${activeTabPharma === "solutions" ? "active" : ""}`}
|
||||
type="button"
|
||||
role="tab"
|
||||
aria-selected={activeTabPharma === "solutions"}
|
||||
onClick={() => setActiveTabPharma("solutions")}
|
||||
>
|
||||
<h6>Solutions</h6>
|
||||
</button>
|
||||
</div>
|
||||
<div className="solution-freight-tabs__content">
|
||||
{activeTabPharma === "challenges" ? (
|
||||
<div className="solution-freight-tabs__panel active" role="tabpanel">
|
||||
<ul className="point-box">
|
||||
<li>Cold chain integrity requirements demand precise temperature-controlled delivery management throughout transit.</li>
|
||||
<li>Regulatory compliance tracking ensures every delivery meets industry standards and operational guidelines.</li>
|
||||
<li>Critical delivery time windows require highly accurate scheduling and real-time route coordination.</li>
|
||||
<li>Emergency and high-priority medical shipments require instant dispatch coordination and zero-delay execution.</li>
|
||||
<li className="spacer" aria-hidden="true"></li>
|
||||
</ul>
|
||||
</div>
|
||||
) : (
|
||||
<div className="solution-freight-tabs__panel active" role="tabpanel">
|
||||
<ul className="point-box">
|
||||
<li>Real-time temperature monitoring ensures sensitive shipments remain within safe delivery conditions at all times.</li>
|
||||
<li>Chain-of-custody documentation provides complete shipment visibility and compliance tracking throughout transit.</li>
|
||||
<li>Priority override for critical shipments enables faster response and immediate routing for urgent deliveries.</li>
|
||||
<li>Automated compliance alerts help teams proactively identify temperature deviations and delivery risks in real time.</li>
|
||||
<li className="spacer" aria-hidden="true"></li>
|
||||
</ul>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Enterprise & B2B Section */}
|
||||
<div style={{ marginTop: "20px" }} className="elementor-element elementor-element-89a0ca1 e-con-full e-flex cut-corner-no sticky-container-off e-con e-parent" data-id="89a0ca1" data-element_type="container" data-e-type="container">
|
||||
<div className="elementor-element elementor-element-9ffed33 e-con-full e-flex cut-corner-no sticky-container-off e-con e-child" data-id="9ffed33" data-element_type="container" data-e-type="container" data-settings='{"background_background":"classic"}'>
|
||||
<div className="elementor-element elementor-element-96343ba e-con-full e-flex cut-corner-no sticky-container-off e-con e-child elementor-image-section" data-id="96343ba" data-element_type="container" data-e-type="container">
|
||||
<div className="elementor-element elementor-element-99768ba elementor-widget elementor-widget-image" data-id="99768ba" data-element_type="widget" data-e-type="widget" data-widget_type="image.default" style={{ width: "100%", display: "flex", alignItems: "center", justifyContent: "center" }}>
|
||||
<div className="elementor-widget-container" style={{ margin: 0, width: "100%", height: "100%", display: "flex", alignItems: "center", justifyContent: "center" }}>
|
||||
<Image
|
||||
src="/images/tab-pic-3-solution.jpeg"
|
||||
alt="Enterprise & B2B Solutions"
|
||||
width={578}
|
||||
height={790}
|
||||
style={{ maxWidth: "100%", maxHeight: "100%", objectFit: "contain" }}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="elementor-element elementor-element-71c3e1d e-con-full e-flex cut-corner-no sticky-container-off e-con e-child section-2-content" data-id="71c3e1d" data-element_type="container" data-e-type="container">
|
||||
<div className="elementor-element elementor-element-fdb2e58 e-con-full e-flex cut-corner-no sticky-container-off e-con e-child" data-id="fdb2e58" data-element_type="container" data-e-type="container">
|
||||
<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" style={{ margin: 0 }}>
|
||||
<h3 className="logico-title">Enterprise & B2B</h3>
|
||||
</div>
|
||||
</div>
|
||||
<div className="elementor-element elementor-element-165dfa5 elementor-widget__width-initial elementor-widget elementor-widget-text-editor" data-id="165dfa5" data-element_type="widget" data-e-type="widget" data-widget_type="text-editor.default">
|
||||
<div className="elementor-widget-container" style={{ margin: 0, fontSize: "20px", lineHeight: 1.7 }}>
|
||||
<p>Enterprise and B2B logistics require precision, coordination, and reliability to manage high-value shipments at scale. Complex delivery expectations, appointment scheduling, and service-level commitments demand intelligent operational control.</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Enterprise & B2B Tabs */}
|
||||
<div className="solution-freight-tabs-alt">
|
||||
<div className="solution-freight-tabs__nav" role="tablist" aria-label="B2B Details">
|
||||
<button
|
||||
className={`solution-freight-tabs__button ${activeTabB2b === "challenges" ? "active" : ""}`}
|
||||
type="button"
|
||||
role="tab"
|
||||
aria-selected={activeTabB2b === "challenges"}
|
||||
onClick={() => setActiveTabB2b("challenges")}
|
||||
>
|
||||
<h6>Challenges</h6>
|
||||
</button>
|
||||
<button
|
||||
className={`solution-freight-tabs__button ${activeTabB2b === "solutions" ? "active" : ""}`}
|
||||
type="button"
|
||||
role="tab"
|
||||
aria-selected={activeTabB2b === "solutions"}
|
||||
onClick={() => setActiveTabB2b("solutions")}
|
||||
>
|
||||
<h6>Solutions</h6>
|
||||
</button>
|
||||
</div>
|
||||
<div className="solution-freight-tabs__content">
|
||||
{activeTabB2b === "challenges" ? (
|
||||
<div className="solution-freight-tabs__panel active" role="tabpanel">
|
||||
<ul className="point-box">
|
||||
<li>Appointment scheduling coordination requires precise timing and seamless delivery planning across multiple customer locations.</li>
|
||||
<li>White-glove delivery standards demand high-quality handling, accuracy, and premium customer service execution.</li>
|
||||
<li>Multi-location routing complexity increases operational challenges in managing efficient large-scale deliveries.</li>
|
||||
<li>Strict SLA commitments increase pressure on teams to maintain timely and error-free deliveries across multiple locations.</li>
|
||||
<li className="spacer" aria-hidden="true"></li>
|
||||
</ul>
|
||||
</div>
|
||||
) : (
|
||||
<div className="solution-freight-tabs__panel active" role="tabpanel">
|
||||
<ul className="point-box">
|
||||
<li>Automated appointment optimization streamlines delivery scheduling for faster and more efficient operations.</li>
|
||||
<li>Service level guarantee tracking ensures every delivery meets committed SLA and customer expectations.</li>
|
||||
<li>Enterprise integration APIs enable seamless connectivity across logistics, warehouse, and business systems.</li>
|
||||
<li>Real-time SLA monitoring helps teams proactively manage delays and maintain enterprise delivery commitments.</li>
|
||||
<li className="spacer" aria-hidden="true"></li>
|
||||
</ul>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user