diff --git a/src/app/page.tsx b/src/app/page.tsx index c65fbe6..e83b728 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -66,6 +66,7 @@ export default function LandingPage() { imageSrc="http://img.b2bpic.net/free-photo/male-barista-pouring-water-through-grounds-making-pouron-coffee_176420-7893.jpg" imageAlt="Cai and the Chealsons team preparing specialty coffee" mediaAnimation="blur-reveal" + metricsAnimation="slide-up" useInvertedBackground={false} /> @@ -128,28 +129,22 @@ export default function LandingPage() { tag="Customer Love" testimonials={[ { - id: "1", name: "James Mitchell", handle: "@jamesmitchell", testimonial: "So great to see Cai and the team at Chealsons sustaining us with outstanding coffee and service. This place is a true gem on Bankside.", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/smiling-young-woman-typing-her-laptop_231208-13559.jpg", imageAlt: "happy customer portrait professional headshot smiling" + id: "1", name: "James Mitchell", handle: "@jamesmitchell", testimonial: "So great to see Cai and the team at Chealsons sustaining us with outstanding coffee and service. This place is a true gem on Bankside.", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/smiling-young-woman-typing-her-laptop_231208-13559.jpg", imageAlt: "happy customer portrait professional headshot smiling" }, { - id: "2", name: "Sophie Richardson", handle: "@sophierichards", testimonial: "What a lovely experience and all adds to the atmosphere here as the winter sun goes down. The coffee is exceptional and the hospitality is genuine.", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/close-up-man-with-bright-smile_23-2148563438.jpg", imageAlt: "professional man headshot business portrait smiling" + id: "2", name: "Sophie Richardson", handle: "@sophierichards", testimonial: "What a lovely experience and all adds to the atmosphere here as the winter sun goes down. The coffee is exceptional and the hospitality is genuine.", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/close-up-man-with-bright-smile_23-2148563438.jpg", imageAlt: "professional man headshot business portrait smiling" }, { - id: "3", name: "Marcus Chen", handle: "@marcusc", testimonial: "Chealsons has become my daily ritual. The quality of the beans, the skill of the baristas, and the warmth of the space make every visit worthwhile.", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/cheerful-young-caucasian-female-wearing-her-red-hair-bun-laughing-out-loud_273609-9260.jpg", imageAlt: "creative professional woman portrait confident smile" + id: "3", name: "Marcus Chen", handle: "@marcusc", testimonial: "Chealsons has become my daily ritual. The quality of the beans, the skill of the baristas, and the warmth of the space make every visit worthwhile.", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/cheerful-young-caucasian-female-wearing-her-red-hair-bun-laughing-out-loud_273609-9260.jpg", imageAlt: "creative professional woman portrait confident smile" }, { - id: "4", name: "Elena Rossi", handle: "@elenarossi", testimonial: "Outstanding coffee paired with outstanding service. Cai and the team genuinely care about their craft and their customers. Highly recommended.", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/person-indian-origin-having-fun_23-2150285308.jpg", imageAlt: "friendly professional man portrait headshot confident" + id: "4", name: "Elena Rossi", handle: "@elenarossi", testimonial: "Outstanding coffee paired with outstanding service. Cai and the team genuinely care about their craft and their customers. Highly recommended.", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/person-indian-origin-having-fun_23-2150285308.jpg", imageAlt: "friendly professional man portrait headshot confident" }, { - id: "5", name: "David Thompson", handle: "@davidthompson", testimonial: "A sanctuary for coffee lovers. The attention to detail is evident in every aspect—from the sourcing of beans to the presentation of each cup.", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/portrait-young-beautiful-businesswoman-smiling-workplace-office_176420-6981.jpg", imageAlt: "happy woman customer professional portrait smiling" + id: "5", name: "David Thompson", handle: "@davidthompson", testimonial: "A sanctuary for coffee lovers. The attention to detail is evident in every aspect—from the sourcing of beans to the presentation of each cup.", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/portrait-young-beautiful-businesswoman-smiling-workplace-office_176420-6981.jpg", imageAlt: "happy woman customer professional portrait smiling" }, { - id: "6", name: "Lena Bergström", handle: "@lenaberg", testimonial: "Perfect coffee, perfect atmosphere, perfect service. Chealsons sets the standard for specialty coffee on the South Bank.", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/happy-young-businessman-walking-near-business-center_171337-19803.jpg", imageAlt: "satisfied customer man portrait professional smiling" + id: "6", name: "Lena Bergström", handle: "@lenaberg", testimonial: "Perfect coffee, perfect atmosphere, perfect service. Chealsons sets the standard for specialty coffee on the South Bank.", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/happy-young-businessman-walking-near-business-center_171337-19803.jpg", imageAlt: "satisfied customer man portrait professional smiling" } ]} showRating={true} diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..50cb5ae 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,30 @@ -"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; } -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 = '' }) => { return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file