From b5c7931119a8600ec8869e19ef2b9d8927304d7c Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 10:00:00 +0000 Subject: [PATCH 1/2] Update src/app/logistics-partners/page.tsx --- src/app/logistics-partners/page.tsx | 83 ++++++++--------------------- 1 file changed, 21 insertions(+), 62 deletions(-) diff --git a/src/app/logistics-partners/page.tsx b/src/app/logistics-partners/page.tsx index a89f90d..c2bad23 100644 --- a/src/app/logistics-partners/page.tsx +++ b/src/app/logistics-partners/page.tsx @@ -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} /> @@ -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"}, ]} /> @@ -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"}, ]} /> @@ -149,8 +111,7 @@ export default function LogisticsPartnersPage() { Date: Wed, 11 Mar 2026 10:00:01 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 59 +++++++------------ 1 file changed, 22 insertions(+), 37 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..b9d0ce2 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -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(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); - +const SvgTextLogo: React.FC = ({ + text, + className = '', + dominantBaseline = 'middle', +}) => { return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file -- 2.49.1