Merge version_1 into main #2
@@ -32,9 +32,7 @@ export default function LogisticsPartnersPage() {
|
||||
{ name: "FAQ", id: "faq" },
|
||||
]}
|
||||
button={{
|
||||
text: "Get Started",
|
||||
href: "https://play.google.com/store",
|
||||
}}
|
||||
text: "Get Started", href: "https://play.google.com/store"}}
|
||||
animateOnLoad={true}
|
||||
/>
|
||||
</div>
|
||||
@@ -49,7 +47,7 @@ export default function LogisticsPartnersPage() {
|
||||
{ value: "2,200+", title: "Active Logistics Partners" },
|
||||
{ value: "10K+", title: "Monthly Deliveries" },
|
||||
]}
|
||||
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnKYPCgpJGxHpFTeDb61G2JGch/a-logistics-delivery-tracking-interface--1773223070611-e77f7f23.png?_wi=3"
|
||||
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnKYPCgpJGxHpFTeDb61G2JGch/a-logistics-delivery-tracking-interface--1773223070611-e77f7f23.png"
|
||||
imageAlt="Real-time logistics tracking and delivery management"
|
||||
useInvertedBackground={false}
|
||||
mediaAnimation="blur-reveal"
|
||||
@@ -66,47 +64,23 @@ export default function LogisticsPartnersPage() {
|
||||
useInvertedBackground={false}
|
||||
features={[
|
||||
{
|
||||
id: "1",
|
||||
title: "Fleet Management",
|
||||
description: "Register multiple vehicles with different capacities. Each vehicle can be assigned to different delivery routes based on size and availability. Track all your vehicles in one dashboard.",
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnKYPCgpJGxHpFTeDb61G2JGch/a-logistics-delivery-tracking-interface--1773223070611-e77f7f23.png?_wi=4",
|
||||
imageAlt: "Fleet management and vehicle tracking interface",
|
||||
},
|
||||
id: 1,
|
||||
title: "Fleet Management", description: "Register multiple vehicles with different capacities. Each vehicle can be assigned to different delivery routes based on size and availability. Track all your vehicles in one dashboard.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnKYPCgpJGxHpFTeDb61G2JGch/a-logistics-delivery-tracking-interface--1773223070611-e77f7f23.png", imageAlt: "Fleet management and vehicle tracking interface"},
|
||||
{
|
||||
id: "2",
|
||||
title: "Location-Based Order Matching",
|
||||
description: "Our algorithm automatically suggests delivery requests that match your vehicle capacity, current location, and schedule. Accept or decline requests instantly. Smart matching maximizes your earning potential.",
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnKYPCgpJGxHpFTeDb61G2JGch/an-illustration-showing-location-based-m-1773223069616-37623ab6.png?_wi=4",
|
||||
imageAlt: "Location-based order matching system",
|
||||
},
|
||||
id: 2,
|
||||
title: "Location-Based Order Matching", description: "Our algorithm automatically suggests delivery requests that match your vehicle capacity, current location, and schedule. Accept or decline requests instantly. Smart matching maximizes your earning potential.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnKYPCgpJGxHpFTeDb61G2JGch/an-illustration-showing-location-based-m-1773223069616-37623ab6.png", imageAlt: "Location-based order matching system"},
|
||||
{
|
||||
id: "3",
|
||||
title: "Real-Time GPS Tracking",
|
||||
description: "Integrated Mapbox maps show your current location, planned route, and destination. Buyers and farmers can track your vehicle in real-time. Professional delivery execution with complete transparency.",
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnKYPCgpJGxHpFTeDb61G2JGch/a-logistics-delivery-tracking-interface--1773223070611-e77f7f23.png?_wi=5",
|
||||
imageAlt: "Real-time GPS tracking with Mapbox integration",
|
||||
},
|
||||
id: 3,
|
||||
title: "Real-Time GPS Tracking", description: "Integrated Mapbox maps show your current location, planned route, and destination. Buyers and farmers can track your vehicle in real-time. Professional delivery execution with complete transparency.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnKYPCgpJGxHpFTeDb61G2JGch/a-logistics-delivery-tracking-interface--1773223070611-e77f7f23.png", imageAlt: "Real-time GPS tracking with Mapbox integration"},
|
||||
{
|
||||
id: "4",
|
||||
title: "Secure Payment Processing",
|
||||
description: "Transparent pricing for each delivery. Payments are held securely and released automatically upon delivery confirmation. All transactions recorded on the blockchain for your protection.",
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnKYPCgpJGxHpFTeDb61G2JGch/an-illustration-showing-secure-transacti-1773223069825-0fb603f7.png",
|
||||
imageAlt: "Secure blockchain-based payment system",
|
||||
},
|
||||
id: 4,
|
||||
title: "Secure Payment Processing", description: "Transparent pricing for each delivery. Payments are held securely and released automatically upon delivery confirmation. All transactions recorded on the blockchain for your protection.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnKYPCgpJGxHpFTeDb61G2JGch/an-illustration-showing-secure-transacti-1773223069825-0fb603f7.png", imageAlt: "Secure blockchain-based payment system"},
|
||||
{
|
||||
id: "5",
|
||||
title: "Earnings Dashboard",
|
||||
description: "View all your completed deliveries, earnings summaries, and payment history. Real-time income tracking so you always know how much you've earned. Detailed reports for your business planning.",
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnKYPCgpJGxHpFTeDb61G2JGch/a-mobile-interface-for-logistics-provide-1773223074986-4e049fc8.png",
|
||||
imageAlt: "Logistics provider earnings dashboard",
|
||||
},
|
||||
id: 5,
|
||||
title: "Earnings Dashboard", description: "View all your completed deliveries, earnings summaries, and payment history. Real-time income tracking so you always know how much you've earned. Detailed reports for your business planning.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnKYPCgpJGxHpFTeDb61G2JGch/a-mobile-interface-for-logistics-provide-1773223074986-4e049fc8.png", imageAlt: "Logistics provider earnings dashboard"},
|
||||
{
|
||||
id: "6",
|
||||
title: "Ratings & Reviews",
|
||||
description: "Build your reputation through customer reviews and ratings. Higher ratings increase your visibility for better delivery requests. Your track record directly impacts your earning opportunities.",
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnKYPCgpJGxHpFTeDb61G2JGch/a-user-profile-interface-showing-farmer--1773223070234-a07dc9fb.png",
|
||||
imageAlt: "Ratings and review profile system",
|
||||
},
|
||||
id: 6,
|
||||
title: "Ratings & Reviews", description: "Build your reputation through customer reviews and ratings. Higher ratings increase your visibility for better delivery requests. Your track record directly impacts your earning opportunities.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnKYPCgpJGxHpFTeDb61G2JGch/a-user-profile-interface-showing-farmer--1773223070234-a07dc9fb.png", imageAlt: "Ratings and review profile system"},
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
@@ -122,25 +96,13 @@ export default function LogisticsPartnersPage() {
|
||||
gridVariant="uniform-all-items-equal"
|
||||
metrics={[
|
||||
{
|
||||
id: "1",
|
||||
value: "5-8 orders",
|
||||
description: "Average Deliveries Per Day",
|
||||
},
|
||||
id: "1", value: "5-8 orders", description: "Average Deliveries Per Day"},
|
||||
{
|
||||
id: "2",
|
||||
value: "8,000 UGX",
|
||||
description: "Average Earning Per Delivery",
|
||||
},
|
||||
id: "2", value: "8,000 UGX", description: "Average Earning Per Delivery"},
|
||||
{
|
||||
id: "3",
|
||||
value: "4.7/5",
|
||||
description: "Average Partner Rating",
|
||||
},
|
||||
id: "3", value: "4.7/5", description: "Average Partner Rating"},
|
||||
{
|
||||
id: "4",
|
||||
value: "250K+",
|
||||
description: "Average Monthly Income",
|
||||
},
|
||||
id: "4", value: "250K+", description: "Average Monthly Income"},
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
@@ -149,8 +111,7 @@ export default function LogisticsPartnersPage() {
|
||||
<FooterBaseReveal
|
||||
columns={[
|
||||
{
|
||||
title: "Product",
|
||||
items: [
|
||||
title: "Product", items: [
|
||||
{ label: "Features", href: "#features" },
|
||||
{ label: "Pricing", href: "#features" },
|
||||
{ label: "Security", href: "#blockchain" },
|
||||
@@ -158,8 +119,7 @@ export default function LogisticsPartnersPage() {
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Company",
|
||||
items: [
|
||||
title: "Company", items: [
|
||||
{ label: "About", href: "#about" },
|
||||
{ label: "Blog", href: "/" },
|
||||
{ label: "Careers", href: "/" },
|
||||
@@ -167,8 +127,7 @@ export default function LogisticsPartnersPage() {
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Legal",
|
||||
items: [
|
||||
title: "Legal", items: [
|
||||
{ label: "Privacy Policy", href: "#" },
|
||||
{ label: "Terms of Service", href: "#" },
|
||||
{ label: "Cookie Policy", href: "#" },
|
||||
|
||||
@@ -1,51 +1,36 @@
|
||||
"use client";
|
||||
|
||||
import { memo } from "react";
|
||||
import useSvgTextLogo from "./useSvgTextLogo";
|
||||
import { cls } from "@/lib/utils";
|
||||
import React from 'react';
|
||||
|
||||
interface SvgTextLogoProps {
|
||||
logoText: string;
|
||||
adjustHeightFactor?: number;
|
||||
verticalAlign?: "top" | "center";
|
||||
text: string;
|
||||
className?: string;
|
||||
dominantBaseline?: 'auto' | 'middle' | 'hanging' | 'baseline' | 'central' | 'ideographic' | 'mathematical';
|
||||
}
|
||||
|
||||
const SvgTextLogo = memo<SvgTextLogoProps>(function SvgTextLogo({
|
||||
logoText,
|
||||
adjustHeightFactor,
|
||||
verticalAlign = "top",
|
||||
className = "",
|
||||
}) {
|
||||
const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor);
|
||||
|
||||
const SvgTextLogo: React.FC<SvgTextLogoProps> = ({
|
||||
text,
|
||||
className = '',
|
||||
dominantBaseline = 'middle',
|
||||
}) => {
|
||||
return (
|
||||
<svg
|
||||
ref={svgRef}
|
||||
viewBox={viewBox}
|
||||
className={cls("w-full", className)}
|
||||
style={{ aspectRatio: aspectRatio }}
|
||||
preserveAspectRatio="none"
|
||||
role="img"
|
||||
aria-label={`${logoText} logo`}
|
||||
viewBox="0 0 1000 200"
|
||||
className={`w-full h-auto ${className}`}
|
||||
preserveAspectRatio="xMidYMid meet"
|
||||
>
|
||||
<text
|
||||
ref={textRef}
|
||||
x="0"
|
||||
y={verticalAlign === "center" ? "50%" : "0"}
|
||||
className="font-bold fill-current"
|
||||
style={{
|
||||
fontSize: "20px",
|
||||
letterSpacing: "-0.02em",
|
||||
dominantBaseline: verticalAlign === "center" ? "middle" : "text-before-edge"
|
||||
}}
|
||||
x="50%"
|
||||
y="50%"
|
||||
textAnchor="middle"
|
||||
dominantBaseline={dominantBaseline}
|
||||
fontSize="120"
|
||||
fontWeight="bold"
|
||||
fill="currentColor"
|
||||
fontFamily="system-ui, -apple-system, sans-serif"
|
||||
>
|
||||
{logoText}
|
||||
{text}
|
||||
</text>
|
||||
</svg>
|
||||
);
|
||||
});
|
||||
};
|
||||
|
||||
SvgTextLogo.displayName = "SvgTextLogo";
|
||||
|
||||
export default SvgTextLogo;
|
||||
export default SvgTextLogo;
|
||||
Reference in New Issue
Block a user