diff --git a/src/app/page.tsx b/src/app/page.tsx index a757fc0..20d08a1 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -52,15 +52,15 @@ export default function LandingPage() { testimonials={[ { name: "Thabo M.", handle: "Regular Customer", testimonial: "Best kota in Arcadia! Fast, fresh, and feels like home every time.", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/closeup-goodlooking-tender-friendly-pretty-middleaged-30s-woman-extend-arm-hold-camera-hand-smiling-broadly-taking-selfie-photographing-record-videomessage-calling-husband_176420-51274.jpg?_wi=1" + imageSrc: "http://img.b2bpic.net/free-photo/closeup-goodlooking-tender-friendly-pretty-middleaged-30s-woman-extend-arm-hold-camera-hand-smiling-broadly-taking-selfie-photographing-record-videomessage-calling-husband_176420-51274.jpg" }, { name: "Sipho K.", handle: "Local Worker", testimonial: "My lunch break isn't complete without MAMOUSH. The owners treat everyone with respect.", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/confident-woman-being-body-positive_23-2148974042.jpg?_wi=1" + imageSrc: "http://img.b2bpic.net/free-photo/confident-woman-being-body-positive_23-2148974042.jpg" }, { name: "Naledi T.", handle: "Neighborhood Resident", testimonial: "Affordable, delicious, and genuinely welcoming. A real community gem.", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/young-woman-wearing-striped-shirt-eyeglasses_273609-13250.jpg?_wi=1" + imageSrc: "http://img.b2bpic.net/free-photo/young-woman-wearing-striped-shirt-eyeglasses_273609-13250.jpg" } ]} buttons={[ @@ -69,7 +69,7 @@ export default function LandingPage() { ]} buttonAnimation="blur-reveal" useInvertedBackground={false} - background={{ variant: "circleGradient" }} + background={{ variant: "radial-gradient" }} /> @@ -124,15 +124,15 @@ export default function LandingPage() { testimonials={[ { id: "1", name: "Thabo Mthembu", role: "Software Developer", company: "Tech Worker, Arcadia", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/closeup-goodlooking-tender-friendly-pretty-middleaged-30s-woman-extend-arm-hold-camera-hand-smiling-broadly-taking-selfie-photographing-record-videomessage-calling-husband_176420-51274.jpg?_wi=2" + imageSrc: "http://img.b2bpic.net/free-photo/closeup-goodlooking-tender-friendly-pretty-middleaged-30s-woman-extend-arm-hold-camera-hand-smiling-broadly-taking-selfie-photographing-record-videomessage-calling-husband_176420-51274.jpg" }, { id: "2", name: "Naledi Thorne", role: "Student", company: "University of Pretoria", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/confident-woman-being-body-positive_23-2148974042.jpg?_wi=2" + imageSrc: "http://img.b2bpic.net/free-photo/confident-woman-being-body-positive_23-2148974042.jpg" }, { id: "3", name: "Sipho Khumalo", role: "Construction Manager", company: "Local Builder", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/young-woman-wearing-striped-shirt-eyeglasses_273609-13250.jpg?_wi=2" + imageSrc: "http://img.b2bpic.net/free-photo/young-woman-wearing-striped-shirt-eyeglasses_273609-13250.jpg" }, { id: "4", name: "Amahle Mthembu", role: "Nurse", company: "Healthcare Worker", rating: 5, diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..5c3dfeb 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,46 @@ -"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; + fontSize?: number; + fontFamily?: string; + fontWeight?: number | string; + textAnchor?: 'start' | 'middle' | 'end'; + dominantBaseline?: 'auto' | 'baseline' | 'before-edge' | 'text-before-edge' | 'middle' | 'central' | 'after-edge' | 'text-after-edge' | 'ideographic' | 'alphabetic' | 'hanging' | 'mathematical' | 'inherit'; + fill?: 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, + className = '', + fontSize = 24, + fontFamily = 'system-ui, -apple-system, sans-serif', + fontWeight = 600, + textAnchor = 'middle', + dominantBaseline = 'middle', + fill = 'currentColor', +}) => { return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file