From 393ec8fb30a476fb44e5b66c66e6c075898e84ef Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 09:51:16 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 58d4bf9..5ecc4bb 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -91,7 +91,7 @@ export default function LandingPage() { features={[ { id: 1, - title: "Prescription Medications", description: "Wide selection of prescription medicines from trusted pharmaceutical manufacturers. Licensed pharmacists ensure accurate dispensing.", imageSrc: "http://img.b2bpic.net/free-photo/portrait-female-pharmacist-working-drugstore_23-2151684927.jpg?_wi=1", imageAlt: "pharmacy medicine shelves organized medication display" + title: "Prescription Medications", description: "Wide selection of prescription medicines from trusted pharmaceutical manufacturers. Licensed pharmacists ensure accurate dispensing.", imageSrc: "http://img.b2bpic.net/free-photo/portrait-female-pharmacist-working-drugstore_23-2151684927.jpg", imageAlt: "pharmacy medicine shelves organized medication display" }, { id: 2, @@ -103,11 +103,11 @@ export default function LandingPage() { }, { id: 4, - title: "Local Medication Delivery", description: "Fast and reliable delivery service to your home in Tunduma and surrounding areas. Same-day service available.", imageSrc: "http://img.b2bpic.net/free-photo/delivery-man-holding-first-aid-kit-blue-t-shirt_176474-19900.jpg?_wi=1", imageAlt: "medication delivery service local community pharmacist" + title: "Local Medication Delivery", description: "Fast and reliable delivery service to your home in Tunduma and surrounding areas. Same-day service available.", imageSrc: "http://img.b2bpic.net/free-photo/delivery-man-holding-first-aid-kit-blue-t-shirt_176474-19900.jpg", imageAlt: "medication delivery service local community pharmacist" }, { id: 5, - title: "Medication Availability Check", description: "Call or submit a request to check if we have your needed medication in stock before visiting.", imageSrc: "http://img.b2bpic.net/free-photo/portrait-female-pharmacist-working-drugstore_23-2151684927.jpg?_wi=2", imageAlt: "pharmacy medicine shelves organized medication display" + title: "Medication Availability Check", description: "Call or submit a request to check if we have your needed medication in stock before visiting.", imageSrc: "http://img.b2bpic.net/free-photo/portrait-female-pharmacist-working-drugstore_23-2151684927.jpg", imageAlt: "pharmacy medicine shelves organized medication display" } ]} /> @@ -122,10 +122,11 @@ export default function LandingPage() { { value: "Same-Day", title: "Delivery Service" }, { value: "5.0★", title: "Customer Rating" } ]} - imageSrc="http://img.b2bpic.net/free-photo/delivery-man-holding-first-aid-kit-blue-t-shirt_176474-19900.jpg?_wi=2" + imageSrc="http://img.b2bpic.net/free-photo/delivery-man-holding-first-aid-kit-blue-t-shirt_176474-19900.jpg" imageAlt="Fast medication delivery service to your home" useInvertedBackground={false} mediaAnimation="slide-up" + metricsAnimation="slide-up" /> -- 2.49.1 From f926e280bded3232abbad02323e641ebb8efd72e Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 09:51:16 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 68 +++++++++---------- 1 file changed, 31 insertions(+), 37 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..7cd59ce 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,45 @@ -"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; + width?: number; + height?: number; + fontSize?: number; + fontWeight?: string | number; + fill?: string; className?: string; } -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); - +const SvgTextLogo: React.FC = ({ + text, + width = 200, + height = 100, + fontSize = 24, + fontWeight = 'bold', + fill = '#000000', + className = '', +}) => { return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file -- 2.49.1